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
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.
Please sign in to leave a comment.