[aerogear-dev] Android topic messaging enhancements (AGDROID-470)

Summers Pittman supittma at redhat.com
Sat Jul 25 19:39:28 EDT 2015


On Sat, Jul 25, 2015 at 5:24 AM, Matthias Wessendorf <matzew at apache.org>
wrote:

> sorry for the late response ;-)
>
> On Thu, Jul 23, 2015 at 10:51 PM, Summers Pittman <supittma at redhat.com>
> wrote:
>
>> So good news,
>>
>> Topic support for GCM is trivial to implement.  In fact after 20 minutes
>> I have most of the work done in the Android library.  The behavior of
>> topics matches the behavior of categories.  I would like to propose some
>> enhancements.
>>
>
> yay
>
>
>>
>> 1) Changing categories/topics currently requires the application to
>> unregister and reregister on UPS.  I would like to add a subscribe and
>> unsubscibe method to the pushRegistrar interface which will subscribe and
>> unsubscribe the device from topics.
>>
>
> Ok, makes sense. Actually I like the idea. Should this be done on the
> other SDKs too? If so... does it make sense to change the RESTful endpoint
> to? e.g. do a PUT to update the device metadata?
>

So strictly speaking we don't need to have GCM 3 Android register its
categories with UPS.  Google can handle those.

How are we handling compatibility? Would it be weird if 1.2 of UPS requires
ADroid push 3.0?


> I recall we kinda had this talk before. See:
> https://issues.jboss.org/browse/AGPUSH-1399
>
>
>>
>> 2) All Message listeners receive messages from all topics the device is
>> subscribed to.  I would like to extend registrar manager to be able to
>> attach messages handlers per topic as well as globally.
>>
>
> Due to the nature of the Android layer around GCM 3, this is specific to
> Android only, right ?
>
I don't know enough about iOS, sorry :(

>
> +1 on this. Same reasoning like Erik Jan here :)
>
>
>>
>> This are both simple, easy changes which shouldn't be a lot of work and
>> will really improve the push experience in Agdroid 3.0.
>>
>> wdyt?
>>
>
> bring it on :)
>
>
>>
>> Summers
>>
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev at 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
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20150725/21720103/attachment-0001.html 


More information about the aerogear-dev mailing list