On Wed, Jul 10, 2013 at 2:25 PM, Sebastien Blanc <scm.blanc@gmail.com> wrote:
So just to be sure : 
what you propose is to have an extra level agnostic from the variant ? PushApp -> Variant -> Categrory ? 

yep
 
I'm fine with that, but would category stays "optionnal" ? If not specifying it would it still work ? 

yes, sure optional.

So, if some clients are NOT setting the "foo" category, they will not get the "foo specific" message. Makes sense ?

If "category" is left out, on sending, the "category" is not effected at all



 
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



--
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


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



--
Matthias Wessendorf

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