So just to be sure : 
what you propose is to have an extra level agnostic from the variant ? PushApp -> Variant -> Categrory ? 
I'm fine with that, but would category stays "optionnal" ? If not specifying it would it still work ? 
Seb




On Wed, Jul 10, 2013 at 2:15 PM, Matthias Wessendorf <matzew@apache.org> wrote:
Hi,

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]).

This would be useful on Android/iOS as well, for some sort of tagging/grouping (similar to the use-case in SimplePush).

Clients could specify a category, like:
...
[registration registerWithClientInfo:^(id<AGClientDeviceInformation> clientInfo) {
 
  clientInfo.deviceToken = deviceToken;
  ...
  clientInfo.category = @"something";
 
  } success:^() {
    ...
  } failure:^(NSError *error) {
    ..
  }
];


For sending push notification message to all clients, with the matching category, the "Selective Sender" API could have this field on its payload:

"category" : "something"

This would basically add the "category" behavior, used for SP to Android/iOS

Any thoughts ? 

-Matthias

[1] https://github.com/matzew/aerogear.org/blob/09609f9e1a8ae94193593c86727e54e208033674/docs/specs/aerogear-push-rest/Sender.asciidoc#selective-send-http-post


--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev