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

Summers Pittman supittma at redhat.com
Wed Jul 20 08:58:38 EDT 2016


On Wed, Jul 20, 2016 at 6:08 AM, Matthias Wessendorf <matzew at apache.org>
wrote:

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

I don't think this is terrible.  As long as you mean an unsubscribe from
the topic and not an unsubscribe from FCM ;)


> * remove the 'receive' checkbox
>
* give some context, on when it is working (for Android)
>

If a user disables the receive checkbox will UPS deliver messages addressed
directly to the alias of the device?


>
> -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
>
> _______________________________________________
> 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/20160720/08dd1ead/attachment.html 


More information about the aerogear-dev mailing list