Skip to content

Android Platform Setup

Gravitum edited this page Dec 22, 2016 · 11 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

Note down your Google Server API key and Sender ID . 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.

Let's start the push notifications setup for the Admin Section now that you have the Server API Key from the previous GCM section setup.

Select Projects in Admin Dashboard

Select List in Project sections

Select the Android Icon

Enter your Android Push Token which you received in the previous GCM Section setup.

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

Next Step: here.

Clone this wiki locally