Hello I'm using react-native-sketch-canvas in my app and it's working perfectly well in android device, but in IOS device "onPathsChange" & "onSketchSaved" method is not working. Both methods are perfectly running in android devices but in IOS nothing happing not even display console log.
Hello I'm using react-native-sketch-canvas in my app and it's working perfectly well in android device, but in IOS device "onPathsChange" & "onSketchSaved" method is not working. Both methods are perfectly running in android devices but in IOS nothing happing not even display console log.
Version information....
react-native: "0.66.1" @terrylinla/react-native-sketch-canvas: "^0.8.0"
My code is :- <RNSketchCanvas ref={frontImageRef} containerStyle={{ backgroundColor: 'transparent', flex: 1, overflow: 'hidden', // height: 200, }} canvasStyle={{ backgroundColor: 'transparent', overflow: 'hidden', height: BaseSetting.nHeight / 1.5, width: BaseSetting.nWidth / 1.9, alignSelf: 'center', }} defaultStrokeIndex={2} strokeWidth={brushSize} onPathsChange={pathsCount => { console.log('onPathsChange ===========>', pathsCount); setFrontPathCount(pathsCount); }} onSketchSaved={(success, filePath) => { console.log( 'onSketchSaved ===========>', success, filePath, ); onCaptureFront(); }} />
May I did any Mistake? What Can i do to fix it. Please Help me. Thank you