4 Replies Latest reply on Aug 25, 2017 1:33 AM by adolfh92303921

    How do I add permissions for location (gmaps v3) for android 6+ in phonegap

    thijsw99376340 Level 1



      When I test my app with chrome browser or the phonegap app. The HTML5 geolocation I'm using works just fine. (show a map view with device location)


      When I sign my apk with phonegap build and test the apk on a device I'm getting a Location error.

      I'm trying to add permission for geolocation, but I can't make it work.


      Is HTML5 geolocation the problem or is it a permission issue?

      I'm not really sure how to add permissions correctly with android 6 and above.


      I've read a lot of tutorials/posts about adding maps to phonegap. But they are all different and for older versions of maps/android.