»  ANDROID »  Android GCM API Configuration

Android GCM API Configuration

Android gcm api configuration has never been so easy! Our extensive guides for all platforms currently available on the market show how to integrate push notifications within several minutes and with several lines of code. You can choose between native programming tools and a diverse set of cross-platform solutions. We are working hard on extending the list of supported SDKs, plugins and modules, so we advise coming back once in a while to see what's new. If you believe that some great tools should be added here, please let us know, and we will do our best to get them up and running!

Here’s what you have to do in order to enable the GCM service for your project:

 

Locate your Google Project Number  

The Project Number is automatically assigned by the Google Developers Console when you create a project. You can find the Project Number in the “Overview” tab of the Google API console.

 

Bulkpush Android Configuration

 

Here, 515998511673  is the Project Number you enter in the app. Don’t confuse it with Project ID, which is a completely different identifier & is used only within Developers Console!

 

Enable GCM and Get Credentials

1. In the main Google APIs Console page, select APIs & auth.

 

android push notifications

 

2. Locate Google Cloud Messaging for Android, and turn the toggle ON.

 

Google Cloud Massaging for Android

 

Now you need to create the Server Key.

3. Go to the Credential section of the console.

 

push credential

 

4. Press “Create new key“. Either a server key or a browser key should work. The advantage to using a server key is that it allows you to whitelist IP addresses.

 

push notification server

 

android push notification server

 

5. Press “Create”.

 

create push notification

 

6. Here’s the API Key you will need to configure your application in BulkPush Control Panel.

 

push control panel

 

Go to the BulkPush Control Panel

7. In your application click on Android->Edit to change the configuration for Android application.

8. Copy your API Key to the field provided.

 

android push control panel

 

That’s it! Easy, isn’t it?

If you receive “Sender Mismatch ID” error when using “Server Key” please try using “Browser Key”.

 

 

© 2015 BulkPush.com By Broadnet Technologies Ltd.