In iOS 7 Mobile Device Management, According to the documentation dated 6th July 2013, to indicate that you have no more commands, you send an empty dictionary with a 200 OK status code. However, when I do this, the device keeps sending 'Idle' commands back indefinitely. The only way to solve this was to send a 500 error code, but I don't find this clean at all. Can someone please help? Perhaps they came across the same problem?

有帮助吗?

解决方案

To solve this problem in IOS7 you should send response to device with 200 status and empty body not empty dict or json (response body must be zero bytes).

In IOS6, you should send empty dict like you said.

其他提示

I believe you should send reply with empty body (vs empty dictionary)

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