Closed joseptl closed 2 months ago
@joseptl
I have encountered this issue before
This Mapbox version will work
"RNMapboxMapsVersion": "10.17.0"
@joseptl I have encountered this issue before This Mapbox version will work
"RNMapboxMapsVersion": "10.17.0"
I added that version of Mapbox to the "@rnmapbox/maps" plugin, but the error still appears. When you solved this issue, did you also assign that version of Mapbox to the @pawan-pk/react-native-mapbox-navigation library? If so, how can I do that?
Check this out. This is how I have done it
https://github.com/pawan-pk/react-native-mapbox-navigation/issues/12#issuecomment-2309303069
@joseptl Encountered the same error yesterday. When I used mapbox v11 instead of default v10 for @rnmapbox/maps, it works. This package is using navigation sdk v3 which depends on mapbox core v11. There is a dependency issue.
Hope this helps you.
@joseptl Have you resolved these issues?
Error when implementing
@pawan-pk/react-native-mapbox-navigation
with@rnmapbox/maps
Library Versions:
"@rnmapbox/maps": "^10.1.30"
"@pawan-pk/react-native-mapbox-navigation": "^0.4.0"
"expo": "~51.0.31"
"react": "18.3.1"
"react-native": "0.75.0"
Description: I tried to implement the navigation component in a project where I was already using
@rnmapbox/maps
, and I'm encountering the following errors:I suspect the issue arises because both libraries are using the same views. When I remove
@pawan-pk/react-native-mapbox-navigation
,@rnmapbox/maps
starts working, and vice versa.I would like to know how I can resolve this conflict.