In order to support custom action buttons in WatchOS for long notifications, I need to be able to include a category field in the JSON such as the following I do manually using AWS's push service:
{ "APNS_SANDBOX":"{\"aps\":{\"alert\":\"This is an alert\", \"category\": \"alert_type_1\"}}" }
Is there a way to provide this category field with Urban Airship JSON output? I have tried using the Notification Buttons feature, but this doesn't seem compatible with the way WatchOS deals with it; for WatchOS, it needs that category field as a child to aps.
Thanks,
Rich
Comments
3 comments