Module '"@shopify/react-native-skia"' has no exported member 'MatrixIndex'. on version 1.8.1 #2869
Unanswered
Thanisthani
asked this question in
Q&A
Replies: 2 comments
-
@wcandillon Can you able to give me a suggestion how to fix above error |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've update the example MatrixIndex was used to the latest react native skia version, hopefully this should help. You can also have a look here: https://github.com/wcandillon/react-native-skia/blob/main/apps/paper/src/Examples/Stickers/GestureHandler.tsx#L63 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I followed the Instagram stickers tutorial "Instagram Stickers - “Can it be done in React Native?” (youtu.be)". But I got an error: Module '@shopify/react-native-skia' has no exported member 'MatrixIndex' in the MatrixHelpers.tsx file.
My setup:
React Native: 0.76
react-native-skia: 1.8.1
react-native-gesture-handler: 2.20.6
react-native-reanimated: 3.16.1
I checked the changelog and saw Skia moved from a 3x3 matrix to a 4x4 matrix. Does anyone have sample code for the latest update to handle gestures like pan, pinch, and rotate?
Beta Was this translation helpful? Give feedback.
All reactions