将 Firebase 与我们的服务器集成以通过 android 发送通知
Integrate Firebase with our server to send notification over android
我正在与 android 合作。我需要从我的服务器向选定的用户发送通知,因此,我必须集成 Firebase Cloud Messaging 或 Google Cloud Messaging。
除了分析之外,FCM 和 GCM 之间的确切区别是什么?我可以将 FCM 与我的服务器集成吗?
FCM 是 GCM 的最新版本。
您可以将 FCM 与您自己的服务器集成。
检查这个 docs.
选中 this 以设置 Android 客户端。
强烈建议 GCM 用户升级到 FCM,以便从现在和将来的新 FCM 功能中受益。
所以继续使用 FCM。
也检查这个 FCM_vs_GCM or this talk GCM is now FCM 来自 Google I/O。
根据Google cloud messaging guidelines:
Firebase Cloud Messaging (FCM) is the new version of GCM. It inherits
the reliable and scalable GCM infrastructure, plus new features! If you are integrating messaging in a new app,
start with FCM. GCM users are strongly recommended to upgrade to FCM,
in order to benefit from new FCM features today and in the future.
此外 here 是关于差异的更多详细信息:
Firebase Cloud Messaging provides a complete set of messaging
capabilities through its client SDKs and HTTP and XMPP server
protocols. For deployments with more complex messaging requirements,
FCM is the right choice.
Firebase Notifications is a lightweight, serverless messaging solution
built on Firebase Cloud Messaging. With a user-friendly graphical
console and reduced coding requirements, Firebase Notifications lets
users easily send messages to reengage and retain users, foster app
growth, and support marketing campaigns.
Here's a comparison of the messaging capabilities provided by Firebase
Cloud Messaging and Firebase Notifications:
此外,here 是指导您如何使用 firebase 通知实现客户端和服务器的完整参考。
我正在与 android 合作。我需要从我的服务器向选定的用户发送通知,因此,我必须集成 Firebase Cloud Messaging 或 Google Cloud Messaging。
除了分析之外,FCM 和 GCM 之间的确切区别是什么?我可以将 FCM 与我的服务器集成吗?
FCM 是 GCM 的最新版本。
您可以将 FCM 与您自己的服务器集成。 检查这个 docs.
选中 this 以设置 Android 客户端。
强烈建议 GCM 用户升级到 FCM,以便从现在和将来的新 FCM 功能中受益。 所以继续使用 FCM。
也检查这个 FCM_vs_GCM or this talk GCM is now FCM 来自 Google I/O。
根据Google cloud messaging guidelines:
Firebase Cloud Messaging (FCM) is the new version of GCM. It inherits the reliable and scalable GCM infrastructure, plus new features! If you are integrating messaging in a new app, start with FCM. GCM users are strongly recommended to upgrade to FCM, in order to benefit from new FCM features today and in the future.
此外 here 是关于差异的更多详细信息:
Firebase Cloud Messaging provides a complete set of messaging capabilities through its client SDKs and HTTP and XMPP server protocols. For deployments with more complex messaging requirements, FCM is the right choice.
Firebase Notifications is a lightweight, serverless messaging solution built on Firebase Cloud Messaging. With a user-friendly graphical console and reduced coding requirements, Firebase Notifications lets users easily send messages to reengage and retain users, foster app growth, and support marketing campaigns.
Here's a comparison of the messaging capabilities provided by Firebase Cloud Messaging and Firebase Notifications:
此外,here 是指导您如何使用 firebase 通知实现客户端和服务器的完整参考。