<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
looks good, will try the aerogear push helper from mfischelmayer.<br>
Was actually aware for the Android one, looking for the equivalent
in Apple.<br>
Definitely agree with you regarding the difference, it makes sense
for the App to keep being registered at the APN level (user doesnt
need to authorize the remote notifications again) but we want the
user to be unregistered from the server, although this is not a high
priority use case.<br>
<br>
<br>
<div class="moz-cite-prefix">Le 18/04/2016 09:27, Matthias
Wessendorf a écrit :<br>
</div>
<blockquote
cite="mid:CAAg5f2TfLZt=nH8R84GuUPQU-3YLbf5jrnqm=qTfwtVe-PXrdg@mail.gmail.com"
type="cite">
<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"><<a moz-do-not-send="true"
href="mailto:yves.nicolas@dynamease.com" target="_blank">yves.nicolas@dynamease.com</a>></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 moz-do-not-send="true"
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 moz-do-not-send="true"
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>* 'unregister' from the GCM service, as well as from
the UPS.</div>
<div><br>
</div>
<div>Perhaps that's something you can leverage ? </div>
<div><br>
</div>
<div><br>
</div>
<div>On iOS, we don'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'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 <<a moz-do-not-send="true"
href="mailto:matzew@apache.org">matzew@apache.org</a>>
Subject: Re: [Aerogear-users]<br>
what is the good way to delete an alias entry in aerogear
unified push<br>
servers To: "<a moz-do-not-send="true"
href="mailto:aerogear-users@lists.jboss.org">aerogear-users@lists.jboss.org</a>"<br>
<<a moz-do-not-send="true"
href="mailto:aerogear-users@lists.jboss.org">aerogear-users@lists.jboss.org</a>>
Message-ID:<br>
<<a moz-do-not-send="true"
href="mailto:CAAg5f2QR0MZ9nk1GjxMpHwNd6Zu_o7DrhAURO9yKJP%2B9O66R8w@mail.gmail.com">CAAg5f2QR0MZ9nk1GjxMpHwNd6Zu_o7DrhAURO9yKJP+9O66R8w@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8" remove the
entire installation<br>
entry:<br>
<a moz-do-not-send="true"
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's the use-case - perhaps we can improve our story? On
Fri, Apr 15,<br>
2016 at 6:09 PM, Yves Nicolas <<a
moz-do-not-send="true"
href="mailto:yves.nicolas@dynamease.com"><a class="moz-txt-link-abbreviated" href="mailto:yves.nicolas@dynamease.com">yves.nicolas@dynamease.com</a></a>>
wrote:<br>
<br>
> The user interface enable to uncheck the alias so
that it doesn't<br>
> receive notification anymore but what is the good way
to delete the<br>
> alias/device token from the aerogear database?<br>
><br>
> Thanks<br>
> Yves<br>
><br>
> _______________________________________________<br>
> Aerogear-users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
> <a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/aerogear-users"
rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
><br>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://matthiaswessendorf.wordpress.com/"
target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
sessions: <a moz-do-not-send="true"
href="http://www.slideshare.net/mwessendorf"
target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a moz-do-not-send="true"
href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Aerogear-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/aerogear-users">https://lists.jboss.org/mailman/listinfo/aerogear-users</a>
</pre>
</blockquote>
<br>
</body>
</html>