geeknam / python-gcm

Python client for Google Cloud Messaging for Android (GCM)
MIT License
458 stars 145 forks source link

Compatibility with Firebase Cloud Messaging (FCM) ? #109

Open Sispheor opened 8 years ago

Sispheor commented 8 years ago

It's the new version of GCM. See https://firebase.google.com/docs/cloud-messaging/

acedip commented 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.

ziima commented 7 years ago

Looks like there is new library for that: https://github.com/olucurious/PyFCM

veerenmandalia commented 5 years ago

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

ajans commented 5 years ago

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.