I've created a page in my app where the user can register and unregister the device to pushwoosh. I'm using Xamarin for my app with Xamarin.Forms.

When i launch the app, the registerdevice api is called via that code :

        PushNotificationManager pushmanager = PushNotificationManager.PushManager;
        pushmanager.Delegate = this;

        if (options != null) {
            if (options.ContainsKey (UIApplication.LaunchOptionsRemoteNotificationKey)) { 
                pushmanager.HandlePushReceived (options);

        pushmanager.RegisterForPushNotifications ();

All works fine for registering the user to pushwoosh.

On my settings page, i have a switch to allow the user to register/unregister to the notifications. So i have two functions for that :

    public void Register()
        PushNotificationManager pushmanager = PushNotificationManager.PushManager;

    public void Unregister()
        PushNotificationManager pushmanager = PushNotificationManager.PushManager;

Those functions are called and the unregister() works well.

Log :

2015-03-11 17:05:34.959 App3iOS[281:24565] To urL https://cp.pushwoosh.com/json/1.3/unregisterDevice 2015-03-11 17:05:35.151 App3iOS[281:24565] Response "200 no error": string: {"status_code":200,"status_message":"OK","response":null} 2015-03-11 17:05:35.152 App3iOS[281:24565] Unregistered for push notifications

But the register() function is called, but the api is not called, so i'm not registered to pushwoosh:

Log :

2015-03-11 17:05:31.825 App3iOS[281:24657] Registered for push notifications: 84cd96bb90a7f3999a2da674a38da23293a3ca83d4a5c0a94b058737e44z3e28

But should have :

2015-03-11 17:05:20.870 App3iOS[281:24627] Sending request: {"request":{"sounds":[],"timezone":"3600","device_type":1,"os_version":"8.1.3","push_token":"xxx","application":"xxx-xxx","language":"fr","gateway":"production","hwid":"xxx","package":"com.xxx.xxx.iOS","device_model":"iPhone5,4","jailbroken":0,"app_version":"","v":"2.5"}} 2015-03-11 17:05:20.872 App3iOS[281:24627] To urL https://cp.pushwoosh.com/json/1.3/registerDevice 2015-03-11 17:05:21.760 App3iOS[281:24627] Response "200 no error": string: {"status_code":200,"status_message":"OK","response":{"iosCategories":[]}}

the registerDevice is not called, and that works 1 out of 4 try, so i don't have any explanation on that, cause i use the same function on Android, and it works without any problem on the first try...

And i don't know how to setTags on xamarin via the pushmanager... Any idea?

Thanks for your help!

asked 11 Mar '15, 17:22
errLog's gravatar image


Hi, I have passed this infromation to Pushwoosh iOS developers for investigation, but that might take some time. I'll keep you posted!

permanent link
answered 17 Mar '15, 08:28
Benedict's gravatar image


Hi, any reply from your developers? At least for the setTags problem?

(02 Apr '15, 08:55) errLog errLog's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 11 Mar '15, 17:22

question was seen: 1,098 times

last updated: 02 Apr '15, 08:55