Search code examples
amazon-web-servicesamazon-snsaws-amplify

Using AWS Amplify to create a SNS endpoint. How to do so?


For creating a SNS endpoint in Android they give us a tutorial on how to create a SNS endpoint.

https://docs.aws.amazon.com/sns/latest/dg/mobile-platform-endpoint.html

It looks a bit outdated and the methods are depreciated. Currently I am using AWS Amplify for my mobile app. How would I do it using the mobileclient? I can't seem to find any tutorials or docs on it. Could someone explain or link me? Thanks


Solution

  • The tutorial you mentioned is for creating a mobile endpoint so that SNS can send push notifications.

    The Amplify SDK for Android handles this using Amazon Pinpoint. The Amplify docs provide a tutorial on how to setup Push Notifications here.