fix: CLAuthorizationStatus order and values (#6338)

Based on https://developer.apple.com/documentation/corelocation/clauthorizationstatus
This commit is contained in:
Zdravko
2018-10-08 11:19:46 +03:00
committed by Alexander Vakrilov
parent ae6a661ecd
commit 7456a83f3c

View File

@@ -17,12 +17,12 @@ declare const enum CLAuthorizationStatus {
kCLAuthorizationStatusRestricted = 1,
kCLAuthorizationStatusDenied = 2,
kCLAuthorizationStatusAuthorized = 3,
kCLAuthorizationStatusAuthorizedAlways = 3,
kCLAuthorizationStatusAuthorizedAlways = 4,
kCLAuthorizationStatusAuthorizedWhenInUse = 4,
kCLAuthorizationStatusAuthorized = 3
kCLAuthorizationStatusAuthorizedWhenInUse = 5
}
declare class CLBeacon extends NSObject implements NSCopying, NSSecureCoding {