fix(ios): restore locationServicesEnabled() guard in currentPermissions
The global Location Services check was inadvertently dropped when switching to appModel.locationAuthorizationStatus(). Without it the gateway can advertise location as usable while system-wide Location Services are off.
This commit is contained in:
parent
46faaac4b2
commit
c8ab0ae7be
@ -895,6 +895,7 @@ final class GatewayConnectionController {
|
||||
if let appModel = self.appModel {
|
||||
permissions["location"] = Self.isLocationAuthorized(
|
||||
status: appModel.locationAuthorizationStatus())
|
||||
&& CLLocationManager.locationServicesEnabled()
|
||||
}
|
||||
permissions["screenRecording"] = RPScreenRecorder.shared().isAvailable
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user