Detect Mock Location extension
Simple extension to detect Fake GPS
This extension will not work if android.permission.ACCESS_FINE_LOCATION permission is deny. You need to ask for permission manually
IsMock : This block will return true if user using mock location (Fake GPS)
GetAllProvider : This block will return List of all location provider
GetBestProvider : This block will return current location provider
OnError : This block will trigger if location is Null
Demo blocks
Extension contain this permission :
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
Download
com.shreya.DetectMockLocation.aix (5.7 KB)
Minimum API 18 is required to work