<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 20, 2016 at 6:08 AM, Matthias Wessendorf <span dir="ltr"><<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>Julio did report [1], and when defaulting to topics, this is not working - as have no direct control.</div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>We can do the following:</div><div>* 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])</div></div></blockquote><div><br></div><div>I don't think this is terrible. As long as you mean an unsubscribe from the topic and not an unsubscribe from FCM ;)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>* remove the 'receive' checkbox</div><div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>* give some context, on when it is working (for Android)</div></div></blockquote><div><br></div><div>If a user disables the receive checkbox will UPS deliver messages addressed directly to the alias of the device? </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>-Matthias</div><div><br></div>[1] <a href="https://issues.jboss.org/browse/AEROGEAR-1742" target="_blank">https://issues.jboss.org/browse/AEROGEAR-1742</a><div>[2] <a href="https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/service/src/main/java/org/jboss/aerogear/unifiedpush/service/util/FCMTopicManager.java#L87" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/service/src/main/java/org/jboss/aerogear/unifiedpush/service/util/FCMTopicManager.java#L87</a><span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div></div></div>
</font></span></div></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div></div>