Hello, i have seen this question a lot of times around and i see no solution on this problem, I have a webview that loads a site, in this site there is a javascript function that detects the device latitude longitude (with gps and wifi).
In iphone everything works fine the user gets a question if he wants to give his position.
In android the user gets no notification and nothing is working, if i add this
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />to the android manifest then the app at least gets the position from wifi (only if the wifi location access is already enabled), but again without asking anything the user!
Is there any solution on the webview to work like it is working on the web browser of the android device (because if i load the site from the browser everything works fine) and the iphone ?