Open yuchendong1996 opened 11 months ago
same problem
@yuchendong1996 You need to concat image uri with 'file://' to get it open in case of iOS. For example if the uri is like this "/private/var/mobile/Containers/Data/Application/8BF06247-0054-4801-B747-2BCD407A67A6/tmp/react-native-image-crop-picker/DE98896D-7A6E-406A-8D82-C179F39CF0E2.jpg".
then it'll fail. It should look like "file:///private/var/mobile/Containers/Data/Application/8BF06247-0054-4801-B747-2BCD407A67A6/tmp/react-native-image-crop-picker/DE98896D-7A6E-406A-8D82-C179F39CF0E2.jpg"
Moreover the editor is somehow not applying the edits in debug mode. Do test your application in release mode as well.
Hope this fix the issue you’re facing
I can't launch image editor in IOS simulator. I had add pod in Podfile and run pod install. But when I call ImageEditor.open, The program will get stuck there and the .then will not be called My react native version: 0.71.0