I have developed an MDM Server using the iOS APNS method and I am pushing apps to mobile devices.
I want the MDM Server to know when the App was successfully installed or when the user cancels the alert for App Installation.
I issue the InstallApplication command and I get an Acknowledgement with State as Queued but I want an acknowledgement when the State is Installed. I tried to issue an ManagedApplicationList command after the InstallApplication command so that I can check if the app installed is now managed thereby concluding that the app was successfully installed. But I get the Acknowledgement with State as Prompting for this command as this command is issued immediately after InstallApplication command.
According to Mobile Device Management Protocol Reference, there are states like - UserRejected, UpdateRejected, ManagementRejected but I never got those responses but this seems like the response I'm expecting.
1) How do I get Acknowledgement when the app was installed successfully?
2) How do I get notified when user cancels the App installation alert?
3) Is there a way to install the app without prompting an alert to the user?