Skip to content
Closed
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
3 changes: 3 additions & 0 deletions changelog/unreleased/features/6871.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Added custom header x-mapbox-app-info to requests.
- Fix upcoming route alerts incorrect position.
- Stabilized routes with alternatives refresh / re-route on deviate.
6 changes: 3 additions & 3 deletions gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ ext {
// version which we should use in this build
def mapboxNavigatorVersion = System.getenv("FORCE_MAPBOX_NAVIGATION_NATIVE_VERSION")
if (mapboxNavigatorVersion == null || mapboxNavigatorVersion == '') {
mapboxNavigatorVersion = '123.2.0'
mapboxNavigatorVersion = '123.3.1'
}
println("Navigation Native version: " + mapboxNavigatorVersion)

version = [
mapboxMapSdk : '10.10.0',
mapboxMapSdk : '10.10.1',
mapboxSdkServices : '6.10.0',
mapboxNavigator : "${mapboxNavigatorVersion}",
mapboxCommonNative : '23.2.1',
mapboxCommonNative : '23.2.2',
mapboxCrashMonitor : '2.0.0',
mapboxAnnotationPlugin : '0.8.0',
mapboxBaseAndroid : '0.8.0',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import com.mapbox.navigation.testing.ui.utils.runOnMainSync
import kotlinx.coroutines.flow.first
import org.junit.Assert.assertEquals
import org.junit.Before
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
import java.net.URI
Expand Down Expand Up @@ -55,7 +54,6 @@ class UpcomingRouteObjectsTest : BaseTest<EmptyTestActivity>(EmptyTestActivity::
}

@Test
@Ignore("waiting for the NN fix, see NN-449")
fun distanceToIncidentDoesNotChangeAfterAddingNewWaypointOnTheRouteGeometry() = sdkTest {
val (oneLegRoute, twoLegsRoute, incidentId) =
getRoutesFromTheSameOriginButDifferentWaypointsCount()
Expand All @@ -76,8 +74,9 @@ class UpcomingRouteObjectsTest : BaseTest<EmptyTestActivity>(EmptyTestActivity::
.first { it.roadObject.id == incidentId }

assertEquals(
upcomingIncidentForOneLeg.distanceToStart,
upcomingIncidentForTwoLegsRoute.distanceToStart
upcomingIncidentForOneLeg.distanceToStart!!,
upcomingIncidentForTwoLegsRoute.distanceToStart!!,
0.1
)
}

Expand Down