<div dir="ltr">Hi,<div><br></div><div>as Corinne mentioned on a different thread, w/ iOS8 Apple introduces new UIUserNotificationActions, that can be grouped into a category (UIUserNotificationCategory).</div><div><br></div>
<div>For remote notifications (aka push) those actions can be trigger by sending this JSON payload to APNs:</div><div><br></div><div>aps {</div><div> alert: {...},</div><div> category: "SOMETHING"</div><div>}</div>
<div><br></div><div><br></div><div>I'd like to add that feature to the UnifiedPush Server and the Java/Node Senders.</div><div><br></div><div>Our own message format (see [2]) has already a categoies element, but that is used for filtering/tagging; That element is NOT related to the actual payload of the message (which the apple action/category is all about).</div>
<div><br></div><div>Now, I'd like to introduce an "action-category" element inside of the "message" object, like: </div><div><br></div><div><div>message: {</div><div> .......</div><div> "alert":"HELLO!",</div>
<div> .......</div><div> "action-category":"SOMETHING"</div><div>}</div></div><div><br></div><div>This value will be send down to the actual device (by Apple) as part of the message. The name is perhaps a bit Apple-oriented, but I think it may fit other platforms as well...</div>
<div><br></div><div>Looks like Summers/Passos want to do similar for Android (see [3]).</div><div><br></div><div>What do you think ? </div><div><br></div><div><br></div><div>-Matthias</div><div><br></div><div><br></div><div>
<br></div><div>[1] What's New in iOS Notifications on:</div><div><a href="https://developer.apple.com/videos/wwdc/2014/">https://developer.apple.com/videos/wwdc/2014/</a> (caution, for lame reasons only works on Safari O_o)<br>
</div><div><br></div><div>[2] <a href="http://aerogear.org/docs/specs/aerogear-push-messages/">http://aerogear.org/docs/specs/aerogear-push-messages/</a></div><div>[3] <a href="https://issues.jboss.org/browse/AGDROID-258">https://issues.jboss.org/browse/AGDROID-258</a></div>
<div><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div>