[Aerogear-users] Multiple categories?

Matthias Wessendorf matzew at apache.org
Mon Jul 6 17:10:31 EDT 2015


On Monday, July 6, 2015, Erik Jan de Wit <edewit at redhat.com> wrote:

>
> On Mon, Jul 6, 2015 at 4:59 PM, mo <michi.oshima at gmail.com
> <javascript:_e(%7B%7D,'cvml','michi.oshima at gmail.com');>> wrote:
>
>> specifies only one category, "mail".  Is it possible to specify multiple
>> categories?  For example, categories `["A", "B", "C"]`.  If so, when I
>>
>
>  Yes that is possible
>
> receive a message, will I be able to tell to which category the message
>> belongs?  If the sender were to tag the message as category "A", would the
>> client be able to inspect the message and extract "A"?
>>
>
> Not out of the box, but you could add the category manually when sending
> and then the client can read it.
>
> See here: https://aerogear.org/docs/unifiedpush/push-message-format/ or
> here https://aerogear.org/docs/unifiedpush/push-message-format-dev/
> depending on your version you can add user defined keys to the message (someKey,
> anotherCustomKey)
>

That is a good idea, Erik! I like it :-)

I think the problem here is the usage of SimplePush: the push server only
send a version/timestamp :-/

-M



>
> If you put your category there as well the client will get it when it
> receives the message.
>
> --
> Cheers,
>        Erik Jan
>


-- 
Sent from Gmail Mobile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20150706/45b93ebf/attachment.html 


More information about the Aerogear-users mailing list