React-Native Version: 0.71.4
"@homee/react-native-mapbox-navigation": "^1.1.0",
"@rnmapbox/maps": "^10.0.6".
In my project, there is a requirement to use map and turn-by-turn navigation together.
After some fixes, ios worked fine.
In android side, fixed some issues and finally got issue for
Duplicate class com.mapbox.android.core.location.LocationEngine found in modules jetified-common-23.5.0-runtime (com.mapbox.common:common:23.5.0) and jetified-mapbox-android-core-5.0.0-runtime (com.mapbox.mapboxsdk:mapbox-android-core:5.0.0)
Duplicate class com.mapbox.android.core.location.LocationEngineCallback found in modules jetified-common-23.5.0-runtime (com.mapbox.common:common:23.5.0) and jetified-mapbox-android-core-5.0.0-runtime (com.mapbox.mapboxsdk:mapbox-android-core:5.0.0)
Duplicate class com.mapbox.android.core.location.LocationEngineProvider found in modules jetified-common-23.5.0-runtime (com.mapbox.common:common:23.5.0) and jetified-mapbox-android-core-5.0.0-runtime (com.mapbox.mapboxsdk:mapbox-android-core:5.0.0)
Duplicate class com.mapbox.android.core.location.LocationEngineRequest found in modules jetified-common-23.5.0-runtime (com.mapbox.common:common:23.5.0) and jetified-mapbox-android-core-5.0.0-runtime (com.mapbox.mapboxsdk:mapbox-android-core:5.0.0)
Duplicate class com.mapbox.android.core.location.LocationEngineRequest$1 found in modules jetified-common-23.5.0-runtime (com.mapbox.common:common:23.5.0) and jetified-mapbox-android-core-5.0.0-runtime (com.mapbox.mapboxsdk:mapbox-android-core:5.0.0).
This issue was fixed by changing ode_modules/@homee/react-native
-mapbox-navigation/android/build.gradle'
implementation ('com.mapbox.navigation:core:1.5.0',{
exclude group: "com.mapbox.mapboxsdk", module: "mapbox-android-core"
})
implementation ('com.mapbox.navigation:ui:1.5.0',{
exclude group: "com.mapbox.mapboxsdk", module: "mapbox-android-core"
})
.Then the duplicate issue solved.
But after this when we took the MapboxNavigation in screen, the map is not showing. Even the buttons are not working.

Is there any solution for this?
React-Native Version: 0.71.4
"@homee/react-native-mapbox-navigation": "^1.1.0",
"@rnmapbox/maps": "^10.0.6".
In my project, there is a requirement to use map and turn-by-turn navigation together.
After some fixes, ios worked fine.
In android side, fixed some issues and finally got issue for
Duplicate class com.mapbox.android.core.location.LocationEngine found in modules jetified-common-23.5.0-runtime (com.mapbox.common:common:23.5.0) and jetified-mapbox-android-core-5.0.0-runtime (com.mapbox.mapboxsdk:mapbox-android-core:5.0.0)
Duplicate class com.mapbox.android.core.location.LocationEngineCallback found in modules jetified-common-23.5.0-runtime (com.mapbox.common:common:23.5.0) and jetified-mapbox-android-core-5.0.0-runtime (com.mapbox.mapboxsdk:mapbox-android-core:5.0.0)
Duplicate class com.mapbox.android.core.location.LocationEngineProvider found in modules jetified-common-23.5.0-runtime (com.mapbox.common:common:23.5.0) and jetified-mapbox-android-core-5.0.0-runtime (com.mapbox.mapboxsdk:mapbox-android-core:5.0.0)
Duplicate class com.mapbox.android.core.location.LocationEngineRequest found in modules jetified-common-23.5.0-runtime (com.mapbox.common:common:23.5.0) and jetified-mapbox-android-core-5.0.0-runtime (com.mapbox.mapboxsdk:mapbox-android-core:5.0.0)
Duplicate class com.mapbox.android.core.location.LocationEngineRequest$1 found in modules jetified-common-23.5.0-runtime (com.mapbox.common:common:23.5.0) and jetified-mapbox-android-core-5.0.0-runtime (com.mapbox.mapboxsdk:mapbox-android-core:5.0.0).
This issue was fixed by changing ode_modules/@homee/react-native
-mapbox-navigation/android/build.gradle'
implementation ('com.mapbox.navigation:core:1.5.0',{
exclude group: "com.mapbox.mapboxsdk", module: "mapbox-android-core"
})
implementation ('com.mapbox.navigation:ui:1.5.0',{
exclude group: "com.mapbox.mapboxsdk", module: "mapbox-android-core"
})
.Then the duplicate issue solved.
But after this when we took the MapboxNavigation in screen, the map is not showing. Even the buttons are not working.

Is there any solution for this?