This is a migrated thread and some comments may be shown as answers.

Initializing push notifications...

2 Answers 107 Views
Push Notifications
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dan
Top achievements
Rank 1
Dan asked on 19 May 2014, 04:21 PM
I cloned the following to the in-browser app builder: https://github.com/Icenium/sample-telerik-baas-push-notification
I changed the GOOGLE_PROJECT_NUMBER to my google project number and I changed my BAAS_API_KEY to my Telerik API Key.
After clicking the run button from App Builder, I selected "App Package".  Once loaded on my device, I clicked the "Enable Push Notifications" and I got the "Initializing push notifications..." message.  Nothing else happens.  Can you help me troubleshoot this problem?

Thanks!

2 Answers, 1 is accepted

Sort by
0
Anton Dobrev
Telerik team
answered on 20 May 2014, 07:42 AM
Hello Dan,

Thank you for contacting us.

Could you please verify the following on your side:
  • The server key ("API key") you created in Google Developer Console is entered in your backend project under Settings > Push notifications > Android.
  • The Google API project number (12-digit number) is the value assigned to the GOOGLE_PROJECT_NUMBER variable.
  • The Google Cloud Messaging for Android service's status is enabled for your Google project.
  • The project is built and the deployed to a device through a USB cable connection.
The steps for setting up your Google project for push notifications are more extensively outlined in this article of the official Android documentation.

Hopefully, this will help. Should any further questions occur, please, do not hesitate to contact us.

Regards,
Anton Dobrev
Telerik
 
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
 
0
Dan
Top achievements
Rank 1
answered on 22 May 2014, 05:00 PM
I was putting in the Google API key instead of Google Project number.  It works now, thanks!
Tags
Push Notifications
Asked by
Dan
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
Dan
Top achievements
Rank 1
Share this question
or