Question

Our app is being distributed via MDM (AirWatch in this case) as an InHouse app.

We can send APNS messages to the app and all works find, but only when we use the APNS sandbox.

When we use the production APNS server at Apple and the production certificate, Apple rejects the message.

Do InHouse apps distributed with MDM not work with production APN servers at Apple?

The Error we get is, "Apple Error code : Invalid token" when the production APNS server is used.

Was it helpful?

Solution

It seems like your device that you use for test is not bind with server's token or bound with some errors. I'm not sure but it can be an error in your server logic or invalid certificate used. Rather it is a problem with certificates. What kind of provider you use on your server?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top