Closed farrakhj closed 3 years ago
Thank you for reporting this @farrakhj
@iamutkarshtiwari Any update at this thread?
@farrakhj How did u got it for andorid 10 i am having this -> https://github.com/iamutkarshtiwari/Ananas/issues/89
This was fixed in this commit https://github.com/iamutkarshtiwari/Ananas/pull/94 Please feel free to re-open this ticket if the issue persists.
Can you kindly explicitly explain the change for #87 issue?
@farrakhj Until previous versions, I was using legacy way of loading images from mediastore database into a custom grid view. Since Android enforced scoped storage from Android 10 onwards, Ananas users started experiencing crash when picking images from gallery on devices >= Android 10.
That's why you had to use android:requestExternalLegacyStorage
to make it work on 10 which was available shortly for backward compatibility and was removed later in 11.
As android:requestExternalLegacyStorage is removed from Android 11 and after 1st of May we will not be able to upload apk/aab to play console. So after removing android:requestExternalLegacyStorage will Ananas work on android 10 and onwards? If users not experience crash than what is the change in code?
@farrakhj I have tested the latest version on Android 10 and 11 without android:requestExternalLegacyStorage
. Works just fine. I'd recommend you to try as well。
Hello everyone,
Anyone started at migration of code to Android 11(R) target SDK? For Android 10(Q) we are using Manifest Tag android:requestLegacyExternalStorage="true" but for Android 11(R) target SDK it will not work.
Regards, Farrakh