Open alainib opened 2 months ago
I'm not sure this library is compatible with reanimated version 3 according to the readme it only supports v1 & v2.
@JDMathew we also tested
@gorhom/bottom-sheet | 5.0.0-alpha.9 react-native | 0.73.5 react-native-reanimated | 3.10.0 react-native-gesture-handler | 2.16.1
reanimated V2 works only with reactnative 0.71 and lower https://docs.swmansion.com/react-native-reanimated/docs/guides/compatibility/
Our app is getting crashed too. We are getting the below error:
Error: [Reanimated] Native part of Reanimated doesn't seem to be initialized
When we remove the code for @gorhom/bottom-sheet, app starts running fine.
Environment Info: @gorhom/bottom-sheet | 5.0.0-alpha.9 and 4.6.1 react-native | 0.74.0 react-native-reanimated | 3.11.0 react-native-gesture-handler | 2.16.2
did you found a way to fix it ? i switched to Modalize
@MuhammadMuzammilQadri @gorhom do you have an idea how to fix this please ?
@gorhom/bottom-sheet 4.6.3 react-native | 0.74.2 react-native-reanimated | 3.12.0 react-native-gesture-handler | 2.16.2
CppException: Cannot read property '__workletHash' of undefined
TypeError: Cannot read property '__workletHash' of undefined
at isWorkletFunction (JavaScript:1:49)
at runOnJS (JavaScript:1:308)
at setupConsole (JavaScript:1:147)
at anonymous (JavaScript:1:163)
at apply (native)
at anonymous (JavaScript:1:65)
i already have import "react-native-gesture-handler";
in my entry point
Bug
since i added this package and reanimated my app crash on opening on both IOS & Android, i'm not able to fix this after lot's of test
Environment info
Steps To Reproduce
app work on debug mode but crash on IOS & Android
i triple checked reanimated setup, i have done the step in
babel.config.js
andpod install
Reproducible sample code
i have this error even with basic example from here
https://ui.gorhom.dev/components/bottom-sheet/usage