Do we need to migrate to Firebase Cloud Messaging?




Firefox for Android
a year ago
a year ago


(Reporter: sebastian, Unassigned)


Firefox Tracking Flags

(Not tracked)




a year ago

> Firebase Cloud Messaging (FCM) is the new version of GCM. It inherits the
> reliable and scalable GCM infrastructure, plus new features! See the FAQ to 
> learn more. If you are integrating messaging in a new app, start with FCM. GCM
> users are strongly recommended to upgrade to FCM, in order to benefit from new
> FCM features today and in the future. 


> Benefits of upgrading to FCM SDK include:
>  * Simpler client development. You no longer have to write your own
>    registration or subscription retry logic.
>  * An out-of-the-box notification solution. You can use Firebase
>    Notifications, a serverless notifications solution with a web
>    console that lets anyone send notifications to target specific
>    audiences based on Firebase Analytics insights.

Comment 1

a year ago
Getting the registration and subscription for free from the new SDK is interesting. However we definitely do not want the Analytics part; I wonder if you can only get all or nothing.


a year ago
Priority: -- → P3
There's a backend piece to this too -- that is, we need to co-ordinate with the Push Service itself to deliver via FCM.  (If we elect to use FCM -- I can't evaluate the value here right now.)

Comment 3

a year ago
The migration guide[1] says: "Updating these endpoints is not strictly required, as Google will continue to support the existing GCM endpoints.". So maybe we could switch to FCM on the client before taking any action on the backend. But this of course needs further evaluation.

Looks like the server backend URL is fairly cosmetic. =>

We already encode the router_type into the inbound registration URL. It's also probably a good idea to segregate fcm from gcm in case they introduce more changes later.

Creating issue
You need to log in before you can comment on or make changes to this bug.