1

I've made a web app that accesses the GPS on smartphones and tablets.

The app works perfect in the native browser on Android, but when I try to run the app through a webview application that I've made, the GPS doesn't work.

I have set the permissions as described in the documentation:

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

Am I missing something?

Yury
  • 20,618
  • 7
  • 58
  • 86
frontendherodk
  • 231
  • 2
  • 9

1 Answers1

0

Have you added these permissions in AndroidManifest.xml?

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
Roman Black
  • 3,501
  • 1
  • 22
  • 31