victorvhpg commented on issue #426: URL: https://github.com/apache/cordova-plugin-file/issues/426#issuecomment-821803601
i wanna save a file, not share a file > > Please update plugin to use MediaStore APIs too, and remove flag "requestLegacyExternalStorage" or make this flag optional > > If you want to opt out that flag simply install this plugin from npm and not github > > ``` > cordova plugin add cordova-plugin-file > ``` > > But then it it won't work an Android 10+. If you just want to save a file, a temporary workaround is to use the `cordova-plugin-x-socialsharing` and then the user saves the file wherever they want. I got this tip from @HarelM and it works nicely 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
