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/02/15 07:18:05 UTC

[GitHub] [cordova-plugin-file] LoranRendel edited a comment on issue #456: Can't read file outside of app dirs

LoranRendel edited a comment on issue #456:
URL: https://github.com/apache/cordova-plugin-file/issues/456#issuecomment-778997716


   > 
   > 
   > This is **suppose** to work on API 29 with the `requestLegacyExternalStorage` enabled (which if you use the dev copy from github master branch, the plugin does use this flag). Can you try the plugin by installing it from git?
   > 
   > ```
   > cordova plugin add https://github.com/apache/cordova-plugin-file.git
   > ```
   > 
   > Please do let me know of this works, I'll be planning on making a release so that people can start making their migrations. Accessing the external storage root will not be possible starting API 30.
   
   Yes, now it works in Android 10 / API 29.
   
   However, will there be a solution to reading files in API 30? If application is designed to work with files it will be useless if there will be no way to access FS.
   
   P.S. Just read [notes about storage in Android 11](https://developer.android.com/about/versions/11/privacy/storage), `requestLegacyExternalStorage` will work in Android 11 if target API is still 29.


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

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