mapbox-navigation-android
mapbox-navigation-android copied to clipboard
Mapbox Navigation SDK for Android
### Description Resolves https://github.com/mapbox/mapbox-navigation-android/issues/6154 Defining an api for search that works simple and by default. This adds the `CarPlaceSearchOptions` as something that can be overridden so that we can declare...
Closes [#1911](https://github.com/mapbox/navigation-sdks/issues/1911) ### Description Changes: - Introduced new`NavigationViewApi` methods: `startFreeDrive`, `startRoutePreview`, `startNavigation`, `startArrival` and `endNavigation`. - Refactored `NavigationViewApi` into abstract class and hid its implementation in `MapboxNavigationViewApi` - Updated _libnavui-dropin_...
### Description Closes https://github.com/mapbox/mapbox-navigation-android/issues/6138 by trimming the route parsing cache to the size of the new collection of routes, instead of clearing it entirely. This still correctly evicts the route...
optimize vanishing line updates when going through restrictions and legs aren't styled independently
### Description https://github.com/mapbox/mapbox-navigation-android/issues/6167 describes an issue of using the full extracted route data LRU cache, which key is based on the full hash of the `DirectionsRoute`. The cache lookup is...
### Description Fixes the snapshot name generator to respect pre-releases and only increment the version name on stable releases.
### Description - Bumps NN, Maps and Common dependency versions to `112.0.0`, [`10.8.0-beta.1`](https://github.com/mapbox/mapbox-maps-android/releases/tag/v10.8.0-beta.1) and `23.0.0-beta.1` respectively
While working on https://github.com/mapbox/mapbox-navigation-android/pull/6168 run into the following runtime crash 💥 ``` 2022-08-15 13:36:56.694 32381-32381/com.mapbox.navigation.qa_test_app E/AndroidRuntime: FATAL EXCEPTION: main Process: com.mapbox.navigation.qa_test_app, PID: 32381 java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException:...
Our `androidauto-test` CI job sometimes hangs on the "Wait for the emulator to start" step, for example, https://app.circleci.com/pipelines/github/mapbox/mapbox-navigation-android/18440/workflows/9f801840-15e2-408c-915f-600532400462/jobs/85880 (waited for ~1.5hr and had to cancel). cc @kmadsen
### Description Fixes #6119.
Whenever the `MapboxRouteLineApi` needs to update the vanishing point (`MapboxRouteLineApi#updateTraveledRouteLine`), `MapboxRouteLineOptions#styleInactiveRouteLegsIndependently` is enabled, and the route goes through a visualized restricted section, the API needs to extract the full parsed...