如何处理firebase中的推送通知 [英] How to handle push notification in firebase

查看:186
本文介绍了如何处理firebase中的推送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用firebase和phonegap开发一个实时聊天应用程序,我需要处理推送通知,当应用程序没有运行。请指导我处理推送通知在我的后端服务器firebase更改。

I'm developing a real time chat application using firebase and phonegap,I need to handle push notifications when application is not running.Please guide me to handle push notification at my backend server for firebase changes.

感谢

推荐答案

Firebase直接与推送通知无关。如果您的服务器是node.js服务器,您可以监听Firebase实例中的更改,并通过推送通知来响应这些更改。

Firebase directly has nothing to do with push notifications. If your server is a node.js server, you can listen for changes in your Firebase instance and respond to those changes with push notifications.

阅读更多:


  1. Firebase适合您的应用程式?

  2. Firebase工作队列

  1. Where does Firebase fit in your app?
  2. Firebase Work queue

这篇关于如何处理firebase中的推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆