My app is configured to accept actionable notifications, as well as long look notification scenes in WatchKit. The categories are created programatically, using string identifiers, eg FollowCategory.

In order for these to be set in the system, I am not calling [[PushNotificationManager pushManager] registerForPushNotifications] as it will override my settings, rather I am just calling [[UIApplication sharedApplication] registerForRemoteNotifications] and can confirm push notifications are being received.

I would like to test the categories using the Pushwoosh web interface, but it appears that the push settings only allow selecting categories created on the interface, and these have numeric id's.


UPDATE: the above method of not calling [[PushNotificationManager pushManager] registerForPushNotifications] didn't actually work.

The workaround is to register user notification settings in the PushNotificationDelegate callback method onDidRegisterForRemoteNotificationsWithDeviceToken: as this appears to override the categories set by Pushwoosh.

asked 09 Jul '15, 02:50
ricsantos's gravatar image

ricsantos
114

edited 14 Jul '15, 02:17

Hi Ricardo,

We had rolled out a temporary fix preventing an empty categories array overriding manually set ones as well as the ability to manually set custom categories in Control Panel. Please let us know whether it solves your issue.

permanent link
answered 28 Jul '15, 15:08
Vitaly%20Romanychev's gravatar image

Vitaly Roman...
2213

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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:

×446
×353
×25

question asked: 09 Jul '15, 02:50

question was seen: 1,022 times

last updated: 28 Jul '15, 15:08