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@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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users



--
-- Passos