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.

有帮助吗?

解决方案

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?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top