Can't get skia and reanimated to work together #868
-
I'm trying to do a very simple animation (rotate and scale) on a set of icons depending on which button was pressed and has active state. On my local I get this error when trying to apply the transitions On the snack I get no such errors but nothing happens either way. Can someone please help me with this. Is the problem my implementation? This is the snack - https://snack.expo.dev/@francot/skia-and-reanimated- The code for the component.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
The code looks good. is the issue only on RN web? or also on iOS and/or Android? |
Beta Was this translation helpful? Give feedback.
-
It looks like you fixed your issue? (the snack works well?) |
Beta Was this translation helpful? Give feedback.
-
No. I just realised, looking at the snack code, that what I pasted there was not the version that is giving me the issue. I fixed the snack with the correct code but on the snack I don't have the error I get on my local (bare RN) project. as soon as I try to use the animated values from skia I get the above (screenshot) error.
|
Beta Was this translation helpful? Give feedback.
No. I just realised, looking at the snack code, that what I pasted there was not the version that is giving me the issue. I fixed the snack with the correct code but on the snack I don't have the error I get on my local (bare RN) project.
as soon as I try to use the animated values from skia I get the above (screenshot) error.