homeeondemand / react-native-mapbox-navigation

A navigation UI ready to drop into your React Native application
MIT License
162 stars 123 forks source link

iOS fatal error #55

Open zoolle opened 3 years ago

zoolle commented 3 years ago

While trying to initialise the navigator I get the following in Xcode 13

MapboxCoreNavigation/NavigationEventsManager.swift:85: Fatal error: Unexpectedly found nil while unwrapping an Optional value

func start() {
        let userAgent = usesDefaultUserInterface ? "mapbox-navigation-ui-ios" : "mapbox-navigation-ios"
      Line 85 >>>>>  mobileEventsManager.initialize(withAccessToken: accessToken, userAgentBase: userAgent, hostSDKVersion: String(describing: Bundle.mapboxCoreNavigation.object(forInfoDictionaryKey: "CFBundleShortVersionString")!))
        mobileEventsManager.disableLocationMetrics()
        mobileEventsManager.sendTurnstileEvent()
    }

After that kills the app