How can I test if the iPhone or iPad has been unlocked?

I’m seeing a much higher number of in app purchases from our analytics than what apple is reporting. I’m wondering if the game is being run on unlocked iOS devices and the usual in app purchase authentication is being circumvented. Is there any way to check for this?

You could lock out any access from devices that don’t go through Apple first. (don’t lock yourself out :slight_smile: ) If it is a piracy issue, you can contact Apple and they are able to find device that access/‘purchase’ apps/in-app purchases, see if the software has been ‘damaged’ and reset the device. (I’ve had this happen).

I found this:

It includes a isJailbroken function so you can test if the device has been unlocked.