Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does firebase handle push notifications?

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?

like image 552
BillyMedia Avatar asked Aug 01 '14 11:08

BillyMedia


People also ask

Can Firebase be used for push notifications?

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.

How does Firebase push notification work internally?

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.


2 Answers

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

like image 52
astletron Avatar answered Sep 22 '22 23:09

astletron


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:

  • Firebase Cloud Messaging

And the Firebase Cloud Messaging reference is here:

  • Firebase Cloud Messaging reference
like image 44
hallmanitor Avatar answered Sep 21 '22 23:09

hallmanitor