booyeu / react-native-reanimated-viewer

A high performance image viewer in react-native created from react-native-reanimated.
130 stars 12 forks source link

Crash on Android and iOS (less often) #2

Closed JuanRdBO closed 1 year ago

JuanRdBO commented 1 year ago

I have experienced a few crashes on Android and iOS. What has worked for me has been to put runOnJs(true) on the imageDragGestureY function.

Also including wrapping all the .onStart(), .onUpdate() and .onEnd() in a try-catch helped.

Here is the stacktrace: image

llr101 commented 1 year ago

Thank you for your feedback, it seems that you are using v0.2.3, can you use v1.0.1 to see if there will be a crash problem ?

llr101 commented 1 year ago

At present, there should be no flashback problem in the new version. I will temporarily close this issue. If you find there is still a problem, you can open it again at any time.