简体   繁体   中英

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.

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.

But I don't know and find whether can I request directly an FCM topic.

I am not sure if you want to use FCM topics specifically. But if that is not the case, then you can use topics in AWS SNS itself. You can create SNS topics for your organisations. Then, your device endpoints can subscribe to your SNS topics, and you can send notifications to those topics.

Here is the link for more details - https://docs.aws.amazon.com/sns/latest/dg/mobile-push-send-topicmobile.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM