App does not receive ADM messages unless reinstall
Hi! My ADM enable app sometimes does not receive any messages from ADM, even though the server does not return an error for the endpoint (I am leveraging AWS SNS as well). I've verified the ADMMessageHandler onMessage() callback is not fired. A reinstall of the app does fix the issue. What could be the cause of this behavior?
Hi, Is there any indication in the logcat that the receiver was set up incorrectly or had any errors? Also, is this randomly per install or does it happen every install after a certain period of time. Finally, what device and OS version is the tablet running? Thanks, Nick
Thanks for the help! Not every install encounters this issue, on around 5 devices tested 2 were unable to receive messages the day after install. Is there any any events I can log to help provide more info?
Verify that getRegistrationId() returns the same registration ID. The registration ID can sometimes change and when it does onRegistered() will be called. SNS will need to be updated with the latest registrationId. This may cause a new SNS endpoint ARN to be returned. Also verify that the endpoint ARN is not disabled within SNS.