Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ workflows:
- assemble-instrumentation-test-internal
- assemble-androidauto-test
- assemble-app-mincompile
- assemble-qa-test-app
- assemble-android-auto-app
- changelog-verification:
filters:
branches:
Expand Down Expand Up @@ -409,6 +411,18 @@ commands:
name: Assemble Navigation UI SDK (release)
command: make assemble-ui-release

assemble-qa-test-app:
steps:
- run:
name: Assemble qa-test-app (both NDK 23 and NDK 27 variants)
command: make assemble-qa-test-app

assemble-android-auto-app:
steps:
- run:
name: Assemble assemble-android-auto-app (both NDK 23 and NDK 27 variants)
command: make assemble-android-auto-app

assemble-old-deps-compat-release:
parameters:
additional_gradle_parameters:
Expand Down Expand Up @@ -799,6 +813,22 @@ jobs:
inject_token: true
- write-workspace

assemble-qa-test-app:
executor: ndk-r22-latest-executor
resource_class: medium+
steps:
- checkout
- restore-gradle-cache
- assemble-qa-test-app

assemble-android-auto-app:
executor: ndk-r22-latest-executor
resource_class: medium+
steps:
- checkout
- restore-gradle-cache
- assemble-android-auto-app

assemble-instrumentation-test-internal:
executor: ndk-r22-latest-executor
resource_class: medium+
Expand Down
58 changes: 26 additions & 32 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3752,7 +3752,7 @@ License: [The Apache Software License, Version 2.0](http://www.apache.org/licens
===========================================================================

Mapbox Navigation uses portions of the Activity Kotlin Extensions (Kotlin extensions for 'activity' artifact).
URL: [https://developer.android.com/jetpack/androidx/releases/activity#1.2.3](https://developer.android.com/jetpack/androidx/releases/activity#1.2.3)
URL: [https://developer.android.com/jetpack/androidx/releases/activity#1.2.0](https://developer.android.com/jetpack/androidx/releases/activity#1.2.0)
License: [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)

===========================================================================
Expand Down Expand Up @@ -3835,12 +3835,6 @@ License: [The Apache Software License, Version 2.0](http://www.apache.org/licens

===========================================================================

Mapbox Navigation uses portions of the Android Lifecycle Process.
URL: [https://developer.android.com/jetpack/androidx/releases/lifecycle#2.4.0](https://developer.android.com/jetpack/androidx/releases/lifecycle#2.4.0)
License: [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)

===========================================================================

Mapbox Navigation uses portions of the Android Lifecycle Runtime.
URL: [https://developer.android.com/jetpack/androidx/releases/lifecycle#2.4.0](https://developer.android.com/jetpack/androidx/releases/lifecycle#2.4.0)
License: [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)
Expand All @@ -3860,7 +3854,7 @@ License: [The Apache Software License, Version 2.0](http://www.apache.org/licens
===========================================================================

Mapbox Navigation uses portions of the Android Lifecycle ViewModel Kotlin Extensions (Kotlin extensions for 'viewmodel' artifact).
URL: [https://developer.android.com/jetpack/androidx/releases/lifecycle#2.3.1](https://developer.android.com/jetpack/androidx/releases/lifecycle#2.3.1)
URL: [https://developer.android.com/jetpack/androidx/releases/lifecycle#2.3.0](https://developer.android.com/jetpack/androidx/releases/lifecycle#2.3.0)
License: [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)

===========================================================================
Expand Down Expand Up @@ -3974,7 +3968,7 @@ License: [The Apache Software License, Version 2.0](http://www.apache.org/licens
===========================================================================

Mapbox Navigation uses portions of the Android Support Library fragment (The Support Library is a static library that you can add to your Android application in order to use APIs that are either not available for older platform versions or utility APIs that aren't a part of the framework APIs. Compatible on devices running API 14 or later.).
URL: [https://developer.android.com/jetpack/androidx/releases/fragment#1.4.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.4.0)
URL: [https://developer.android.com/jetpack/androidx/releases/fragment#1.3.6](https://developer.android.com/jetpack/androidx/releases/fragment#1.3.6)
License: [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)

===========================================================================
Expand Down Expand Up @@ -4028,13 +4022,13 @@ License: [The Apache Software License, Version 2.0](http://www.apache.org/licens
===========================================================================

Mapbox Navigation uses portions of the Android WorkManager Kotlin Extensions.
URL: [https://developer.android.com/jetpack/androidx/releases/work#2.7.1](https://developer.android.com/jetpack/androidx/releases/work#2.7.1)
URL: [https://developer.android.com/jetpack/androidx/releases/work#2.7.0](https://developer.android.com/jetpack/androidx/releases/work#2.7.0)
License: [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)

===========================================================================

Mapbox Navigation uses portions of the Android WorkManager Runtime (Android WorkManager runtime library).
URL: [https://developer.android.com/jetpack/androidx/releases/work#2.7.1](https://developer.android.com/jetpack/androidx/releases/work#2.7.1)
URL: [https://developer.android.com/jetpack/androidx/releases/work#2.7.0](https://developer.android.com/jetpack/androidx/releases/work#2.7.0)
License: [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)

===========================================================================
Expand Down Expand Up @@ -4080,7 +4074,7 @@ License: [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt)
===========================================================================

Mapbox Navigation uses portions of the Core Kotlin Extensions (Kotlin extensions for 'core' artifact).
URL: [https://developer.android.com/jetpack/androidx/releases/core#1.7.0](https://developer.android.com/jetpack/androidx/releases/core#1.7.0)
URL: [https://developer.android.com/jetpack/androidx/releases/core#1.6.0](https://developer.android.com/jetpack/androidx/releases/core#1.6.0)
License: [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)

===========================================================================
Expand All @@ -4092,7 +4086,7 @@ License: [The Apache Software License, Version 2.0](http://www.apache.org/licens
===========================================================================

Mapbox Navigation uses portions of the Fragment Kotlin Extensions (Kotlin extensions for 'fragment' artifact).
URL: [https://developer.android.com/jetpack/androidx/releases/fragment#1.4.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.4.0)
URL: [https://developer.android.com/jetpack/androidx/releases/fragment#1.3.0](https://developer.android.com/jetpack/androidx/releases/fragment#1.3.0)
License: [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)

===========================================================================
Expand Down Expand Up @@ -4122,7 +4116,7 @@ License: [The Apache Software License, Version 2.0](http://www.apache.org/licens
===========================================================================

Mapbox Navigation uses portions of the Gson.
License: [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)
License: [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0.txt)

===========================================================================

Expand Down Expand Up @@ -4221,7 +4215,7 @@ License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos)

Mapbox Navigation uses portions of the Mapbox Android Core SDK.
URL: [https://github.com/mapbox/mapbox-sdk](https://github.com/mapbox/mapbox-sdk)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Expand Down Expand Up @@ -4275,13 +4269,13 @@ License: [BSD](https://opensource.org/licenses/BSD-2-Clause)

Mapbox Navigation uses portions of the Mapbox Maps SDK.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Mapbox Navigation uses portions of the Mapbox Maps SDK Base.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Expand Down Expand Up @@ -4394,91 +4388,91 @@ License: [The Apache Software License, Version 2.0](http://www.apache.org/licens

Mapbox Navigation uses portions of the Telemetry for the Mapbox Maps SDK.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Mapbox Navigation uses portions of the The android auto extension for the Mapbox Maps SDK for Android.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Mapbox Navigation uses portions of the The annotation module for the Mapbox Maps SDK.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Mapbox Navigation uses portions of the The attribution module for the Mapbox Maps SDK.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Mapbox Navigation uses portions of the The camera animation module for the Mapbox Maps SDK for Android.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Mapbox Navigation uses portions of the The compass module for the Mapbox Maps SDK.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Mapbox Navigation uses portions of the The gestures module for the Mapbox Maps SDK for Android.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Mapbox Navigation uses portions of the The location component module for the Mapbox Maps SDK for Android.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Mapbox Navigation uses portions of the The logo module for the Mapbox Maps SDK for Android.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Mapbox Navigation uses portions of the The map lifecycle module for the Mapbox Maps SDK for Android.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Mapbox Navigation uses portions of the The map localization module for the Mapbox Maps SDK for Android.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Mapbox Navigation uses portions of the The map overlay module for the Mapbox Maps SDK for Android.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Mapbox Navigation uses portions of the The scalebar module for the Mapbox Maps SDK for Android.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Mapbox Navigation uses portions of the The style extension for the Mapbox Maps SDK for Android.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Mapbox Navigation uses portions of the The viewport module for the Mapbox Maps SDK.
URL: [https://github.com/mapbox/mapbox-maps-android](https://github.com/mapbox/mapbox-maps-android)
License: [BSD](https://opensource.org/licenses/BSD-2-Clause)
License: [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/)

===========================================================================

Expand Down
17 changes: 14 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,12 @@ ui-unit-tests-release-jacoco:
.PHONY: publish-local
publish-local:
./gradlew publishToMavenLocal
./gradlew publishToMavenLocal -x libnavui-androidauto:mapboxSDKRegistryUpload -PndkMajor=27
./gradlew publishToMavenLocal -PndkMajor=27

.PHONY: upload-to-sdk-registry-snapshot
upload-to-sdk-registry-snapshot:
./gradlew mapboxSDKRegistryUpload -Psnapshot=true
./gradlew mapboxSDKRegistryUpload -x libnavui-androidauto:mapboxSDKRegistryUpload -Psnapshot=true -PndkMajor=27
./gradlew mapboxSDKRegistryUpload -Psnapshot=true -PndkMajor=27

.PHONY: upload-to-sdk-registry
upload-to-sdk-registry:
Expand All @@ -199,7 +199,8 @@ publish-to-sdk-registry:

.PHONY: upload-to-sdk-registry-androidauto
upload-to-sdk-registry-androidauto:
./gradlew libnavui-androidauto:mapboxSDKRegistryUpload;
./gradlew libnavui-androidauto:mapboxSDKRegistryUpload
./gradlew libnavui-androidauto:mapboxSDKRegistryUpload -PndkMajor=27

.PHONY: publish-to-sdk-registry-androidauto
publish-to-sdk-registry-androidauto:
Expand Down Expand Up @@ -257,3 +258,13 @@ update-metalava:
car:
adb forward tcp:5277 tcp:5277
cd $(ANDROID_HOME)/extras/google/auto/ && ./desktop-head-unit

.PHONY: assemble-qa-test-app
assemble-qa-test-app:
./gradlew :qa-test-app:assembleDebug
./gradlew :qa-test-app:assembleDebug -PndkMajor=27

.PHONY: assemble-android-auto-app
assemble-android-auto-app:
./gradlew :android-auto-app:assembleDebug
./gradlew :android-auto-app:assembleDebug -PndkMajor=27
9 changes: 2 additions & 7 deletions android-auto-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,7 @@ android {
dependencies {
// Mapbox Navigation Android Auto SDK
implementation project(':libnavui-androidauto')

// This example is used for development so it may depend on unstable versions.
// Examples based on final versions can be found in the examples repository.
// https://github.com/mapbox/mapbox-navigation-android-examples
implementation("com.mapbox.navigation:ui-dropin:2.10.3")
implementation("com.mapbox.search:mapbox-search-android:1.0.0-rc.1")
implementation project(':libnavui-dropin')

// Dependencies needed for this example.
implementation dependenciesList.androidXCore
Expand All @@ -84,4 +79,4 @@ dependencies {
implementation dependenciesList.androidXFragment
implementation dependenciesList.androidXLifecycleLivedata
implementation dependenciesList.androidXLifecycleRuntime
}
}
1 change: 1 addition & 0 deletions changelog/unreleased/features/7922.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Added support for Android Auto module that supports Android 16 KB page-size devices. To consume SDK compatible with NDK 27 you need to add `-ndk27` suffix to the artifact name, for example, `com.mapbox.navigation:ui-androidauto` -> `com.mapbox.navigation:ui-androidauto-ndk27`
16 changes: 12 additions & 4 deletions gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ ext {
mapboxCrashMonitor : '2.0.0',
mapboxAnnotationPlugin : '0.8.0',
mapboxBaseAndroid : '0.8.0',
mapboxMapsAndroidAuto : '0.5.0',
mapboxSearchAndroidAuto : '1.0.0-rc.1',
mapboxMapsAndroidAuto : '0.6.1',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you have a chance to verify the Nav SDK AA with this version?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it works as before

Screen.Recording.2025-10-24.at.18.36.20.mov

androidXLifecycle : "${androidXLifecycleVersion}",
androidXCoreVersion : '1.6.0',
androidXArchCoreVersion : '2.1.0',
Expand Down Expand Up @@ -88,8 +87,7 @@ ext {
mapboxSdkRefreshModels : "com.mapbox.mapboxsdk:mapbox-sdk-directions-refresh-models:${version.mapboxSdkServices}",
mapboxNavigator : "com.mapbox.navigator:mapbox-navigation-native$ndkVersionSuffix:${version.mapboxNavigator}",
mapboxCommonNative : "com.mapbox.common:common$ndkVersionSuffix:${version.mapboxCommonNative}",
mapboxMapsAndroidAuto : "com.mapbox.extension:maps-androidauto:${version.mapboxMapsAndroidAuto}",
mapboxSearchAndroidAuto : "com.mapbox.search:mapbox-search-android:${version.mapboxSearchAndroidAuto}",
mapboxMapsAndroidAuto : "com.mapbox.extension:maps-androidauto$ndkVersionSuffix:${version.mapboxMapsAndroidAuto}",

/**
* explicitly define Mapbox OkHttp dependency so that we are sure it's in sync with the Common SDK version we define
Expand Down Expand Up @@ -227,4 +225,14 @@ ext {
mapboxNativeDownload : "com.mapbox.gradle.plugins:native-download:${pluginVersion.mapboxNativeDownload}",
firebaseCrashlytics : "com.google.firebase:firebase-crashlytics-gradle:${pluginVersion.firebaseCrashlytics}"
]

androidAutoVersions = [
mapboxSearch : '1.5.0',
mapboxNavigation: '2.21.0'
]

androidAutoDependencies = [
mapboxSearch : "com.mapbox.search:mapbox-search-android$ndkVersionSuffix:${androidAutoVersions.mapboxSearch}",
mapboxNavigation: "com.mapbox.navigation:android$ndkVersionSuffix:${androidAutoVersions.mapboxNavigation}"
]
}
Loading