Tried to synchronously call function {w} from a different thread - React Native Reanimated

Viewed 19

I have a problem with runOnJS in my swipe function. All the time Im gets error:

java.lang.RuntimeException: Tried to synchronously call function {w} from a different thread.

Im gets the error in panGesture function when its called finishAnimation.

Code is here:

https://pastebin.com/YaQs4bN6
1 Answers
Related