<div dir="ltr">based on this thread, here is a PR to be reviewed:<div><br></div><div><a href="https://github.com/aerogear/aerogear-unifiedpush-server/pull/288">https://github.com/aerogear/aerogear-unifiedpush-server/pull/288</a><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 3:54 PM, Christos Vasilakis <span dir="ltr"><<a href="mailto:cvasilak@gmail.com" target="_blank">cvasilak@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div class=""><div>On Jul 10, 2014, at 3:28 PM, Matthias Wessendorf <<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>> wrote:</div>
<br><blockquote type="cite"><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></blockquote><div><br></div></div><div>sounds good +1</div><div><br></div><br>
<blockquote type="cite"><div class=""><div dir="ltr"><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>
<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></div><div class="">
_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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></div>
</blockquote></div><br></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><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>