homeeondemand / react-native-mapbox-navigation

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

Upgrade iOS and Android Mapbox SDK to version 2 #68

Closed gciluffo closed 2 years ago

gciluffo commented 2 years ago

This PR upgrades the Mapbox Navigation SDK for iOS to 2.1.0 and 2.0.0 for Android.

The Android Mapbox Navigation SDK for version 2.X.X no longer supports the drop in UI as mentioned here: https://docs.mapbox.com/android/navigation/guides/migrate-to-v2/#navigationview-was-removed. So this PR implements a fully customizable UI for Android.

Everything will function the same except the prop endOfRouteFeedback will not work Android for now. If we want to support the feedback functionality we will need to create our own UI for this as this was removed from the drop in UI Mapbox supported for Android in previous versions.