Skip to content

GCM Setup Android

GravitumLabs edited this page Aug 8, 2016 · 14 revisions

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.

screen5.png

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

screen6.png

If succeeded, the next popup will appear

screen7.png

The Sender ID is also known as the Project Number. You'll need this later in the SDK installation guide.

Now it's time to dive into Unity, configure all Gravitum Unity SDK settings and start to programming your game-specific logic.

Next step OneSignal SDK Integration.

Clone this wiki locally