<div dir="ltr">So just to be sure : <div>what you propose is to have an extra level agnostic from the variant ? PushApp -&gt; Variant -&gt; Categrory ? <div>I&#39;m fine with that, but would category stays &quot;optionnal&quot; ? If not specifying it would it still work ? </div>
<div>Seb</div><div><br><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 10, 2013 at 2:15 PM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</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"><div>Hi,</div><div><br></div><div>for the SimplePush we tag the different channels with a category, to give the &quot;channelID&quot; a &quot;meaningful&quot; name. That is also required when sending messages to different SP clients/channels (see [1]).</div>

<div><br></div><div>This would be useful on Android/iOS as well, for some sort of tagging/grouping (similar to the use-case in SimplePush).</div><div><br></div><div>Clients could specify a category, like:</div><div>...</div>

<div>[registration registerWithClientInfo:^(id&lt;AGClientDeviceInformation&gt; clientInfo) {</div><div> </div><div>  clientInfo.deviceToken = deviceToken;</div><div>  ...</div><div>  clientInfo.category = @&quot;something&quot;;</div>

<div> </div><div>  } success:^() {</div><div>    ...</div><div>  } failure:^(NSError *error) {</div><div>    ..</div><div>  }</div><div>];</div><div><br></div><div><br></div><div>For sending push notification message to all clients, with the matching category, the &quot;Selective Sender&quot; API could have this field on its payload:</div>

<div><br></div><div>&quot;category&quot; : &quot;something&quot;</div><div><br></div><div>This would basically add the &quot;category&quot; behavior, used for SP to Android/iOS</div><div><br></div><div>Any thoughts ? </div>

<div><br></div><div>-Matthias</div><div><br></div><div>[1] <a href="https://github.com/matzew/aerogear.org/blob/09609f9e1a8ae94193593c86727e54e208033674/docs/specs/aerogear-push-rest/Sender.asciidoc#selective-send-http-post" target="_blank">https://github.com/matzew/aerogear.org/blob/09609f9e1a8ae94193593c86727e54e208033674/docs/specs/aerogear-push-rest/Sender.asciidoc#selective-send-http-post</a></div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><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>
</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>