I am investigating whether firebase and angularfire are a good fit for my upcoming project.
One of the requirements are for users to be notified when the app is closed on new private messages sent to user, ie. push notifications.
Does firebase handle this?
Firebase Cloud Messaging (FCM) provides a reliable and battery-efficient connection between your server and devices that allows you to deliver and receive messages and notifications on iOS, Android, and the web at no cost.
The internal working principle of Firebase is similar in my opinion. When you are installing an application which has the Firebase SDK set up in it, it gets a push registration ID from Google server. Usually, you save the push registration ID in your server as well.
Yes. This was not the case until recently, though.
Thanks to @libik for providing relevant documentation link:
https://firebase.google.com/docs/cloud-messaging/server#http-request
Update 5/2016 :
on Google io 16 , Google announced FCM - Firebase cloud messaging service.
With the announced expansion of Firebase at Google I/O recently, we also introduced Firebase Cloud Messaging (FCM) and Firebase Notifications (FN). As a developer, there are lots of updates that you might be able to take advantage of.
see more at : https://developers.googleblog.com/2016/05/google-cloud-messaging-and-firebase.html
documentation : https://firebase.google.com/docs/cloud-messaging/#key_functions
As of today, the Google I/O has announced the new Firebase Cloud Messaging Service does now support sending push notifications. It integrates with Google Cloud Messaging to deliver messages upstream and downstream!
You can read more about it here:
And the Firebase Cloud Messaging reference is here:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With