Reputation: 212
I have developed a mobile application in PhoneGap. We had a security test on the application and it has flagged that application can be installed on a rooted device and we don't want to allow this. Is there a way to restrict an application to be installed on a jailbreak phone using phonegap
Thanks
Upvotes: 1
Views: 4416
Reputation: 5892
The short answer
No, you can't at install time.
The long answer
You can restrict the installation on devices by two ways:
Since the root is not a feature implemented as part of the device, it is a software restriction, you might accept users to install the application and check it at runtime if the device is rooted. Here is a link on how you can try to do it, but there is not an official way or consistent for all devices as far as I know.
Upvotes: 4