DavidTalevski opened a new issue, #543:
URL: https://github.com/apache/cordova-plugin-file/issues/543

   # Feature Request
   
   ## Motivation Behind Feature
   Most applications and plugin functionalities do not require 
"android.permission.WRITE_EXTERNAL_STORAGE".
   
   ## Feature Description
   Adding a variable during installation whether or not to include the 
permission might be the simplest solution. I'm not exactly sure if the cordova 
xml structure supports something like checking if a preference is equal to a 
value and then adding a permission or any other tag.
   ```xml
   <!-- Check if external storage permission should be added? -->
   <config-file target="AndroidManifest.xml" parent="/*">
       <uses-permission 
android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
   </config-file>
   ```
   
   ## Alternatives or Workarounds
   A workaround for completely removing the permission is mentioned here: #243 
   I'm also using a fork in my projects where the permission is removed 
directly from the plugin.xml.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to