From d40e86cdbf64a5f5d3a67f412e3ed03ffa6e81e2 Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Wed, 9 Oct 2024 11:55:15 +0200 Subject: [PATCH] Update contacts use message location based on Apple comments --- Classes/Utils/FastAddressBook.m | 2 +- linphone-Info.plist | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Classes/Utils/FastAddressBook.m b/Classes/Utils/FastAddressBook.m index c007f19d7..530ac9974 100644 --- a/Classes/Utils/FastAddressBook.m +++ b/Classes/Utils/FastAddressBook.m @@ -218,7 +218,7 @@ LOGD(@"CNContactStore authorization granted"); dispatch_async(dispatch_get_main_queue(), ^{ if (bctbx_list_size(linphone_core_get_account_list(LC)) == 0 && ![LinphoneManager.instance lpConfigBoolForKey:@"use_rls_presence_requested"]) { - [SwiftUtil requestRLSPresenceAllowance]; + //[SwiftUtil requestRLSPresenceAllowance]; } }); NSError *contactError; diff --git a/linphone-Info.plist b/linphone-Info.plist index 8b3e9df4e..39bbd29bf 100644 --- a/linphone-Info.plist +++ b/linphone-Info.plist @@ -103,7 +103,8 @@ NSCameraUsageDescription Share photos with your friends and customize avatars NSContactsUsageDescription - Make calls with your friends + To improve your experience, we’ll store your contacts' phone numbers to show you which friends are using the app. Your data will be securely stored and only used according to our Privacy Policy. +You can disable this at any time. NSLocalNetworkUsageDescription Stream audio and video through the local network NSLocationWhenInUseUsageDescription