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/27 07:49:15 UTC

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

kalandher removed a comment on issue #494:
URL: https://github.com/apache/cordova-plugin-file/issues/494#issuecomment-927613326


   > > 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: #487
   
   getting below error while trying to build your test app
   
   ![image](https://user-images.githubusercontent.com/24358595/134865027-729167ab-c3ec-440b-879f-6581f19be71b.png)
   
   i also have latest build tools installed
   
   ![image](https://user-images.githubusercontent.com/24358595/134865221-465db416-3ad4-49d7-b8c0-9b9a72ee374a.png)
   


-- 
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