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 2020/12/16 16:09:55 UTC

[GitHub] [cordova-plugin-file] jcesarmobile commented on issue #443: [Android] content:// to file://storage does not get resolve

jcesarmobile commented on issue #443:
URL: https://github.com/apache/cordova-plugin-file/issues/443#issuecomment-746550652


   Google don’t want people to convert content urls to file urls for privacy reasons, because content urls don’t belong to your app and they just make it harder on every release.
   
   As workaround you can enable legacy storage, that will work for Android 10, but not for 11 and newer.
   For enabling legacy storage add this to the application tag in the `AndroidManifest.xml`
   
   `android:requestLegacyExternalStorage="true"`
   
   or use the dev version of the plugin that enables the legacy storage for you 
   
   https://github.com/apache/cordova-plugin-file/pull/417


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