Description
On what kind of device are you using this library?
- Android
- iOS
- Web
Environment
- OS: IOS 15.5
- react-native: 0.66.3
- @benjeau/react-native-draw: 0.8.3
Current Behavior
Cannot draw on the Canvas and keep on getting the error: [ReferenceError: Can't find variable: t] for each touch events.
Expected Behavior
be able to draw
Steps To Reproduce
-
set up new typescript RN template
npx react-native init draw --template [email protected]
-
install all the dependences
npm i react-native-gesture-handler react-native-svg @benjeau/react-native-draw
-
install pod
cd ios && pod install && cd ..
-
add
<GestureHandlerRootView>
wrapper at App.tsx -
import "react-native-gesture-handler"
in both App.tsx and index.js -
modifiy App.tsx so that it matches the example
-
npm run ios
Anything else?
I have been reading all the documents again and again and I believe I followed every instructions.
I even tried going to the example package.json to copy all the dependencies and versions but that error still occurs.
Please help