Open tioback opened 7 years ago
There are a few integration tests in the code. They've helped me. But I agree real samples (explained) would be better.
+1 Better instructions would be great...
+1
The "detail step-by-step guide" of chunghe helped me a lot making it run on android. https://github.com/awslabs/aws-sdk-react-native/issues/35
Now I'm looking for sample code how to authenticate and subscribe. The tests include code how to i.e. subscribe to get emails or list the topics: https://github.com/awslabs/aws-sdk-react-native/blob/master/SNS/IntegrationTests/SNSTests.js
I'd like to receive notifications in the app, but don't know how to create the platformEndpoint, the PlatformApplicationArn and the deviceToken. Some sample code would be great.
Please provide samples and/or examples on how to use the SDK.