iOS Question Detect fake location

Semen Matusovskiy

Well-Known Member
Licensed User
Guys --

How do you struggle with spoofers ?
I understand that there is no 100% protection, but there is a great wish to prevent at least simple download from App Store.
 

Semen Matusovskiy

Well-Known Member
Licensed User
My app needs to be sure that a user was in concrete place.
Previously we thought that our users are not too advanced and did not worry about spoofing. Until we found FakeGPS app (Android) on some phones.

I added some control in Android app. Now I need to do the same in IOS release.
 
Upvote 0

Sandman

Expert
Licensed User
Longtime User
So your question is actually "How do I detect if I got a mock or real location?"

(The part about the simple download from App Store made it difficult for me to parse. :) )

According to this thread:

It seems that you simply can't detect with any rock-solid certainty. The user could, for instance, use an external GPS receiver, which obviously could be delivering completely faked positions. The thread even mentions an Android app (long gone from Play Store) that could pretend being a bluetooth GPS and send NMEA data to the iPhone.

On the other hand, they also talk about evaluating the gps data, in their case it seems the mock location have some static data that wouldn't reflect a real location. That's five years old, so things might have changed since then.

Just curious, why is it crucial for your app to know the correct location?
 
Upvote 0

Alex_197

Well-Known Member
Licensed User
Longtime User
I have the same problem but users have found another trick that can't be detected at all.
Let say user registered his phone with the system. He went to location, let's say a client apartment. Sent his location to the system. And walked away. Solution - second phone. The first phone is still in client's apartment. To you it looks like everything is correct, you see that user pretends to be in correct location which indeed is is not true.
 
Upvote 0

Semen Matusovskiy

Well-Known Member
Licensed User
@Alex_197
In my app users fill a questionnaire and make photoes. For each reply/photo an app stores current location. So I am afraid fake gps apps only.

@Sandman
I saw https://stackoverflow.com/questions/29232427/ios-detect-mock-locations , but to make any assumption from received locations ?!

For Android you can check location.isFromMockProvider and to detect rooted phones using su command. I hope there are methods for IOS also.
 
Upvote 0

Alex_197

Well-Known Member
Licensed User
Longtime User
@Alex_197
In my app users fill a questionnaire and make photoes. For each reply/photo an app stores current location. So I am afraid fake gps apps only.

@Sandman
I saw https://stackoverflow.com/questions/29232427/ios-detect-mock-locations , but to make any assumption from received locations ?!

For Android you can check location.isFromMockProvider and to detect rooted phones using su command. I hope there are methods for IOS also.
So do I but what stops the client from taking these photos and then get a kickback from the user? Nothing.
 
Upvote 0
Top