[Aerogear-users] Get the deviceToken - Android

Daniel Passos dpassos at redhat.com
Tue Apr 19 08:30:07 EDT 2016


Hi,

deviceToken is not exposed in AeroGear Android lib, anyway you can
unregister a device using the unregister[1][2] method.

[1]
https://github.com/aerogear/aerogear-android-push/blob/master/aerogear-android-push/src/main/java/org/jboss/aerogear/android/unifiedpush/PushRegistrar.java#L40
[2]
https://github.com/aerogear/aerogear-android-push/blob/master/aerogear-android-push/src/main/java/org/jboss/aerogear/android/unifiedpush/gcm/AeroGearGCMPushRegistrar.java#L209-L265


On Mon, Apr 18, 2016 at 7:05 PM, hh <henry.hertoghe at gmail.com> wrote:

> Hey All,
>
> how can we retrieve the deviceToken in Android?
>
> It seems impossible to be done, and I need it to unregister the device (API
> call needs the deviceToken).
>
> Thanks for your help,
>
> Kr,
>
> Henry
>
>
>
> --
> View this message in context:
> http://aerogear-users.1116366.n5.nabble.com/Get-the-deviceToken-Android-tp619.html
> Sent from the aerogear-users mailing list archive at Nabble.com.
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>



-- 
-- Passos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20160419/82fcd115/attachment.html 


More information about the Aerogear-users mailing list