FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: CLAuthorizationStatus order and values (#6338) · NativeScript/NativeScript@7456a83 · GitHub

Commit 7456a83

Browse files
authored andcommitted
fix: CLAuthorizationStatus order and values (#6338)
Based on https://developer.apple.com/documentation/corelocation/clauthorizationstatus
1 parent ae6a661 commit 7456a83

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎tns-platform-declarations/ios/objc-x86_64/objc!CoreLocation.d.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ declare const enum CLAuthorizationStatus {
1717
kCLAuthorizationStatusRestricted = 1,
1818

1919
kCLAuthorizationStatusDenied = 2,
20+
21+
kCLAuthorizationStatusAuthorized = 3,
2022

21-
kCLAuthorizationStatusAuthorizedAlways = 3,
23+
kCLAuthorizationStatusAuthorizedAlways = 4,
2224

23-
kCLAuthorizationStatusAuthorizedWhenInUse = 4,
24-
25-
kCLAuthorizationStatusAuthorized = 3
25+
kCLAuthorizationStatusAuthorizedWhenInUse = 5
2626
}
2727

2828
declare class CLBeacon extends NSObject implements NSCopying, NSSecureCoding {

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL