breautek edited a comment on issue #494: URL: https://github.com/apache/cordova-plugin-file/issues/494#issuecomment-923432540
> I guess I should also mention. using preference name="android-targetSdkVersion" value="29" > works fine. The problem shows up when set to 30. I'll retry my test app against API 30, it's possible that I'm recalling memory while testing API 29 to see if I reproduce the same issue. In my [test app](https://github.com/breautek/cordova-file-api30-test-app) I can read the directory to list them, while having the `READ_EXTERNAL_STORAGE` permission granted. I also `adb push` files into `/storage/emulated/0/` and appeared to be able to resolve the root external directory, `directoryEntry.getFile` to obtain the `FileEntry` and was able to read files fine. Can you maybe try my PR via `cordova plugin add https://github.com/breautek/cordova-plugin-file.git#feat/api30` ? Ref: https://github.com/apache/cordova-plugin-file/pull/487 -- 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]
