nailnafir commented on issue #426: URL: https://github.com/apache/cordova-plugin-file/issues/426#issuecomment-1330031964
Add code below to AndroidManifest.xml, and you can write file to storage root directory like cordova.file.externalRootDirectory: ```xml <manifest xmlns:tools="http://schemas.android.com/tools"> ... <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:ignore="ScopedStorage"/> <application android:requestLegacyExternalStorage="true"> ... </manifest> ``` Tested on Android 11 -- 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]
