django-push-notifications icon indicating copy to clipboard operation
django-push-notifications copied to clipboard

Deprecate GCM

Open jamaalscarlett opened this issue 6 years ago • 5 comments

I received this message from Google:

Hi Jamaal,

In 2016, we launched Firebase Cloud Messaging (FCM), the successor to Google Cloud Messaging (GCM). As the next evolution of GCM, Firebase Cloud Messaging allows you to send notifications and data messages reliably to iOS, Android, and the Web at no cost. In addition, FCM provides you with new features like the easy-to-use notifications interface in the Firebase console, so you can easily target and test notifications to re-engage your users. In order to devote more time and attention to improving FCM, today we’re announcing that you must upgrade to FCM in the next year. The GCM server and client APIs are deprecated and will be removed as soon as April 11, 2019. We recommend you upgrade sooner rather than later so you can start taking advantage of the new features in FCM today.

The GCM settings should be deprecated

jamaalscarlett avatar Apr 11 '18 14:04 jamaalscarlett

While deprecating this, implementation should use another standard fcm library instead of using the existing internal implementation (it is definitely buggy).

Suggested options are: pyfcm, fcm-client

eskhool avatar Nov 27 '18 12:11 eskhool

fcm-client is not suitable. pyfcm looks good, +1 from me

jleclanche avatar Nov 27 '18 13:11 jleclanche

fcm-client is not suitable. pyfcm looks good, +1 from me

@jleclanche, Any reason why fcm-client is no good? seems a bit more organized in its approach

eskhool avatar Nov 28 '18 04:11 eskhool

The library is not maintained.

jleclanche avatar Nov 28 '18 18:11 jleclanche

Any progress on this? GCM is now completely deprecated.

A primary issue right now is that GCM is the default, so requires some dodgy migrations / code to update this.

Would be good to remove all references to GCM, and the special-casing around the 2 message types.

Agreed pyfcm would be a good thing to try, but personally I'd suggest getting rid of GCM, then working on improving FCM.

RealOrangeOne avatar Nov 25 '19 11:11 RealOrangeOne