We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8b87d8 commit c74d338Copy full SHA for c74d338
permissions.mm
@@ -118,7 +118,7 @@ bool HasOpenSystemPreferencesDialog() {
118
119
// Returns a status indicating whether the user has authorized Bluetooth access.
120
std::string BluetoothAuthStatus() {
121
- if (@available(macOS 10.15.0, *)) {
+ if (@available(macOS 10.15, *)) {
122
switch ([CBCentralManager authorization]) {
123
case CBManagerAuthorizationAllowedAlways:
124
return kAuthorized;
@@ -270,6 +270,7 @@ bool HasOpenSystemPreferencesDialog() {
270
// access.
271
std::string LocationAuthStatus() {
272
switch ([CLLocationManager authorizationStatus]) {
273
+ case kCLAuthorizationStatusAuthorized:
274
case kCLAuthorizationStatusAuthorizedAlways:
275
276
case kCLAuthorizationStatusDenied:
0 commit comments