问题
We use Amazon SNS to send our push notifications to different platforms. I've hit a unique snag and am looking for help to solve it.
On our APNS_SANDBOX application, a token inserted from a phone signed with a Mobile Developer and iOS Team Provisioning
profile will instantly deactivate when a message is sent to that end point. Without error, the AWS console says the message was delivered, if I refresh the list of end points, the end point was deactivated.
Our APNS (production) push works fine, when the app is signed for Release with a proper provisioning profile. Just the sandbox won't actually deliver push notifications to the phone.
Full disclosure, I have posted on the SNS product forums for support, but it's been days and I have not had a reply.
来源:https://stackoverflow.com/questions/30924028/apns-sandbox-tokens-deactivate-instantly-on-amazon-sns