I'm going to attend a MDM
project in iOS
(client side) but after searching, I still don't know how MDM
really works. Can anyone explain something for me?
Problem:
My server needs to control the list of applications are installed on devices (install and remove app).
Expected Solution:
- There need an app installed on devices which plays the role of client (MY APP).
- When needed, server will push a notification to client via Apple push notification server.
- After receiving notification, client app will connect to server to get server command (ex: installing app A)
- After getting command, MY APP automatically download A and install it.
My question: Is that the way MDM work?
If yes, how MY APP can install another app when it has no right to do it (due to sandbox) and whether server can config the access right for an app on devices. If possible, anyone can give me an example of code for MDM client side to clear my stuff things?
If no, it means that the server will be the one who install app A on device (instead of MY APP). In that case, how server can do that?