[Android 10] MediaStore entry is deleted, but the image file is not
jsericksk opened this issue · comments
Jesus Ericks commented
When a SecurityException is thrown in Android 10, the MediaStore entry is deleted after the user allows the image to be deleted, however the file itself remains. The image can be seen in a file manager or even after a while, in some gallery apps or when restarting the phone.
Jesus Ericks commented
Add android:requestLegacyExternalStorage="true"
in AndroidManifest and request WRITE_EXTERNAL_STORAGE permission.