From da98d23dc6bb3fee739a18de57e050ac3f3d4538 Mon Sep 17 00:00:00 2001 From: skipp Date: Wed, 28 Apr 2021 13:01:44 +0700 Subject: [PATCH 1/5] -fixed keypath --- Sources/RxKeyPaths.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/RxKeyPaths.swift b/Sources/RxKeyPaths.swift index 254c02f..df2293e 100644 --- a/Sources/RxKeyPaths.swift +++ b/Sources/RxKeyPaths.swift @@ -14,7 +14,7 @@ extension String { static let desiredAccuracy = #keyPath(CLLocationManager.desiredAccuracy) static let pausesLocationUpdatesAutomatically = #keyPath(CLLocationManager.pausesLocationUpdatesAutomatically) static let allowsBackgroundLocationUpdates = #keyPath(CLLocationManager.allowsBackgroundLocationUpdates) - static let showsBackgroundLocationIndicator = #keyPath(CLLocationManager.showsBackgroundLocationIndicator) +// static let showsBackgroundLocationIndicator = #keyPath(CLLocationManager.showsBackgroundLocationIndicator) static let location = #keyPath(CLLocationManager.location) static let headingFilter = #keyPath(CLLocationManager.headingFilter) static let headingOrientation = #keyPath(CLLocationManager.headingOrientation) From bbe66ffb95035e474a0d29de665a65f8b93d6f89 Mon Sep 17 00:00:00 2001 From: skipp Date: Wed, 28 Apr 2021 13:03:32 +0700 Subject: [PATCH 2/5] -fix key path --- Sources/CLLocationManagerEvents+Rx.swift | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Sources/CLLocationManagerEvents+Rx.swift b/Sources/CLLocationManagerEvents+Rx.swift index 2c3747b..38c4a76 100644 --- a/Sources/CLLocationManagerEvents+Rx.swift +++ b/Sources/CLLocationManagerEvents+Rx.swift @@ -41,12 +41,7 @@ extension Reactive where Base: CLLocationManager { .map { $0 } .unwrap() } - /// Reactive Observable for `showsBackgroundLocationIndicator` - public var showsBackgroundLocationIndicator: Observable { - return self.observe(Bool.self, .showsBackgroundLocationIndicator) - .map { $0 } - .unwrap() - } + /// Reactive Observable for `location` public var location: Observable { let updatedLocation = self.didUpdateLocations.map { $1.last } From 62f396229f0fed7681188a4c036be8705b4fca23 Mon Sep 17 00:00:00 2001 From: skipp Date: Wed, 28 Apr 2021 13:11:11 +0700 Subject: [PATCH 3/5] Update RxCoreLocation.podspec --- RxCoreLocation.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RxCoreLocation.podspec b/RxCoreLocation.podspec index 1386756..940a6f5 100644 --- a/RxCoreLocation.podspec +++ b/RxCoreLocation.podspec @@ -17,8 +17,8 @@ Pod::Spec.new do |s| s.subspec "Core" do |ss| ss.source_files = "Sources/*.swift" ss.framework = "Foundation" - ss.dependency "RxSwift", "~> 6.0" - ss.dependency "RxCocoa", "~> 6.0" + ss.dependency "RxSwift", "~> 5.0" + ss.dependency "RxCocoa", "~> 5.0" end end From e79b8c3816d69883394ece537c6b203e39c74761 Mon Sep 17 00:00:00 2001 From: skipp Date: Wed, 4 Aug 2021 17:54:28 +0700 Subject: [PATCH 4/5] Update RxCoreLocation.podspec --- RxCoreLocation.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RxCoreLocation.podspec b/RxCoreLocation.podspec index 940a6f5..63fde5c 100644 --- a/RxCoreLocation.podspec +++ b/RxCoreLocation.podspec @@ -7,7 +7,7 @@ Pod::Spec.new do |s| s.social_media_url = 'https://twitter.com/bobgodwinx' s.authors = { "Obi Bob Godwin" => "bobgodwinx@gmail.com" } s.source = { :git => "https://github.com/RxSwiftCommunity/RxCoreLocation.git", :tag => s.version.to_s } - s.ios.deployment_target = '9.0' + s.ios.deployment_target = '11.0' s.osx.deployment_target = '10.10' s.watchos.deployment_target = '3.0' s.tvos.deployment_target = '9.0' From c14b975043c58943bc1d44efa03ce48c542c97ef Mon Sep 17 00:00:00 2001 From: skipp Date: Wed, 4 Aug 2021 17:57:49 +0700 Subject: [PATCH 5/5] Update RxCoreLocation.podspec update to RxSwift 6 --- RxCoreLocation.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RxCoreLocation.podspec b/RxCoreLocation.podspec index 63fde5c..7bbff0f 100644 --- a/RxCoreLocation.podspec +++ b/RxCoreLocation.podspec @@ -17,8 +17,8 @@ Pod::Spec.new do |s| s.subspec "Core" do |ss| ss.source_files = "Sources/*.swift" ss.framework = "Foundation" - ss.dependency "RxSwift", "~> 5.0" - ss.dependency "RxCocoa", "~> 5.0" + ss.dependency "RxSwift", "~> 6.0" + ss.dependency "RxCocoa", "~> 6.0" end end