sirineKr commented on issue #480:
URL: 
https://github.com/apache/cordova-plugin-file/issues/480#issuecomment-870584331


   Hello,
   
   `android:requestLegacyExternalStorage="true"` works when targeting API 29. 
This won't work when targeting API 30, as API 30 ignores the 
`android:requestLegacyExternalStorage` attribute.
   
   According to the [Android 
documentation](https://developer.android.com/training/data-storage/use-cases#opt-out-in-production-app)
 : 
   _After you update your app to target Android 11 (API level 30), the system 
ignores the requestLegacyExternalStorage attribute when your app is running on 
Android 11 devices, so your app must be ready to support scoped storage and to 
migrate app data for users on those devices._
   
   
   You can see this 
[issue]https://github.com/apache/cordova-plugin-file/issues/426#issuecomment-756757287)
 for more information
   
   I'm facing the same problem, I want to download files in the Download folder 
without adding `MANAGE_EXTERNAL_STORAGE` permissions on Android 11.
   


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