wix / react-native-navigation

A complete native navigation solution for React Native
https://wix.github.io/react-native-navigation/
MIT License
13.04k stars 2.67k forks source link

React Native 0.76.x #7915

Open ertugruldogan opened 1 month ago

ertugruldogan commented 1 month ago

7905 previous topic 0.75.x

> Task :react-native-navigation:compileReactNative71DebugKotlin FAILED

0.76.x
react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/react/modal/ModalLayoutController.kt:40:16 Unresolved reference: eventDispatcher
react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/react/modal/ModalLayoutController.kt:48:12 Unresolved reference: eventDispatcher

0.75.x - 0.76.x
react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/utils/ReactViewGroup.kt:7:59 Unresolved reference: fullBorderRadius

0.75.x - 0.76.x
react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/viewcontroller/LayoutDirectionApplier.kt:11:45 Smart cast to "ReactContext" is impossible, because "instanceManager.currentReactContext" is a property that has open or custom getter
react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/viewcontroller/LayoutDirectionApplier.kt:12:45 Smart cast to "ReactContext" is impossible, because "instanceManager.currentReactContext" is a property that has open or custom getter

0.75.x - 0.76.x
react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:53:56 Type mismatch: inferred type is MotionEvent? but MotionEvent was expected
react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:53:70 Type mismatch: inferred type is EventDispatcher? but EventDispatcher was expected
react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:56:56 Type mismatch: inferred type is MotionEvent? but MotionEvent was expected
react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:56:70 Type mismatch: inferred type is EventDispatcher? but EventDispatcher was expected
react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:59:54 Type mismatch: inferred type is MotionEvent? but MotionEvent was expected
react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:59:68 Type mismatch: inferred type is EventDispatcher? but EventDispatcher was expected
react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:64:76 Unresolved reference: eventDispatcher
react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:77:45 Type mismatch: inferred type is MotionEvent? but MotionEvent was expected
react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:77:52 Type mismatch: inferred type is EventDispatcher? but EventDispatcher was expected
react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:82:45 Type mismatch: inferred type is MotionEvent? but MotionEvent was expected
react-native-navigation/lib/android/app/src/reactNative71/java/com/reactnativenavigation/react/modal/ModalContentLayout.kt:82:52 Type mismatch: inferred type is EventDispatcher? but EventDispatcher was expected

In what environment did this happen?

react-native: 0.76.x react-native-navigation: 7.40.1 java: 17 node: 22.5.1 gradle: 8.10 buildToolsVersion = "35.0.0" minSdkVersion = 24 (https://github.com/react-native-community/discussions-and-proposals/discussions/802) compileSdkVersion = 35 targetSdkVersion = 35 ndkVersion = "27.0.12077973" kotlinVersion = "2.0.20"

android\gradle.properties newArchEnabled=false RN 0.76.x by default, it comes true. hermesEnabled=true

It has only been tested for Android.

### Tasks
- [ ] https://github.com/wix/react-native-navigation/issues/7905
gusilveiramp commented 3 weeks ago

+1

gusilveiramp commented 3 weeks ago

@ertugruldogan any solution?

ertugruldogan commented 3 weeks ago

RN v0.76.1 or v0.76.2 I can get it resolved. React Native 0.75.x there may be problems, including. It seems as if React-Native-Navigation support is little sought after by the community.

MohamedAbdElNaby commented 2 weeks ago

@ertugruldogan are you solve RN V0.76.0 i upgrade from 0.75.4 to 0.76.0 the app crashed when i run it

ertugruldogan commented 2 weeks ago

@ertugruldogan are you solve RN V0.76.0 i upgrade from 0.75.4 to 0.76.0 the app crashed when i run it

Not only react-native-navigation library but also many other libraries are currently incompatible. Error details are needed. I suggest you wait for 0.76.1 and 0.76.2.

MohamedAbdElNaby commented 2 weeks ago

@ertugruldogan ok thank you

MohamedAbdElNaby commented 4 days ago

@ertugruldogan I'm reaching out to check if there have been any updates or changes regarding my issue?!