You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/09/20 23:58:46 UTC

[GitHub] [cordova-plugin-file] breautek edited a comment on issue #494: Cannot read files under cordova.file.externalRootDirectory for Android 11

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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org