Mark Harding
Posts: 0
Joined: Thu Nov 21, 2013 9:58 pm

Push Notification Setup In Google API

App set up and set start page set to test notify page.
Build APK and Test on Device:

Initialise: DONE
Register: DONE

Can see new device in Appery push notify screen.

Problem: Sending Push Notification message doesn't fire on device.

I think this is to do with the Google Simple API setup which seems to ask for a domain name your referring from:

Key for browser apps (with referers)

API key: AIzaSyBbjdbPzsga7-a_-qoKjwoM3eeOXuhqvc0
Referers: www.granfondoguide.com

Basically an Android device doesn't have a referring domain name, or is the domain name : https://appery.io where your pushing the message from to Google's API?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Push Notification Setup In Google API

Hello Mark,

Sorry for delay. What device and its OS do you have for testing?
Also please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and tell us its name.

Mark Harding
Posts: 0
Joined: Thu Nov 21, 2013 9:58 pm

Push Notification Setup In Google API

Hi Alena,

Device is a Nexus 7, Android OS v4.3. It registers as a device in the App fine. The problem seems to be the integration of the App with Google Android Cloud services. When sending a notification message from the Appery App - cloud messaging for Android / Google API doesn't register any traffic or request?

I set up the simple API in Google - but I'm not sure if this is correct:

Image

I have shared app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a called Gran Fondo Guide.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Push Notification Setup In Google API

Hello! Thank you for sharing. We're working on it.

Mark Harding
Posts: 0
Joined: Thu Nov 21, 2013 9:58 pm

Push Notification Setup In Google API

Thanks Maryna,

Ok thanks - let me know if you any info on the Google API Key I set up as per the tutorial.

Regards,
Mark

Mark Harding
Posts: 0
Joined: Thu Nov 21, 2013 9:58 pm

Push Notification Setup In Google API

Got it working - the way you register an app in the new Google Cloud console has changed. I registered a new App, chose GCM using browser key (any).

Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Push Notification Setup In Google API

Ok, thank you for update!

Return to “Issues”