We’re here to help

### ARCHIVE ### About the Android GCM key



Recently, Google sent out info about the switch to FireBase. This is the current situation:

  • All existing apps linked to existing GCM Projects will continue to work just fine. Next year (April 2019), we need to be ready for the final move to FireBase but we'll handle this move as a High Priority Change.
  • The procedure to create new GCM Projects still exists but has changed a lot. We will be updating this KB article as soon as possible!

Required for sending push notifications on Android.

1. Get started

Browse to: https://developers.google.com/mobile/add and click on "choose a platform"

3. App name

Enter an app name and enter the application ID ("Android package name")

4. Choose region

Choose your region and click on "Choose & Configure Services".

5. Cloud Messaging

Select "Cloud Messaging"

6. Enable GCM

Select "Enable Google Cloud Messaging".

7. Server API Key and Sender ID

After "Cloud Messaging" has been enabled, you will get two keys:

  • Server API key: needs to be entered on the Twixl Distribution Platform
  • Sender ID: needs to be entered in the build settings in the macOS app
8. Enter API key on Twixl Distribution Platform
8. Enter API key on Twixl Distribution Platform

Go to the detail view of your app on the Twixl Distribution Platform, then select "Notifications' from the top menu.

Now enter the Server API key in the correct field.

9. Enter GCM Sender ID in build setting

In the build settings of your app on the macOS app (under "Article-based app" or under "App Store Kiosk - Basic Settings"), paste the Sender ID number in the field "Google Cloud Messaging Sender ID".

9. Enter GCM Sender ID in build setting
10. Build your app

You have now configured push notifications for Android in your app and are ready to create the build.

Was this article helpful?
0 out of 0 found this helpful
Print Friendly and PDF