Get device token for push notification (Android)

Get device token for push notification (Android)

Napisane przez: Aldo Fernando Saia ()
Liczba odpowiedzi: 2

Hey Team,

I'm experiencing some problems getting Device Token on Android Mobile Custom App. I'm following this steps app -> App settings -> About -> Click at app version -> Push notification ID regarding to this documentation https://docs.moodle.org/dev/Sending_custom_Push_Notifications_to_the_Moodle_App but the Device Token doesn't show up.
When I follow the same steps on IOS device the Token is showing correctly.

Which can be the problem with Android?

Thanks in advance!

Załącznik ($a)
W odpowiedzi na Aldo Fernando Saia

Re: Get device token for push notification (Android)

Napisane przez: Dani Palou ()
Obraz Core developers Obraz Moodle HQ Obraz Particularly helpful Moodlers Obraz Peer reviewers Obraz Plugin developers

Hi Aldo,

is this a custom app you're building? If so, make sure that you've set the right data in google-services.json and that the push plugin is correctly installed in the Android platform.

Cheers,

Dani