If you’re using Android and want to disable the mock location feature, there are a few ways to do so.
The easiest way is to go to Settings > Location > Mode and toggle the Mock Location option off.
If that’s not an option, you can also disable mock location by editing your AndroidManifest.xml file. Open the file in a text editor and locate the