Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to detect that the app is running on a jailbroken device? [duplicate]

I have just released my app for iOS, but I'm not sure how to make my app safe from being used by jailbrakers.

Can I do something to prevent my app working on jailbroken devices?

like image 339
R. Dewi Avatar asked Jun 30 '11 05:06

R. Dewi


People also ask

What is jailbroken device detected?

Jailbreaking refers to the process of removing all restrictions imposed on an iOS device.

Can Apple detect a jailbreak?

One key fact that iOS detection for jailbreaking can depend on is figuring out if the app is asking for more resources and app data than allowed by the Apple operating system. The app may also look for other applications like Cydia, available only on jailbroken devices.

Can jailbroken phones be hacked?

When you jailbreak your phone, you can install apps that are not approved by your manufacturer and create a custom system. However, jailbreaking creates vulnerabilities in your phone, which can open it to hackers.


1 Answers

You can detect through code that if the app is running on a jail broken device or not. Through that way you can pop up an alert and close the app. You can do whatever you want to do. Here is a tutorial for it:

http://thwart-ipa-cracks.blogspot.com/2008/11/detection.html

and here is a Stack Overflow post:

How do I detect that an iOS app is running on a jailbroken phone?

Also, if you want a complete solution, you can see in tapjoy sdk code. They are detecting jailbroken iPhone. Here is tapjoy URL https://www.tapjoy.com/

like image 154
Rahul Vyas Avatar answered Sep 29 '22 00:09

Rahul Vyas