react-native-image-crop-picker
react-native-image-crop-picker copied to clipboard
[iOS] openPicker() fail with E_NO_IMAGE_DATA_FOUND after select an image
Version
- react-native-image-crop-picker v0.35.1
- react-native v0.62.2
Platform
iOS
Expected behaviour
ImagePicker.openPicker() should return the selected image information.
Actual behaviour
ImagePicker.openPicker() failed with error E_NO_IMAGE_DATA_FOUND after selecting an image
This only happened to a small part of iOS devices of our customers. We still don’t know what caused this.
Steps to reproduce
It’s hard to reproduce. We cannot reproduce it in-house currently. All we got is customers’ complains and error code collected from their devices.
-
call ImagePicker.openPicker() and select an image
-
On some devices, it will failed with E_NO_IMAGE_DATA_FOUND
@howg0924 Did you solved it?
@lunajing No, I don't know how to solve it yet. Do you encounter the same problem? Have any idea what caused this?
Duplicate of https://github.com/ivpusic/react-native-image-crop-picker/issues/1538
@HugoGresse This is not an duplicate of #1538. #1538 is on Android. And I encountered the problem on iOS. I guess these two issues have different causes on native side.
hmm, you're right, I believe the issue is with .heic, at this on the Camera side :/ Using Compatibility mode solved this but is not a long term solution.
@HugoGresse how di you resolve the issue?
I believe the latest release fix this issue. I've not yet confirmed with my users though. https://github.com/ivpusic/react-native-image-crop-picker/pull/792
it seems some users still have the issue, though I cannot find why it is happening.
This should probably need more attention. Is does impact many users on our side.
This issue also occurred on v0.40.0, react-native 0.72.4. It occurred on iPad with software version 15.7.