<div dir="ltr"><div>Hi,</div><div><br></div><div>for the SimplePush we tag the different channels with a category, to give the "channelID" a "meaningful" 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<AGClientDeviceInformation> clientInfo) {</div><div> </div><div> clientInfo.deviceToken = deviceToken;</div><div> ...</div><div> clientInfo.category = @"something";</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 "Selective Sender" API could have this field on its payload:</div>
<div><br></div><div>"category" : "something"</div><div><br></div><div>This would basically add the "category" 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">https://github.com/matzew/aerogear.org/blob/09609f9e1a8ae94193593c86727e54e208033674/docs/specs/aerogear-push-rest/Sender.asciidoc#selective-send-http-post</a></div>
<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>
</div>