Monday, August 13, 2018

Replicate SNS Topic subscription from one device end point to another

Leave a Comment

I have an android device that is registered to an SNS Platform Application. So it is a platform endpoint (in terms of aws sns). It has subscribed a total of 20 Sns Topics.

If I have another device (Android or Iphone), which is also an SNS platform endpoint, I would like it to be subscribed to same SNS topics.

Basically, I want to subscribe sns topics from one device. And if I install this application to another device, I want all of my subscription to be replicated on that other device as well. I hope I made my self clear.

I am using AWS SDK for Asp.net core.

Thanks for helping out.

1 Answers

Answers 1

Essentially for GCM another device would require another subscription.

The logic below will not work automatically unless you program it in your application.

Basically, I want to subscribe sns topics from one device. And if I install this application to another device, I want all of my subscription to be replicated on that other device as well. I hope I made my self clear.

Please check this example in mobile-platform-endpoint documentation, it is not the same scenario but can be used as reference.

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment