I am trying to load google map v3 (Javascript) in a web view in android
It always gives error
user denied geolocation
Written using Ionic , it works fine in desktop chrome(ionic serve), and ios devices , error appears only in android
Git repo : https://github.com/aishwat/temp
Already done following:
- In manifest
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
- For webview
webView.getSettings().setGeolocationEnabled(true);
- Referred to following links
google-maps-javascript-geolocation-not-working-on-chrome
html-navigator-user-denied-geolocation
and few others
Nothing works plz help