Skip to content

Commit 4fb1ba1

Browse files
author
Pavel Grechikhin
committed
Fix location monitor
1 parent 4b25ea2 commit 4fb1ba1

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,5 @@ fastlane/test_output
8888
# https://github.com/johnno1962/injectionforxcode
8989

9090
iOSInjectionProject/
91+
92+
README~.md

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ Wrapper for Apple `CoreLocation` framework with new Concurency Model. No more `d
1111
##### SPM
1212
```swift
1313
dependencies: [
14-
.package(url: "https://github.com/AsyncSwift/AsyncLocationKit.git", .upToNextMinor(from: "1.6.1"))
14+
.package(url: "https://github.com/AsyncSwift/AsyncLocationKit.git", .upToNextMinor(from: "1.6.2"))
1515
]
1616
```
1717

1818
#### Cocoapods
1919
```
20-
pod 'AsyncLocationKit', :git => 'https://github.com/AsyncSwift/AsyncLocationKit.git', :tag => '1.6.1'
20+
pod 'AsyncLocationKit', :git => 'https://github.com/AsyncSwift/AsyncLocationKit.git', :tag => '1.6.2'
2121
```
2222

2323

Sources/AsyncLocationKit/AsyncLocationKit.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222

2323
import Foundation
2424

25-
public let version: String = "1.5.3"
25+
public let version: String = "1.6.2"

Sources/AsyncLocationKit/AsyncLocationManager.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ public final class AsyncLocationManager {
235235
let performer = RegionMonitoringPerformer(region: region)
236236
return RegionMonitoringStream { streamContinuation in
237237
performer.linkContinuation(streamContinuation)
238+
proxyDelegate.addPerformer(performer)
238239
locationManager.startMonitoring(for: region)
239240
streamContinuation.onTermination = { @Sendable _ in
240241
self.proxyDelegate.cancel(for: performer.uniqueIdentifier)

0 commit comments

Comments
 (0)