-
Notifications
You must be signed in to change notification settings - Fork 0
GCM Setup Android
To begin, we'll obtain a Google Server API Key and Google Project Number (or Sender ID). These keys allow Gravitum to use Google Cloud Messaging send push notifications to the user devices.
Let's start with Google Services Wizard. Create the new application or choose the existing one you use for your game project. Gravitum service doesn't use your package name itself, so, you may leave Android package name an empty and provide it in future.
Provide all the necessary data and press Choose and configure services. It will take some time for a project to be created.
Next step is to enable Cloud Messaging service for your application. Press Enable Google Cloud Messaging as shown below
![] (http://gravitum.com/images/github/Android/3119432576-screen6.png)
If succeeded, the next popup will appear
![] (http://gravitum.com/images/github/Android/1790297780-screen7.png)
The Sender ID is also known as the Project Number. You'll need this later in the SDK installation guide.
The Server API Key is the Android push token that will be required in the admin section setup of the project.
Now it's time to integrate Gravitum push into your project settings and start receiving push notifications.
Next step goes [here] (https://github.com/GravitumLabs/gravitum-android-sdk/wiki/Gravitum-Push-Android)
