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/21 21:37:44 UTC

[GitHub] [cordova-plugin-file] israeltrejo edited a comment on issue #426: Storage updates in Android 11

israeltrejo edited a comment on issue #426:
URL: https://github.com/apache/cordova-plugin-file/issues/426#issuecomment-924404093


   I changed the android version in which the application is focused adding this tag in the config.xml:
   `<preference name="android-targetSdkVersion" value="28" />`
   And this change allows to save files into the device using on Android 8, Android 9, Android 10 and Android 11.
   I did tests on Android emulator and physical devices working correctly.
   
   The Android documentation recommends to change the API Level version to avoid the scoped storage feature on Android 10.
   
   You get more information about scoped storage feature here:
   https://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage
   
   I hope this information will be helpful.


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