[aerogear-dev] FCM topics are not compatible with the 'receive' checkbox on the UI

Matthias Wessendorf matzew at apache.org
Wed Jul 20 06:08:45 EDT 2016


Hi,

Julio did report [1], and when defaulting to topics, this is not working -
as have no direct control.

We can do the following:
* do an unsubscribe when the checkbox is disabled AND re-subscribe when
it's enabled again. We could leverage code from Oleg's TopicMgr ([2])
* remove the 'receive' checkbox
* give some context, on when it is working (for Android)

-Matthias

[1] https://issues.jboss.org/browse/AEROGEAR-1742
[2]
https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/service/src/main/java/org/jboss/aerogear/unifiedpush/service/util/FCMTopicManager.java#L87

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20160720/4f657268/attachment.html 


More information about the aerogear-dev mailing list