diff --git a/Classes/LinphoneAppDelegate.m b/Classes/LinphoneAppDelegate.m
index 88967b9b5..535c60bd4 100644
--- a/Classes/LinphoneAppDelegate.m
+++ b/Classes/LinphoneAppDelegate.m
@@ -250,17 +250,16 @@
//Starting with iOS 13, the CNCopyCurrentNetworkInfo API will no longer return valid Wi-Fi SSID and BSSID information.
//Use the CoreLocation API to request the user’s consent to access location information.
- if (@available(iOS 13.0, *)) {
+ if (@available(iOS 13.0, *)) {
CLAuthorizationStatus status = [CLLocationManager authorizationStatus];
switch(status) {
+ case kCLAuthorizationStatusDenied:
+ case kCLAuthorizationStatusRestricted:
case kCLAuthorizationStatusNotDetermined:
locationManager = [[CLLocationManager alloc]init];
locationManager.delegate = self;
[locationManager requestWhenInUseAuthorization];
break;
- case kCLAuthorizationStatusRestricted:
- case kCLAuthorizationStatusDenied:
- [[[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Warning", nil) message:NSLocalizedString(@"Location Authorization is Denied or RestricTed.", nil) delegate:nil cancelButtonTitle:NSLocalizedString(@"OK", nil) otherButtonTitles:nil, nil] show];
default:
break;
}
diff --git a/linphone-Info.plist b/linphone-Info.plist
index 05c16286e..c07fa56d0 100644
--- a/linphone-Info.plist
+++ b/linphone-Info.plist
@@ -91,7 +91,7 @@
NSContactsUsageDescription
Make calls with your friends
NSLocationWhenInUseUsageDescription
- Your location will used to detect the change of wifi
+ Linphone will not use, store or communicate your location. The authorization allows us to detect Wifi connection changes
NSMicrophoneUsageDescription
Use microphone to make audio calls
NSPhotoLibraryAddUsageDescription