react-native-photo-editor
react-native-photo-editor copied to clipboard
UIApplicationMain problem on IOS
Hello, When I try to use PhotoEditor on an IOS device the app crashes and I get this error in xcode :
This is my code :
item => { RNFetchBlob.config({ fileCache: true }) .fetch('GET', BASE_URL + '/Resource/' + item.uri) .then(res => { PhotoEditor.Edit({ path: res.path(), onDone: newPath =>console.log("newPath"), colors: ['red', 'black', 'cyan', 'green', 'yellow'], hiddenControls: ['crop', 'share', 'sticker'] }); }); }
P.S I thought that its a path problem so I tried the moveFile solution using RNFS but its the same issue.
I'am using react-native 0.61.5 if this can help.
Anyone knows what could be the issue please ?
+1 same issue
I had exactly the same error. After debugging it turned out that the statement photoEditor.stickers = imageStickers is causing the error (see image).