<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 2:36 PM, Sebastien Blanc <span dir="ltr">&lt;<a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sounds good ! <div><br></div><div>Just to confirm does the value of the &quot;action-category&quot; relates to the category.identifier like in <a href="https://github.com/corinnekrych/HelloWorld-Swift/blob/local.notification/HelloWorldSwift/AppDelegate.swift#L60" target="_blank">https://github.com/corinnekrych/HelloWorld-Swift/blob/local.notification/HelloWorldSwift/AppDelegate.swift#L60</a> ?</div>
</div></blockquote><div><br></div><div>yes, that&#39;s how you group the action, on the client;</div><div><br></div><div>the action-category is than used when sending bits to APNs, to trigger that categorized action, on the client.</div>
<div><br></div><div>Makes sense?</div><div><br></div><div>-Matthias</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Thu, Jul 10, 2014 at 2:28 PM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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: &quot;SOMETHING&quot;</div><div>}</div>


<div><br></div><div><br></div><div>I&#39;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&#39;d like to introduce an &quot;action-category&quot; element inside of the &quot;message&quot; object, like: </div><div><br></div><div><div>message: {</div><div>  .......</div><div>  &quot;alert&quot;:&quot;HELLO!&quot;,</div>


<div>  .......</div><div>  &quot;action-category&quot;:&quot;SOMETHING&quot;</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&#39;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><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></div></div>_______________________________________________<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><br></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></div>