Search code examples
androidpush-notificationibm-mobilefirst

MobileFirst 7.1.0 Android FCM Push Notifications


We have developed a hybrid application using MobileFirst 7.1.0 and are looking to implement push notifications. With the recent changes regarding GCM to FCM, I'm wondering if it would be possible to add the project to FCM and use the API Key and Sender ID? I have seen the documentation has been updated for MobileFirst 8.0 and wondering if the same will work on 7.1.0.


Solution

  • The documentation has indeed did not yet get updated for 7.1, but it is the same as for 8.0 (the part of registering the project in FCM Console and obtaining the key and senderId), so you can follow the same instructions.

    1. Visit the Firebase Console.
    2. Create a new project and provide a project name.
    3. Click on the Settings “cog wheel” icon and select Project settings.
    4. Click the Cloud Messaging tab to generate a Server API Key and a Sender ID and click Save.