Hello, i have the following problem on IOS devices:
When using .openCamera and .openPicker the first attempt works as expected, it opens the camera or the image library, but when i close it and try to open a second time it just freezes and nothing happens. It works fine on android devices. Help will be appreciated.
Solution 1:
It works fine when i put the .openCamera or .openPicker in a setTimeout with 500ms, but i don't think thats a good solution.
Tell us which versions you are using:
Tell us to which platform this issue is related
Open freshly installed app on an IOS device.
Open camera or photo library and take or choose a photo.
Try to open camera or photo library again.
I was troubleshooting the same issue. We had an additional action-sheet UI before calling .openPicker API, which makes the picker UI invisible.
Waiting 500ms partially solved this problem, but we chose to disable that action-sheet.
Hope we have a better solution.
Hello, I found the underlying reason of the problem thanks to Sentry.
“C0FFDCC1-47D0-4180-B263-A77A5F0739C0.jpg” couldn’t be copied to “tmp” because an item with the same name already exists.
Most helpful comment
I was troubleshooting the same issue. We had an additional action-sheet UI before calling .openPicker API, which makes the picker UI invisible.
Waiting 500ms partially solved this problem, but we chose to disable that action-sheet.
Hope we have a better solution.