Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NavNative v124.0.1 #4333

Merged
merged 8 commits into from Jan 27, 2023
Merged

NavNative v124.0.1 #4333

merged 8 commits into from Jan 27, 2023

Conversation

S2Ler
Copy link
Contributor

@S2Ler S2Ler commented Jan 16, 2023

Description

Android counter-part: mapbox/mapbox-navigation-android#6833

TODO:

  • Update changelog

@mapbox-github-ci-issues-public-1

API compatibility report for MapboxCoreNavigation: 🔴

Removed Decls

  • EnumElement RoadName.code has been removed
  • EnumElement RoadName.name has been removed

Moved Decls

  • Enum RoadName has been changed to a Struct

@mapbox-github-ci-issues-public-1

API compatibility report for MapboxCoreNavigation: 🔴

Removed Decls

  • EnumElement RoadName.code has been removed
  • EnumElement RoadName.name has been removed

Moved Decls

  • Enum RoadName has been changed to a Struct

@codecov
Copy link

codecov bot commented Jan 17, 2023

Codecov Report

Merging #4333 (fca548b) into main (c55cb67) will increase coverage by 0.06%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4333      +/-   ##
==========================================
+ Coverage   60.59%   60.65%   +0.06%     
==========================================
  Files         189      189              
  Lines       21115    21115              
==========================================
+ Hits        12795    12808      +13     
+ Misses       8320     8307      -13     
Impacted Files Coverage Δ
...oxNavigation/CarPlayNavigationViewController.swift 45.02% <0.00%> (ø)
...ources/MapboxNavigation/InstructionPresenter.swift 83.60% <0.00%> (ø)
Sources/MapboxNavigation/JunctionView.swift 19.23% <0.00%> (ø)
.../MapboxNavigation/VisualInstructionComponent.swift 83.33% <0.00%> (ø)
...ces/MapboxNavigation/TopBannerViewController.swift 29.50% <0.00%> (+2.08%) ⬆️
.../MapboxNavigation/BottomBannerViewController.swift 75.45% <0.00%> (+4.54%) ⬆️

@S2Ler S2Ler force-pushed the s2ler/update-dependencies branch 3 times, most recently from d9011e4 to cd49dcb Compare January 17, 2023 05:58
CHANGELOG.md Show resolved Hide resolved
@S2Ler S2Ler marked this pull request as ready for review January 17, 2023 13:21
@S2Ler S2Ler requested a review from a team January 17, 2023 13:22
.breakage-allowlist Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
@kried kried self-requested a review January 26, 2023 13:27
NavNative breaking changes in RoadName structure required adaptation
on SDK side. As part of this: RoadName and Shield was updated to match
native side.
@kried kried self-assigned this Jan 26, 2023
@kried kried marked this pull request as draft January 26, 2023 16:33
@kried kried changed the title NavNative v124 NavNative v124.0.1 Jan 26, 2023
@kried kried requested review from azarovalex and removed request for SevaZhukov January 26, 2023 20:35
@@ -1027,7 +1027,7 @@ open class CarPlayNavigationViewController: UIViewController, BuildingHighlighti
if let cachedImage = ImageRepository.shared.cachedImageForKey(cacheKey) {
return cachedImage
} else {
guard case let .guidanceView(guidanceViewImageRepresentation, _, _) = guidanceView,
guard case let .guidanceView(guidanceViewImageRepresentation, _) = guidanceView,
Copy link
Contributor

Choose a reason for hiding this comment

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

We rollbacked Directions changes, so we need to rollback it also in SDK

@@ -56,7 +64,6 @@
* Fixed an issue where the route progress could be incorrectly calculated for folding back route steps. ([#4234](https://github.com/mapbox/mapbox-navigation-ios/pull/4234))
* `NavigationView.init(frame:tileStoreLocation:navigationMapView:)`, `NavigationView.navigationMapView`, `NavigationView.floatingStackView`, `NavigationView.floatingButtons`, `NavigationView.wayNameView`, `NavigationView.speedLimitView`, `NavigationView.topBannerContainerView` and `NavigationView.bottomBannerContainerView` are now publicly accessible. ([#4249](https://github.com/mapbox/mapbox-navigation-ios/pull/4249))
* Fixed an issue where empty intersections of the current step could cause a crash. ([#4260](https://github.com/mapbox/mapbox-navigation-ios/pull/4260))
* Fixed an issue where `RouteProgress.currentLegProgress.currentStepProgress.userDistanceToUpcomingIntersection` could be incorrectly calculated for folding back route steps. ([#4268](https://github.com/mapbox/mapbox-navigation-ios/pull/4268))
Copy link
Contributor

Choose a reason for hiding this comment

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

It was not included in 2.10.0, so I moved it to 2.11.0

@kried kried marked this pull request as ready for review January 26, 2023 21:03
/// The shield text.
public let name: String

/// The shield text color.
Copy link
Contributor

Choose a reason for hiding this comment

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

We should probably expand how color is described into a string. Is it it's name, hex string or else? Probably event convert to UIColor?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I asked NavNative. It is just a strong with color name like "white"

Copy link
Contributor

Choose a reason for hiding this comment

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

I updated the comment in similar way to Directions

@kried kried merged commit e791324 into main Jan 27, 2023
@kried kried deleted the s2ler/update-dependencies branch January 27, 2023 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants