I'm developing an app on Android and I'm trying to use this app for location mock on Android 6.0.1 (physical device).
The app consists on a webview that renders some page which contains Google Maps.
I have enabled the mock location app under Settings → Developer Options → Mock Location App, which works fine with the Google Maps app on the phone, but it doesn't on my app.
In fact I've tried debugging using remote devices and the geolocation object of HTML5 doesn't seem to exist when I use the mock location app, but it DOES when I don't.
I've also read that sometimes you need to turn Wi-Fi off, because it tries to mock location, but it snaps back to the location the Wi-Fi provides. Thing is I need the data 'on' because of my app.
Also tried using Google Maps inside the Chrome app (on my phone), which also doesn't work with the mock.
As a side note: It was tested before and after rooted my device, but nothing changed. It was developed using Xamarin Forms.
I tried GPS modes 'high accuracy' and 'gps only' to not avail.