Skip to content

Commit

Permalink
Fixed compability.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvorobei committed Jan 1, 2022
1 parent 9d9673c commit bae86e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SPPermissions.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "SPPermissions"
s.version = "7.1.0"
s.version = "7.1.1"
s.summary = "Ask permissions with ready-use interface. You can check status permission and if it has been requested before. Support SwiftUI."
s.homepage = "https://github.com/ivanvorobei/SPPermissions"
s.source = { :git => "https://github.com/ivanvorobei/SPPermissions.git", :tag => s.version }
Expand Down
Expand Up @@ -48,7 +48,7 @@ public enum SPLocationAccuracy {
case .kilometer: return kCLLocationAccuracyKilometer
case .threeKilometers: return kCLLocationAccuracyThreeKilometers
case .reduced:
if #available(iOS 14.0, *) {
if #available(iOS 14.0, tvOS 14.0, watchOS 7.0, *) {
return kCLLocationAccuracyReduced
} else {
return kCLLocationAccuracyThreeKilometers
Expand Down

0 comments on commit bae86e3

Please sign in to comment.