<div dir="ltr">Sounds good ! <div><br></div><div>Just to confirm does the value of the "action-category" relates to the category.identifier like in <a href="https://github.com/corinnekrych/HelloWorld-Swift/blob/local.notification/HelloWorldSwift/AppDelegate.swift#L60">https://github.com/corinnekrych/HelloWorld-Swift/blob/local.notification/HelloWorldSwift/AppDelegate.swift#L60</a> ?</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 2:28 PM, Matthias Wessendorf <span dir="ltr"><<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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/" target="_blank">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/" target="_blank">http://aerogear.org/docs/specs/aerogear-push-messages/</a></div><div>[3] <a href="https://issues.jboss.org/browse/AGDROID-258" target="_blank">https://issues.jboss.org/browse/AGDROID-258</a></div>
<span class="HOEnZb"><font color="#888888">
<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></font></span></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div>