kalandher commented 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: [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]

Reply via email to