DavidTalevski commented on issue #543: URL: https://github.com/apache/cordova-plugin-file/issues/543#issuecomment-1315368858
> Also, just confirmed that `WRITE_EXTERNAL_STORAGE` is completely obsolete when targeting API level >= 30 > > > Note: If your app targets Build.VERSION_CODES.R or higher, this permission has no effect. > > https://developer.android.com/reference/android/Manifest.permission#WRITE_EXTERNAL_STORAGE > > Therefore rather than making the permission optional, we'll probably just remove it altogether. > > Additionally, the plugin already is set to support only cordova engines android >= 10.0, which is intended to target API 30, so removing the WRITE declaration completely would not be considered a breaking change. I am currently targeting API level 31 and I am using my [fork](https://github.com/DavidTalevski/cordova-plugin-file) where I have removed the permission tag from the plugin.xml. I can confirm that there are no issues so far while using the plugin without the permission, as its use was very specific either way (with sd cards only?). Can we expect the permission to be removed in the next release of this plugin? -- 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]
