<div dir="ltr">Hi Yves,<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 18, 2016 at 9:15 AM, Yves Nicolas <span dir="ltr">&lt;<a href="mailto:yves.nicolas@dynamease.com" target="_blank">yves.nicolas@dynamease.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">API deletion is ok. Use case for deletion by Alias : Java written<br>
backoffice doesnt know about device tokens, we want to be able to<br>
deregister users from the backoffice. API management, or from the java<br>
library. our other use case for unregistration are from the devices<br>
themselves, they know about the token. We can manage with the Rest api,<br></blockquote><div><br></div><div>Or, you can use this nice library that a different AeroGear user created!</div><div><a href="https://github.com/mfischelmayer/aerogear-push-helper/blob/master/src/main/java/at/ftec/aerogear/api/impl/DefaultAerogearAdminService.java#L152-L159">https://github.com/mfischelmayer/aerogear-push-helper/blob/master/src/main/java/at/ftec/aerogear/api/impl/DefaultAerogearAdminService.java#L152-L159</a><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
is there a plan to include the unregistration inside the android and IOS<br>
library? </blockquote><div><br></div><div>Android:</div><div>there is this method:</div><div><a href="https://github.com/aerogear/aerogear-android-push/blob/master/aerogear-android-push/src/main/java/org/jboss/aerogear/android/unifiedpush/PushRegistrar.java#L40">https://github.com/aerogear/aerogear-android-push/blob/master/aerogear-android-push/src/main/java/org/jboss/aerogear/android/unifiedpush/PushRegistrar.java#L40</a><br></div><div><br></div><div>which does both:</div><div>* &#39;unregister&#39; from the GCM service, as well as from the UPS.</div><div><br></div><div>Perhaps that&#39;s something you can leverage ? </div><div><br></div><div><br></div><div>On iOS, we don&#39;t have this, because Apple does not recommend to have users manually unregister from push on the app. Their preferred way is disabling push on the global setting.</div><div><br></div><div>However, I think it&#39;s arguable that unregistering from UPS, for an app, is not equals to completely unregister from APNs, for the same app. Worth to explore this on a different thread  :-) </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Thxs Message: 3 Date: Fri, 15 Apr 2016 19:18:47 +0200 From:<br>
Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org">matzew@apache.org</a>&gt; Subject: Re: [Aerogear-users]<br>
what is the good way to delete an alias entry in aerogear unified push<br>
servers To: &quot;<a href="mailto:aerogear-users@lists.jboss.org">aerogear-users@lists.jboss.org</a>&quot;<br>
&lt;<a href="mailto:aerogear-users@lists.jboss.org">aerogear-users@lists.jboss.org</a>&gt; Message-ID:<br>
&lt;<a href="mailto:CAAg5f2QR0MZ9nk1GjxMpHwNd6Zu_o7DrhAURO9yKJP%2B9O66R8w@mail.gmail.com">CAAg5f2QR0MZ9nk1GjxMpHwNd6Zu_o7DrhAURO9yKJP+9O66R8w@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot; remove the entire installation<br>
entry:<br>
<a href="https://aerogear.org/docs/specs/aerogear-unifiedpush-rest/index.html#417932897" rel="noreferrer" target="_blank">https://aerogear.org/docs/specs/aerogear-unifiedpush-rest/index.html#417932897</a><br>
what&#39;s the use-case - perhaps we can improve our story? On Fri, Apr 15,<br>
2016 at 6:09 PM, Yves Nicolas &lt;<a href="mailto:yves.nicolas@dynamease.com">yves.nicolas@dynamease.com</a>&gt; wrote:<br>
<br>
&gt; The user interface enable to uncheck the alias so that it doesn&#39;t<br>
&gt; receive notification anymore but what is the good way to delete the<br>
&gt; alias/device token from the aerogear database?<br>
&gt;<br>
&gt; Thanks<br>
&gt; Yves<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Aerogear-users mailing list<br>
&gt; <a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
&gt;<br>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</div></div>