New Firebase Cloud Messaging API
See original GitHub issueYesterday Google’s Firebase team announce some cool new stuff at the Firebase Dev Summit: https://firebase.googleblog.com/2017/10/whats-new-at-firebase-dev-summit-2017.html
One of these new things is the improvement to the Cloud Messaging API:
Firebase Cloud Messaging (FCM) gives you an easy way to send notifications to your users, either programmatically or through the Firebase Console. However, sending cross-platform notifications with more complex functionality has been difficult, sometimes requiring you to create multiple, separate messages.
Today, we’re announcing a new RESTful, FCM HTTP v1 API that makes it safer and easier to send messages to your cross-platform applications. The new FCM API allows you to use platform-specific fields in a single notification. For example, you might send a simple text notification to iOS, but a request with a
click_action
to Android, all in one API call. To read more about the new FCM API, visit our documentation.
The HTTP and XMPP protocols we could use before are now called ‘Legacy HTTP’ and ‘Legacy XMPP’ in the documentation. Since the protocols are not deprecated or scheduled for shutdown (at least not that I can find) I feel there is no real need to change this library (yet).
Still, I was thinking that it would be great if PyFCM would start using this new FCM HTTP v1 API
since it seems so much more powerful. What do you think?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:10
- Comments:9 (3 by maintainers)
Any progress on this? @olucurious
Will create a new branch to start working on that