Does firebase handle push notifications?

后端 未结 6 730
无人共我
无人共我 2020-12-01 07:53

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 clos

6条回答
  •  再見小時候
    2020-12-01 08:07

    The answer is YES!

    At 2017 Firebase published Cloud function. You can use a database trigger to send a push notification (using FCM) even when the app is closed.

    I have created a tutorial for firebase cloud function and Xcode(iOS) if you're interested, for the javascript it's the same code: https://www.youtube.com/watch?v=jOJdlvMS6KA

提交回复
热议问题