AWS SNS Apns Setup
if you push app through iTunes Connect, the profile changest to production.
We need to have a APNS ready for production, non sandbox 😕
There are some conditions which I have found so far in which endPoint attributes gets false even though endpoints and tokens are correct
If you have created the amazon sns app with Production APNS certificate but you try to register your device with SANDBOX APNS i.e. Development APNS then it will get false
When user turns off notifications in Phone Settings then apple APNS disables the flag which affects in amazon sns too. whenever user enables the notification again you have resend the token to amazon to setattribute true i.e. need to handle on client side
When user removes/unistalls the app