Open Sispheor opened 8 years ago
Currently changing the
GCM_URL = 'https://gcm-http.googleapis.com/gcm/send'
to
GCM_URL = 'https:fcm.googleapis.com/fcm/send'
in gcm.py works.
Looks like there is new library for that: https://github.com/olucurious/PyFCM
Just writing the correct URLs:
GCM_URL = 'https://gcm-http.googleapis.com/gcm/send'
to
GCM_URL = 'https://fcm.googleapis.com/fcm/send/'
From https://firebase.google.com/docs/cloud-messaging/http-server-ref & https://developers.google.com/cloud-messaging/android/android-migrate-fcm
When will this version be released? GCM-Servers will be deactivated by Google on May 29th as per the following notice we got by mail:
Last year we announced that the GCM server and client APIs are deprecated. To prevent a disruption in your service, you must redirect your Cloud Messaging server requests to the Firebase Cloud Messaging (FCM) endpoint at fcm.googleapis.com/fcm/ before May 29, 2019.
It's the new version of GCM. See https://firebase.google.com/docs/cloud-messaging/