Forum Mobile Notifications for Android

Everything mobile goes here.

Notifications for Android

Postby GameTapas » July 29th, 2014, 9:19 pm

I'm struggling with GCM these days. I've already:

- Created the Google apis project for the game, and obtained the project ID.
- Configured the Notification Provider in YGN panel with the server key obtained in the API Access section.
- Used this ANE to call GoogleCloudMessaging.register like the docs state.
- Registered the device with the registration ID returned, by calling Notifications.registerEndpoints

But my device doesn't receive any notifications, even though the endpoints seem to be successfully registered in the YGN panel:


It even prompts "successful" when I send a Test Notification:


Does anyone know what can be wrong here?
Posts: 2
Joined: June 26th, 2014, 6:07 pm

Re: Notifications for Android

Postby vertical » March 5th, 2015, 11:11 am

Same problem for me on Android.

I have a "Push Notification Failure: InvalidRegistration" in the error log every time I try to send a test notification.

Could that be possible to have a little more information on how to set up notifications on Android ?
Paid Member
Posts: 46
Joined: January 14th, 2013, 5:27 pm

Re: Notifications for Android

Postby luijason2 » May 21st, 2015, 9:22 am

I have the same problem, as you do.
I have used google api to verify my registration ids are correct. So, did I miss any step for gcm notification works?
Posts: 1
Joined: May 20th, 2015, 6:03 pm

Re: Notifications for Android

Postby DR Studios » June 29th, 2015, 6:52 pm

Maybe you missed setting up an activity to receive the push notifications.
DR Studios
Posts: 9
Joined: February 24th, 2014, 8:10 pm

Re: Notifications for Android

Postby yailenko » August 4th, 2016, 8:57 am

Hi guys, has anyone of you succeeded in implementing the push notifications on Android? Would be helpful to get some confirmation if this is possible at all. Just in case, our problem is described here -
Posts: 16
Joined: June 21st, 2010, 8:50 am

Re: Notifications for Android

Postby alarih » March 26th, 2018, 6:03 pm

Hello there! I know, this stuff is old, but I hope this helps to anyone who gets this issue.
At the Google Cloud Platform there are four different API keys, you need that one, that named " Server key (auto created by Google Service)".
I just pasted it to a Server API Key field at Notifications tab, and this solved my problem.
Posts: 1
Joined: December 29th, 2017, 1:44 pm

Re: Notifications for Android

Postby Brttnelson » March 9th, 2021, 10:12 am

Hi guys I am newbie here and I am looking for little help I have also search about on net but I have not found any thing helpful so came here with this OGWhatsApp and want to know is there any notification api settings are available for these kind of third party modified version?

App details you can check here:
Posts: 4
Joined: January 9th, 2021, 8:44 am

Return to Mobile