- Home /
Android Push Notifications stopped working using GMS?
I had push notifications working on Android with GMS and Android Native plugin. Now I've returned to the project after a few weeks and the push notifications are not working any more.
I've checked all settings in Google Developer Console many times and checked all code and settings in Unity app, but still doesn't work.
I'm using the PHP server code example that comes with the plugin which also was working. I can register the Android device in the Unity app (no errors). I can send a notification with API key and device Device Registration ID with the php script (no errors)
But I never receive notification on Android device?
Do you have any ideas why?
If I check Device Registration ID with this URL https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=YOUR_DEVICE_TOKEN
I get { "error": "invalid_token", "error_description": "Invalid Value" }
Thanks for your help
I also get same success result using this code in phpfiddle, but receive still no notification on Android device http://stackoverflow.com/questions/22168819/android-test-push-notification-online-google-cloud-messaging
Your answer