[aerogear-dev] Android topic messaging enhancements (AGDROID-470)
Corinne Krych
corinnekrych at gmail.com
Mon Jul 27 05:00:19 EDT 2015
On 27 July 2015 at 09:46, Matthias Wessendorf <matzew at apache.org> wrote:
>
>
> On Sun, Jul 26, 2015 at 1:39 AM, Summers Pittman <supittma at redhat.com>
> wrote:
>
>>
>>
>> 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.
>>
> yeah, but we need the info on the UPS for a bunch of reasons... (e.g. only
> 1m devices per topic allowed).
> I think this is very easy to translate to our existing categories...
>
>>
>> How are we handling compatibility?
>>
>
> What do you mean here?
>
>
>> Would it be weird if 1.2 of UPS requires ADroid push 3.0?
>>
>
> Well, I do not think this is a problem. the 1.1.0 also requires AGDroid2,
> due to analytic support.
> Let's release note it, and be good. I think
>
>
>>
>>
>>> 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 :(
>>
>
> Ok, let me ask different: This is something done only on GCM3's topics,
> right ?
>
Yep it's GCM3 specific.
There is an iOS client to bring GCM / APN
https://developers.google.com/cloud-messaging/ios/client
Not sure if it's worth investigating further the iOS side of GCM3 topics as
this feature seems to me very close to our UPS categories, which we already
have implemented ahead of time.
>
>
>
>>
>>> +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
>>>
>>
>>
>> _______________________________________________
>> 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/20150727/a017f83f/attachment-0001.html
More information about the aerogear-dev
mailing list