Skip to content

Return type mismatch #8118

@kaloyanxoxo

Description

@kaloyanxoxo

What happened?

When I try to build on Android, I receive this error:

Return type mismatch: expected 'com.facebook.react.bridge.NativeModule?', actual 'com.reactnativenavigation.react.NavigationTurboModule?

Displayed log message:

node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/react/NavigationPackage.kt:17:16 Return type mismatch: expected 'com.facebook.react.bridge.NativeModule?', actual 'com.reactnativenavigation.react.NavigationTurboModule?'.

What was the expected behaviour?

I expected the Android to build successfully

Was it tested on latest react-native-navigation?

  • I have tested this issue on the latest react-native-navigation release and it still reproduces.

Help us reproduce this issue!

Add wix/react-native-navigation as shown in their documentation

In what environment did this happen?

React Native Navigation version: 8.3.2
React Native version: 0.77.3
Has Fabric (React Native's new rendering system) enabled: (yes/no) Yes
Node version: 20.18.0
Device model: Any Android
Android version:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions