Open Lalitchaudhary2 opened 4 years ago
Change build.gradle in Example project to targetSdkVersion = 28 (Android P).
Android 10 (29) doesn't permit to save pictures outside app's directory.
as the googleplay docs say: https://developer.android.com/distribute/play-policies#:~:text=Apps%20must%20target%20API%20level,11%20(API%20level%2030).
ALL Apps must target API level 30.
My app targetSdkVersion is 28 but cant proceed to playtore because they needs targetSdkVersion 29. When I target 29, my app will crash in Android 10 when performing signature.
is there any workaround? Thanks
Can you provide some kind of information on the crash? I'm using this in an app that targets sdk 30 and runs on Android 10 and 11 with no issues.
I just added this line to my AndroidManifest and it works android:requestLegacyExternalStorage="true"
If you used Coil or Glide or other Image Loader, maybe enabled hardware acceleration, it can work after disabled it.
@Lalitchaudhary2 you will need to provide some sort of explanation for your issue. I have an app in production running on my Android10 devices working perfectly. Except for when minimizing the app which the author @gcacace is aware of.