You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing the package running the build command it fails.
When the app already runs the package works and its a very great package, can you guys fix it?
Commands: npm install react-native-gesture-handler npx react-native run-android
Error message: node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/core/GestureHandlerOrchestrator.kt:597:45 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'com.swmansion.gesturehandler.core.GestureHandler<*>?'.
So i was working with the new beta Kotlin version, because I had kotlinVersion = "+" for now the hack fixing a version worked for me.
Hope this can help someone. kotlinVersion = "1.8.10"
Description
After installing the package running the build command it fails.
When the app already runs the package works and its a very great package, can you guys fix it?
Commands:
npm install react-native-gesture-handler npx react-native run-android
Error message:
node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/core/GestureHandlerOrchestrator.kt:597:45 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'com.swmansion.gesturehandler.core.GestureHandler<*>?'.
Steps to reproduce
npm install react-native-gesture-handler
npx react-native run-android
More:
"react": "18.2.0",
"react-native": "0.72.0",
Snack or a link to a repository
none
Gesture Handler version
2.15.0
React Native version
0.72.0
Platforms
Android
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: