Android 10 scoped storage fix#220
Conversation
|
Bounds check was used with ImageDecoder now changed to use meta data from MediaStore to avoid reading in the image, much faster now. Added a missing function to set sample size with ImageDecoder. |
|
could you tell me if I install version 2.3.3 in ionic build, does the 2.3.3 version include the Android 10 fixed?@scr34m |
|
I'm currently using rev. master@ecf2c79366ac9a69c89a47c5799cde4205d7d9c9 so i can't tell you more. |
|
The error that no pictures can be selected actually only occurs with Android 10. Android 9 and smaller or Android 11 and larger already worked without this fix. I have retested this fix on an Android 10 (Huawei P30 lite). Would be great if this pull request could be merged. |
This change uses MediaStore interface to query camera images.
Tested in emulator on an Android 10 device, works correctly.