Unverified Commit 2b376c92 authored by Stefan Mitterrutzner's avatar Stefan Mitterrutzner Committed by GitHub

Merge pull request #209 from DP-3T/develop

1.2.1 version to master
parents b526c663 9644676a
# Changelog for DP3T-SDK iOS
## Version 1.2.1 (31.08.2020)
- ensures that backgroundtask keeps running until outstandingPublishOperation is finished
## Version 1.2.0 (26.08.2020)
- resolves keychain issue with iOS 14
- adds iOS 14 info.plist entries for calibration app
......
......@@ -2,7 +2,7 @@
Pod::Spec.new do |spec|
spec.name = "DP3TSDK"
spec.version = ENV['LIB_VERSION'] || '1.2.0'
spec.version = ENV['LIB_VERSION'] || '1.2.1'
spec.summary = "Open protocol for COVID-19 proximity tracing using Bluetooth Low Energy on mobile devices"
spec.description = <<-DESC
......
......@@ -74,7 +74,7 @@ DP3T-SDK is available through [Cocoapods](https://cocoapods.org/)
```ruby
pod 'DP3TSDK', => '1.2.0'
pod 'DP3TSDK', => '1.2.1'
```
......
......@@ -186,19 +186,20 @@ class DP3TSDK {
OperationQueue().addOperation(outstandingPublishOperation)
let sync = {
var storedResult: SyncResult?
// Skip sync when tracing is not active
if self.state.trackingState != .active {
self.log.error("Skip sync when tracking is not active")
callback?(.skipped)
return
storedResult = .skipped
} else {
group.enter()
self.synchronizer.sync { result in
storedResult = result
group.leave()
}
}
group.enter()
var storedResult: SyncResult?
self.synchronizer.sync { result in
storedResult = result
group.leave()
}
group.notify(queue: .main) { [weak self] in
guard let self = self else { return }
switch storedResult! {
......
......@@ -28,7 +28,7 @@ private var instance: DP3TSDK!
/// DP3TTracing
public enum DP3TTracing {
/// The current version of the SDK
public static let frameworkVersion: String = "1.2.0"
public static let frameworkVersion: String = "1.2.1"
/// sets global parameter values which are used throughout the sdk
public static var parameters: DP3TParameters {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment