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 2019/03/25 13:16:05 UTC

[GitHub] [cordova-plugin-geolocation] ekrapfl opened a new issue #147: Android location permissions not being requested using Cordova 9

ekrapfl opened a new issue #147: Android location permissions not being requested using Cordova 9
URL: https://github.com/apache/cordova-plugin-geolocation/issues/147
 
 
   # Bug Report
   
   ## Problem
   I am trying out using Cordova 9, and most things seem to be working alright, but the geolocation plugin is not adding the appropriate `uses-permission` tags to the android manifest file.
   
   Note: this works fine if I revert back `cordova-cli@8` and `cordova-android@7`
   
   ### What is expected to happen?
   Adding `cordova-plugin-geolocation` should add the appropriate permissions to the manifest file and allow requesting location in the app.
   ```
   <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
   <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
   ```
   
   ### What does actually happen?
   Adding `cordova-plugin-geolocation`does not add the appropriate permissions, and thus, my app is not able to request a GPS location.
   
   ### Environment, Platform, Device
   Android (have not attempted iOS yet)
   
   ### Version information
   I am using
   ```
   "cordova-plugin-geolocation": "4.0.1"
   "cordova-android": "^8.0.0"
   "cordova": "^9.0.0"
   "ionic": "4.12.0"
   ```
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ x] I searched for existing GitHub issues
   - [x ] I updated all Cordova tooling to most recent version
   - [x ] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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