Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I delete my iOS enterprise app on a certain user's iPhone

I'm developing a iOS based enterprise app. The client is going to install the app on their employees' personal iPhones. So while an employee leaves the company, the company would have a very strong desire to delete the app on his/her iPhone.

We are going to buy the $299 enterprise license and we have that employee's UDID. I thought I saw somewhere that we can make it by making changes to the mobile provision, but I can'd find it out.

So any ideals?

Update I found this in Apple's Enterprise Deployment Guide page 66:

"Disabling an Enterprise Application

If you need to disable an in-house application, you can do so by revoking the identity used to sign the distribution provisioning profile. The application will no longer be able to be installed, and if it’s already installed, it will no longer open."

I believe that means I can disable the app on every device by revoking the com.companyname.productname thing, but I found no info in the file about how to disable some certain user.

like image 479
Zhao Xiang Avatar asked Jun 12 '11 15:06

Zhao Xiang


1 Answers

What I would suggest is to make the user enter his id-number (social-security number or something in USA) and then every time the app opens, query an online database with all the user's id's etc. (Automatically/behind the scenes) As soon as he left the company, remove him from the DB. The app will then only go to a static page and do nothing (maybe display a company logo). This way the app becomes unusable after you remove him from your online database.

Regarding physically deleting the app of his phone, I have no idea if that could be done or will be allowed. If you could delete the app from within itself, then it would also need to query a database.

like image 150
Pangolin Avatar answered Oct 14 '22 12:10

Pangolin