mapbox / mapbox-directions-swift

Traffic-aware directions and map matching in Swift on iOS, macOS, tvOS, watchOS, and Linux
https://www.mapbox.com/navigation/
ISC License
178 stars 87 forks source link

Route notifications #807

Open Udumft opened 1 year ago

Udumft commented 1 year ago

Adds parsing 'beta' parameters regarding requesting and receiving route notifications about restrictions violations.

codecov[bot] commented 1 year ago

Codecov Report

Merging #807 (7b12dc2) into main (9714ec6) will increase coverage by 0.37%. The diff coverage is 96.17%.

:exclamation: Current head 7b12dc2 differs from pull request most recent head 4dc99c4. Consider uploading reports for the commit 4dc99c4 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #807      +/-   ##
==========================================
+ Coverage   84.26%   84.63%   +0.37%     
==========================================
  Files          59       60       +1     
  Lines        4888     5045     +157     
==========================================
+ Hits         4119     4270     +151     
- Misses        769      775       +6     
Impacted Files Coverage Δ
Sources/MapboxDirections/AttributeOptions.swift 86.58% <60.00%> (-1.73%) :arrow_down:
Sources/MapboxDirections/RouteNotification.swift 97.22% <97.22%> (ø)
Sources/MapboxDirections/RouteLeg.swift 87.55% <100.00%> (+0.42%) :arrow_up: