vldmrrr commented on issue #545: URL: https://github.com/apache/cordova-plugin-file/issues/545#issuecomment-1318842307
> After reviewing the [**cordova-plugin-grant-fs-access**](https://github.com/vldmrrr/cordova-plugin-grant-fs-access) plugin source code, the sample app, and Android docs, I think the plugin is trying to access a restricted directory and failing. Plugin is not failing, user can select existing or create new directory where allowed by the system. Plugin does return URI that is delivered after user selection and consent to write access to selected directory. What fails after that is file plugin's resolveLocalFileSystemURL when used with returned URI > Also, if there is an issue, I would suggest for a reproduction branch without any third-party plugins. Only `cordova-plugin-file`. `cordova-plugin-file` does not provide functionality to invoke ACTION_OPEN_DOCUMENT_TREE intent. Neither cordova itself, as this requires native code, which only achievable with plugin. Invoking intent and returning its result to cordova application is the only function of the 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]
