Android only: after installing the package the build fails, when the app already runs the package works and its great
Fransch97 opened this issue · 4 comments
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
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
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"
same issue , i don't want to downgrade kotlin version