You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/11/29 15:55:48 UTC

[GitHub] potatoboy1999 opened a new issue #124: Phonegap Build Log: Plugin doesn't support this project's cordova-android version

potatoboy1999 opened a new issue #124: Phonegap Build Log: Plugin doesn't support this project's cordova-android version
URL: https://github.com/apache/cordova-plugin-geolocation/issues/124
 
 
   I'm working on a phonegap project that needs to show the current position of the user. The plugin works fine when tested on a browser or on the PhoneGap App for Android, but when i build the apk for android on PhoneGap Build the function navigator.geolocation.getCurrentPosition runs the error function with:
   
   `Code: 2, Message: application does not have sufficient geolocation permissions.`
   
   And on the **PhoneGap Build Log** I see this, which kinda tells me something wrong is happening when installing the plugin in the apk.
   
   ```
   PLUGIN OUTPUT
   --------------------------------------------------------------------------------
   Fetching plugin "cordova-plugin-geolocation@^4.0.1" via npm
   Installing "cordova-plugin-geolocation" at "4.0.1" for android
   Plugin doesn't support this project's cordova-android version. cordova-android: 6.1.2, failed version requirement: >=6.3.0
   Skipping 'cordova-plugin-geolocation' for android
   ```
   
   I thought that i just had to update the cordova-android version but when i run **`cordova platforms`** i get:
   
   ```
   cordova platforms
   Installed platforms:
     android 6.4.0
     browser 5.0.4
     ios 4.5.5
   Available platforms:
     osx ~4.0.1
     windows ~6.0.0
   ```
   So my cordova-android is actually different when i send it to the build.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org