简体   繁体   English

如何将 Firebase Cloud Messaging(FCM) 主题与 AWS SNS 结合使用

[英]How to use Firebase Cloud Messaging(FCM) topic with AWS SNS

I want to establish a structure being the organization based.我想建立一个以组织为基础的结构。 each organization has a topic on FCM.每个组织都有一个关于 FCM 的主题。

If an organization wants to send a push notification:如果组织想要发送推送通知:

it will request my backend via organization_id and a topic name and I shall trigger AWS SNS with the payload.它将通过 organization_id 和主题名称请求我的后端,我将使用有效负载触发 AWS SNS。

But I don't know and find whether can I request directly an FCM topic.但我不知道我是否可以直接请求 FCM 主题。

I am not sure if you want to use FCM topics specifically.我不确定你是否想专门使用 FCM 主题。 But if that is not the case, then you can use topics in AWS SNS itself.但如果情况并非如此,那么您可以在 AWS SNS 本身中使用主题。 You can create SNS topics for your organisations.您可以为您的组织创建 SNS 主题。 Then, your device endpoints can subscribe to your SNS topics, and you can send notifications to those topics.然后,您的设备端点可以订阅您的 SNS 主题,您可以向这些主题发送通知。

Here is the link for more details - https://docs.aws.amazon.com/sns/latest/dg/mobile-push-send-topicmobile.html这是更多详细信息的链接 - https://docs.aws.amazon.com/sns/latest/dg/mobile-push-send-topicmobile.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 AWS SNS 和 firebase 云消息传递 (fcm) 发送推送通知有什么好处 - whats the benefits of using AWS SNS with firebase cloud messaging(fcm) to send push notifications firebase 云消息的 FCM 令牌有时未注册 - FCM Token for firebase cloud messaging sometimes not registered Firebase 云消息:“超出主题配额” - Firebase Cloud Messaging: "Topic Quota Exceeded" 使用 FCM(Firebase 云消息传递)通过 C# 将推送发送到 Android - Send push to Android by C# using FCM (Firebase Cloud Messaging) Firebase 云消息 (FCM) Api Azure 通知中心的密钥 - Firebase Cloud Messaging (FCM) Api Key for Azure Notification Hub 在 Kotlin 客户端应用程序中发送 FCM 推送通知 - Firebase 云消息传递 - Sending FCM Push Notification in Kotlin Client App - Firebase Cloud Messaging 将 FCM(Firebase Cloud Messaging)令牌映射到自定义用户 ID - Mapping FCM(Firebase Cloud Messaging) Token to Custom UserID 在 Firebase 云消息传递中,React 本机应用程序未通过 TOPIC 接收通知 - React native app not receiving notifications via TOPIC in Firebase cloud messaging AWS SNS 主题策略 Cloudformation - AWS SNS Topic Policy Cloudformation Firebase 消息传递错误:主题格式错误 - Firebase messaging error: Topic is malformed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM