jfoclpf commented on issue #426: URL: https://github.com/apache/cordova-plugin-file/issues/426#issuecomment-833757042
@interstellerS I know the thread is long, but we have already discussed that previously. The current **workaround** is to use the npm version of this plugin and not the dev version, just run to be sure you're using the npm version ``` cordova plugin rm cordova-plugin-file cordova plugin add cordova-plugin-file ``` The npm version does not use `requestLegacyExternalFlag` on which Google complains, on and after Android 11. Then install the plugin [`cordova-plugin-x-socialsharing`](https://www.npmjs.com/package/cordova-plugin-x-socialsharing) and use the `options.files` Array property. This let the users save the file wherever they want, instead of you trying to find the correct path. If you want to be sure your users are able to share to the file system, you can suggest them to install this [simple APP](https://play.google.com/store/apps/details?id=com.boxhead.android.sharetofilesystem&hl=en_US&gl=US), which is indeed just an addon (it will not create any new icon and it's not openable, it simply allows users to share a file to the file system). -- 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]
