mapbox / mapbox-navigation-ios

Turn-by-turn navigation logic and UI in Swift on iOS
https://docs.mapbox.com/ios/navigation/
Other
861 stars 310 forks source link

[Bug]: 'navigationMapView' is inaccessible due to 'internal' protection level mapbox ios react native #4542

Closed satyamrathor16 closed 10 months ago

satyamrathor16 commented 1 year ago

Mapbox Navigation SDK version

2.14.0

Steps to reproduce

I am implementing the mapbox ios sdk for the react native and trying to implement the Transition from free-drive to turn-by-turn navigation and following the document but I am getting an error of "'navigationMapView' is inaccessible due to 'internal' protection level". please check the below image url. https://drive.google.com/file/d/1bOTFGoNIq-2A6gpTumiuyMmyt1MFDMJN/view?usp=sharing

Expected behavior

The method should accessible from the other file.

Actual behavior

The function is not able to access.

Is this a one-time issue or a repeatable issue?

repeatable

kried commented 10 months ago

Hi

The property navigationMapView is defined as public in NavigationView. Please check if you copy the example correctly.