mapbox / mapbox-navigation-android-examples

Other
53 stars 46 forks source link

[Android Auto] Integrate the new androidauto sdk #89

Closed kmadsen closed 2 years ago

kmadsen commented 2 years ago

New Mapbox Navigation Android Auto SDK

This is a developer preview. The entire :android-auto: module has been moved to a permanent artifact. Release notes can be found here https://github.com/mapbox/mapbox-navigation-android/releases/tag/androidauto-v0.1.0

The solution is still open source, if you need to copy-paste parts of the solution in order to support your customization, please refer to this module https://github.com/mapbox/mapbox-navigation-android/tree/main/libnavui-androidauto.

Migration guide

  1. Delete and replace the ":android-auto" module

    - implementation(project(":android-auto"))
    + implementation("com.mapbox.navigation:ui-androidauto:0.1.0")
  2. Replace com.mapbox.examples.androidauto with com.mapbox.androidauto

If you need to upgrade navigation and search SDKs

The ui-androidauto SDK comes with the latest stable navigation SDK. If you need to upgrade to a newer version, you will also need to find a search sdk with a similar Mapbox Native Common SDK.

implementation("com.mapbox.navigation:ui-androidauto:0.1.0")

implementation("com.mapbox.navigation:android:2.5.0-beta.3")
implementation("com.mapbox.search:mapbox-search-android:1.0.0-beta.29")
implementation("com.mapbox.search:mapbox-search-android-ui:1.0.0-beta.29")

Public issues 🔉

If you find issues with android auto. Please add them to the mapbox-navigation-android repository with the android-auto label https://github.com/mapbox/mapbox-navigation-android/issues?q=is%3Aopen+is%3Aissue+label%3A%22Android+Auto%22

Please upvote issues that you see that you want to have implemented.

Zayankovsky commented 2 years ago

@kmadsen you forgot to remove :android-auto module from settings.gradle.