I am having an application in which users need to visit particular locations. When users are nearby to this location a form is being open to fill. I have doubt that some users are spoofing their current locations(using any other application) and filling form at their home. Means fooling to my application.
I searched on Apple store and there is no application available for GPS spoofing or the application which can spoof location coordinates for other application in the iOS device.
I googled it and found that spoofing is possible on Jailbroken devices and some applications are available on Cydia store like "akLocationX", "Fake Location" etc. Below is the article on the same.
http://www.addictivetips.com/ios/easily-fake-iphone-current-location-aklocationx/
Could anyone help me, how can I stop this location spoofing on Jailbroken devices?
Select Android > Restrictions > Click on Configure button. Under Allow Developer Options, uncheck Mock location option to restrict users from turning on Mock Locations on their devices.
On Android 18 (JellyBean MR2) and above mock locations are detected using Location. isFromMockProvider() for each location. The app can detect that the location came from a mock provider when the API returns true.
Yes! Right now, the best way to spoof your location on an iPhone with iOS 16/15 installed is by using a desktop app. Simply set your desired location on the desktop app and then connect your iPhone to change its location. Let's look at your options for spoofing your iPhone location in 2022.
Nowadays, radio transmitters are cheap online, and GPS spoofing apps are vastly available for Android devices even at the Play Store. GPS spoofing is just one way that fraudsters fake their location.
Based on another StackOverflow question (Identify jailbroken device from iOS application), you can detect if your app is running with some known jailbreak tools, and take an alternate code path, such as disabling that part of your app (but do not exit or crash your app, as that may cause your app to fail AppStore testing).
As for always getting the real location, you can't really - your app can only run in the environment it has - if the environment is a jailbroken iPhone, and a hack running in that environment causes the geolocation api to report its location is on Tattooine or Atlantis, then thats what your app will get. Next best option is to try detecting jailbroken devices (as above) and change your app's behaviour.
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