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?
Jailbreaking refers to the process of removing all restrictions imposed on an iOS device.
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.
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.
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With