문제

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