Android Push Notifications: How to start using FCM

Pavel Ivanov

Last few days our clients had problems with Apps that used GCM credentials to send push notifications to Android devices. This was caused by the fact that Google recently released improved version of GCM API under the Firebase brand - FCM (Firebase Cloud Messaging).

Although Google says that they will continue to support the current version of GCM Android and iOS SDKs, they highly recommend everyone to upgrade to FCM in order to benefit from new FCM features today and in the future.

To start using FCM you need your new credentials from the Firebase dashboard. But before we continue with our step-by-step guide on how to do that, let's review some of the most frequently asked questions about GCM and FCM we've received recently.

Q: Is GCM now depreciated? Are they going to stop all services & support of GCM?

Yes, some features of GCM are already depreciated and now in the coming days GCM is going to be fully depreciated.

Google says "We will continue to support the current version of GCM Android and iOS SDKs because we know a lot of developers are using GCM SDKs today to handle notifications, and client app upgrade takes time.

But all new client-side features will be added to FCM SDKs only moving forward. You are strongly encouraged to upgrade to FCM SDKs"

Q: Why we need to migrate from GCM to FCM

FCM (Firebase Cloud Messaging) is an improved version of the GCM (Google Cloud Messaging) API under the Firebase brand. It inherits GCM’s core infrastructure, with new SDKs to make Cloud Messaging development easier.
Even more if you have some problems with Android Push Notifications on our Parse Server in SashiDo we suggest you to migrate to FCM.

Q: Can I update my old applications from GCM to FCM

Yes!
You can import your GCM project as a Firebase project following few easy steps and the best part is that you will keep your Sender ID.

Start using FCM - step-by-step guide


1. Open the Firebase console and select Import Google Project.


2. Select your GCM project from the list of existing projects and click on Add Firebase.


3. In the Firebase welcome screen, select Project Settings.


4. Select the tab called "Cloud Messaging" and get your "Sender ID" and "Server Key".


5. Go to SashiDo's Dashboard and set up your "Sender ID" and "Server Key" in your App Settings -> Push in section Android Push Credentials.


6. Now you can test your app Push Notifications


Finally, check if your application has received the test push notification. If you experience some difficulties, don't hesitate to contact our support team!

Happy Sending :)

Pavel Ivanov

Head of UI/UX Innovations @ CloudStrap & SashiDo

Find answers to all your questions

Our Frequently Asked Questions section is here to help.







Latests news

How to make your Mobile Application GDPR Ready

At SashiDo we certainly care about our customers and we strive to be up-to-date on the horizon of the novelties coming up. We’re all working on GDPR these days and we want to help people understand what it is. What does GDPR mean? In February we announced that GDPR is coming and SashiDo.io is getting ready and now we will be more specific on how to make sure your mobile app is prepared for the upcoming changes in the European Union region.

Read More

SashiDo Acquires Octobas

SashiDo is pleased to announce its recent acquisition of all the assets of Octobas.com, a robust and scalable backend for mobile and web apps based on Parse Open Source. For the past 2 years our mission has been to become a leading Parse Server hosting provider in the mobile and web apps development world as well as to continue improving our service, launching new features and providing quality and security to our customers.

Read More