Skip to content

Commit

Permalink
Merge pull request #175 from situmtech/release/0.16.1
Browse files Browse the repository at this point in the history
Release/0.16.1
  • Loading branch information
fsvilas committed Nov 7, 2022
2 parents b7a0b21 + 0a9e43e commit e169997
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
All non released changes should be in CHANGELOG_UNRELEASED.md file

---------
## [0.16.1] - 2022-11-07
### Changed:
- Improvements in the calculation of time to goal and arrival expected time whe the user request a route to a point.

## [0.16.0] - 2022-11-03
### Added:
- Added onNavigationStarted method to OnNavigationListener to notify when all route calculation are finished and the navigation starts.
Expand Down
4 changes: 2 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ PODS:
- SitumSDK (2.54.2):
- Protobuf (~> 3.7)
- SSZipArchive (~> 2.4)
- SitumWayfinding (0.16.0):
- SitumWayfinding (0.16.1):
- Google-Maps-iOS-Utils (~> 4.1.0)
- GoogleMaps (~> 4.2.0)
- SitumSDK (~> 2.54.2)
Expand All @@ -53,7 +53,7 @@ SPEC CHECKSUMS:
GoogleMaps: eb03e327edfd70b06de1e6e321653f73712df7ad
Protobuf: 02524ec14183fe08fb259741659e79683788158b
SitumSDK: 62e0823dfd0aaba52f3fa5aa720e4515b97bd598
SitumWayfinding: b232c8cd13701c875dbc4ead249c67eef8ef73c6
SitumWayfinding: f8b4dcb3aefdcf1711cfdded8cf24c4bf1e75236
SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef

PODFILE CHECKSUM: 181eb894514efe3e0119ec84dae5349934aaaa20
Expand Down
2 changes: 1 addition & 1 deletion SitumWayfinding.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'SitumWayfinding'
s.version = '0.16.0'
s.version = '0.16.1'
s.summary = 'Indoor Location for iOS.'
s.static_framework = true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ class InfoBarNavigationViewController: UIViewController {
self.setLoadingState()
self.timeRemainingLabel.text = progress.currentIndication.humanReadableMessage()
} else {
self.timeRemainingLabel.text = self.formatTime(time: progress.timeToGoal)
self.distanceRemainingLabel.text = self.formatDistance(distance: progress.timeToGoal)
self.estimatedTimeLabel.text = self.calculateEstimatedTime(timeToGoal: progress.timeToGoal)
self.timeRemainingLabel.text = self.formatTime(time: progress.improvedTimeToGoal)
self.distanceRemainingLabel.text = self.formatDistance(distance: progress.distanceToGoal)
self.estimatedTimeLabel.text = self.calculateEstimatedTime(timeToGoal: progress.improvedTimeToGoal)
}
}

Expand Down Expand Up @@ -112,3 +112,12 @@ class InfoBarNavigationViewController: UIViewController {
return formatter.string(from: goalTime)
}
}

//TODO: This has to be deleted when this change is added to the sdk
extension SITNavigationProgress {
var improvedTimeToGoal: Float {
get {
return timeToGoal/1.4
}
}
}
2 changes: 1 addition & 1 deletion scripts/framework.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
frameworkVersion=0.16.0
frameworkVersion=0.16.1

0 comments on commit e169997

Please sign in to comment.