In 2016, nosotros unveiled Firebase Cloud Messaging (FCM) every bit the side yesteryear side development of Google Cloud Messaging (GCM). Since then, we've been working difficult to brand Firebase Cloud Messaging fifty-fifty to a greater extent than powerful than its predecessor. Like GCM, Firebase Cloud Messaging allows you lot to shipping notifications in addition to information messages reliably to iOS, Android, in addition to the Web at no cost. In addition, FCM includes a host of novel features, such every bit an intuitive notifications interface inwards the Firebase console, amend reporting, in addition to native integrations amongst other Firebase products. With FCM, you lot tin bathroom target in addition to evidence notifications to re-engage your users amongst greater repose in addition to efficiency.
We're excited to devote to a greater extent than fourth dimension in addition to attending to improving FCM. That's why today we're announcing that all developers volition request to upgrade to FCM inside a year. The GCM server in addition to customer APIs lead hold been deprecated in addition to volition hold out removed every bit presently every bit Apr 11th, 2019. We recommend you lot upgrade sooner rather than afterwards hence you lot tin bathroom starting fourth dimension taking payoff of the novel features we're edifice inwards FCM correct away!
To assistance you lot through the upgrade, we've created a step-by-step migration guide in addition to answered a few of the most mutual questions you'll in all probability lead hold below.
What else is novel inwards FCM?
Once you lot upgrade, you'll hold out able to usage all of the novel features in addition to functionality available inwards FCM, similar platform overrides in addition to topic combinations. You'll likewise hold out able to shipping notifications direct from the Firebase console! What's more, FCM integrates seamlessly amongst other Firebase products similar A/B Testing in addition to Predictions.
Want to evidence unlike messages to run across which ane drives to a greater extent than conversions? You tin bathroom usage FCM amongst A/B Testing to run experiments to optimize your notifications. Want to engage users who are probable to churn or pass coin inwards your app? You tin bathroom usage FCM amongst Predictions to target notifications to users based on their predicted behavior.
These are approximately of the awesome features you'll lead hold at your fingertips amongst FCM. In the future, we'll hold out adding many more!
Will I all the same hold out able to shipping messages to my existing users?
If you lot lead hold projects that are all the same using the GCM APIs, you lot volition request to update your customer in addition to server code to usage FCM earlier Apr 11, 2019. But balance assured, your existing GCM tokens volition croak on to piece of job amongst FCM hence you lot won't lose the mightiness to shipping messages to your existing users.
How practice I upgrade?
The total procedure is outlined inwards our migration guide, or if you lot prefer video content, you lot tin bathroom likewise banking concern represent out this Firecast for details.
On a high level, upgrading consists of iii principal parts: console-side, app-side, in addition to server-side.
- In the Firebase console, you'll request to practice a novel Firebase projection using your app's existing Cloud Project ID.
- In your app, you'll request to brand approximately code changes. The amount of changes volition depend on what features of GCM you lot currently use, such every bit topic subscriptions in addition to token generation.
- On the server side, you'll request to alter the server endpoint from GCM to FCM.
Keep inwards heed that you lot don't lead hold to consummate all iii parts of the procedure inwards ane sitting - you lot tin bathroom lead hold it at your ain pace. For example, you lot tin bathroom select to configure the console today in addition to piece of job on the app code approximately other time. You're likewise gratis to update your app's code correct now, in addition to tackle the server-side requirements later.
What happens to my users who don't update their apps?
As long every bit users lead hold GCM logic inwards their apps, they volition all the same have messages. FCM is backwards compatible amongst GCM, hence fifty-fifty if you lot don't update your server endpoint now, you lot tin bathroom all the same update your app's logic, in addition to vice versa.
What information volition Firebase collect in addition to use? I'm concerned well-nigh privacy.
Please run across the Firebase terms in addition to the Firebase Privacy in addition to Security Policy. You tin bathroom disable Google Analytics for Firebase to trim back the amount of information that is collected, exactly maintain inwards heed this volition likewise disable approximately FCM features.
What if I all the same lead hold questions?
We're hither to assistance you lot through the upgrade process. Check out this nifty FAQ page every bit a start. We likewise encourage you lot to post service your questions on StackOverflow. Or, experience gratis to arrive at out to Firebase back upwards through whatsoever of these means.
To salve you lot clicking time, hither are approximately of the links that are likewise worth a read. Start amongst the upgrade guide, in addition to and then banking concern represent out the other links to uncovering out more.
- Migrating from GCM to FCM
- Migrate from Google Cloud Messaging to Firebase Cloud Messaging - Firecasts
- Migrating from GCM to FCM - FAQ
- Firebase support
- FCM Introduction
- About Firebase Cloud Messaging
- Example - Android Quickstart - Messaging
- Authorizing Send Requests
What if I already migrated?
Awesome! How'd it go? Tweet me at @ThatJenPerson to enjoin me what went good in addition to what didn't. Sharing your experience helps us brand improvements!
We await frontwards to welcoming you lot to FCM, the side yesteryear side development of GCM!