5 Replies Latest reply on Aug 20, 2016 11:45 PM by neilm64907889

    Nexus / Android, Geolocation, "Application does not have sufficient geolocation privileges."

    mattk61137503

      This isn't my SO post, but it's a good description of the problem: cordova - Phonegap geolocation is not working on Android (Nexus device) - Stack Overflow

       

      I built an app that works well in iOS, Windows, and generally in Android. It requires geolocation for most of its features to be effective. It works most of the time, but not with a couple Android cases. I'm trying to determine if it's a Phonegap thing, a Phonegap Build thing, or what.

       

       

      iOS app - Works

      iOS Safari - Works

      iOS Chrome - Works

      Windows App - Works

      Windows IE - Works

      Android Chrome - Works

      Nexus 5 + 6 - Fails

       

      The app is telling me "Application does not have sufficient geolocation privileges." but I have tried everything I can think of. I had this in there before:

           <gap:plugin name="org.apache.cordova.geolocation" />


      And it failed, so I tried removing it... which also failed.

       

       

      I have this in here also, just in case:

       

       

          <gap:config-file overwrite="true" parent="/manifest" platform="android">

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

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

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

          </gap:config-file>

       

      I'm trying to build with cli-6.3.0. What can I do to get geolocation working?