Can I add elements to the aps payload sent by the Bluemix IBM Push Notifications service? -
i'm using bluemix push send notifications via rest interface ios app simple string alert message. works fine.
now send more complex message alert dictionary , has sibling "category" element per the remote notification payload.
is possible bluemix push? whenever try deviate basic structure, "bad request - invalid json"
.
after head-scratching, picked hint https://www.ng.bluemix.net/docs/services/mobilepush/t_advanced_notifications.html#t_push_badge_sound_payload , figured out since category field unique apns, needed send is
"settings" : { "apns" : { "category" : "mycategory" }
Comments
Post a Comment