Get device token for push notification (Android)

Get device token for push notification (Android)

by Aldo Fernando Saia -
အကြောင်းပြန်မှု အရေအတွက်: 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!

Attachment 3c8ebbc0-3933-46e9-b8a7-92d14acf6d65.jpg
ပျှမ်းမျှအဆင့်သတ်မှတ်ချက်များ: -
Aldo Fernando Saia ထံသို့ အကြောင်းပြန်ရာတွင်

Re: Get device token for push notification (Android)

by Dani Palou -
Core developers ၏ ရုပ်ပုံ Moodle HQ ၏ ရုပ်ပုံ Particularly helpful Moodlers ၏ ရုပ်ပုံ Peer reviewers ၏ ရုပ်ပုံ 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