jazzband / django-push-notifications

Send push notifications to mobile devices through GCM or APNS in Django.
MIT License
2.28k stars 616 forks source link

Deprecate GCM #463

Open jamaalscarlett opened 6 years ago

jamaalscarlett commented 6 years ago

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

eskhool commented 5 years ago

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

jleclanche commented 5 years ago

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

eskhool commented 5 years ago

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

jleclanche commented 5 years ago

The library is not maintained.

RealOrangeOne commented 4 years ago

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.