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/06/17 04:22:51 UTC

[GitHub] [cordova] knight9999 commented on issue #95: Android location permissions not being requested using Cordova 9

knight9999 commented on issue #95: Android location permissions not being requested using Cordova 9
URL: https://github.com/apache/cordova/issues/95#issuecomment-502529643
 
 
   @raphinesse Thanks you for responding the issue.
   And sorry. As all you mentioned, there are some problems.
   
   Basically, my PR https://github.com/apache/cordova-common/pull/24 is aiming to correct counting
   in the munge section in platform.json.
   
   This does not permit the conflicting of config-file/edit-config strictly.
   When conflicting happens between config.xml and plugin.xml, the config.xml has priority and used.
   Even if the conflicting is solvable.
   
   As a result, the user must describe all permissions in config.xml if the user want to use additional permission which conflict to plugin.xml.
   
   For example,
   ```
   <config-file parent="/*" target="AndroidManifest.xml">
               <uses-permission android:name="android.permission.CAMERA" />
               <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
               <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 
               <uses-feature android:name="android.hardware.location.gps" />
   </config-file>
   ```
    
   

----------------------------------------------------------------
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