breautek commented on issue #650: URL: https://github.com/apache/cordova-plugin-file/issues/650#issuecomment-3096865310
It's likely an issue with the [needPermission](https://github.com/apache/cordova-plugin-file/blob/master/src/android/FileUtils.java#L580) method. Note that since scoped storage, most paths in the external file system is not readable. The only path that should be readable via FS apis is `cordova.file.externalApplicationStorageDirectory`, which it sounds like is what you have, but our docs states the path starts with `/sdcard` while your example shows `/storage`. Are you able to confirm whether the `externalApplicationStorageDirectory constant matches `file:///storage/0000-0000/Android/data/xxx.xxx.xxx.xxx/files` If they don't match that's likely the root cause of the issue. -- 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]
