diff --git a/.gitignore b/.gitignore index cd00854..2d0cf54 100644 --- a/.gitignore +++ b/.gitignore @@ -88,3 +88,5 @@ fastlane/test_output # https://github.com/johnno1962/injectionforxcode iOSInjectionProject/ + +README~.md diff --git a/README.md b/README.md index 7b572bf..793504d 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,13 @@ Wrapper for Apple `CoreLocation` framework with new Concurency Model. No more `d ##### SPM ```swift dependencies: [ - .package(url: "https://github.com/AsyncSwift/AsyncLocationKit.git", .upToNextMinor(from: "1.6.1")) + .package(url: "https://github.com/AsyncSwift/AsyncLocationKit.git", .upToNextMinor(from: "1.6.2")) ] ``` #### Cocoapods ``` -pod 'AsyncLocationKit', :git => 'https://github.com/AsyncSwift/AsyncLocationKit.git', :tag => '1.6.1' +pod 'AsyncLocationKit', :git => 'https://github.com/AsyncSwift/AsyncLocationKit.git', :tag => '1.6.2' ``` diff --git a/Sources/AsyncLocationKit/AsyncLocationKit.swift b/Sources/AsyncLocationKit/AsyncLocationKit.swift index eff8603..367f341 100644 --- a/Sources/AsyncLocationKit/AsyncLocationKit.swift +++ b/Sources/AsyncLocationKit/AsyncLocationKit.swift @@ -22,4 +22,4 @@ import Foundation -public let version: String = "1.5.3" +public let version: String = "1.6.2" diff --git a/Sources/AsyncLocationKit/AsyncLocationManager.swift b/Sources/AsyncLocationKit/AsyncLocationManager.swift index ff98df0..224d8e3 100644 --- a/Sources/AsyncLocationKit/AsyncLocationManager.swift +++ b/Sources/AsyncLocationKit/AsyncLocationManager.swift @@ -235,6 +235,7 @@ public final class AsyncLocationManager { let performer = RegionMonitoringPerformer(region: region) return RegionMonitoringStream { streamContinuation in performer.linkContinuation(streamContinuation) + proxyDelegate.addPerformer(performer) locationManager.startMonitoring(for: region) streamContinuation.onTermination = { @Sendable _ in self.proxyDelegate.cancel(for: performer.uniqueIdentifier)