Open DeevD opened 4 years ago
Need to use scope storage in Android 10,you need to change the default download path to the internal storage directory,example:
context.getExternalFilesDir("Downloads")
I'm facing the same issue. Can you post some code snippet how to use it?
add in your manifest file android:requestLegacyExternalStorage="true"
add in your manifest file
android:requestLegacyExternalStorage="true"
this is a temporary hack, we need to get a full solution
Sorry for the offtopic - do i need to request write and read storage permissions?
Sorry for the offtopic - do i need to request write and read storage permissions?
Hey Yes you have to request the access
在哪里配置这个默认路径?
What about Android 11 when we will not be able to access external storage folder?
a tempory hack ,modify compileSdkVersion 29 in build.gradle
An update regarding Android 11? Will it support?
@waqarul Any update?
@maxakash I'm still using android:requestLegacyExternalStorage="true"
to make it work on Android 10. But now Google Play store won't allow to publish apps that contains this flag
@ssseasonnn zou have any thoughts how to get rid of android:requestLegacyExternalStorage
for Android 10? As Google Play will not allow to publish apps after 1st June, 2021
fixed
java.io.IOException: Permission denied