From 589d0cd3fbdacb898d8a80cb4f3436302158fc9d Mon Sep 17 00:00:00 2001 From: Mauro Romito Date: Tue, 31 Mar 2026 15:26:28 +0200 Subject: [PATCH] include the always usage location description in the info.plist --- ElementX/SupportingFiles/Info.plist | 2 ++ ElementX/SupportingFiles/target.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/ElementX/SupportingFiles/Info.plist b/ElementX/SupportingFiles/Info.plist index d0a8ac9a7..714655422 100644 --- a/ElementX/SupportingFiles/Info.plist +++ b/ElementX/SupportingFiles/Info.plist @@ -69,6 +69,8 @@ To take pictures or videos and send them as a message $(APP_DISPLAY_NAME) needs access to the camera. NSFaceIDUsageDescription Face ID is used to access your app. + NSLocationAlwaysAndWhenInUseUsageDescription + To share your live location, $(APP_DISPLAY_NAME) needs location access when the app is in the background. NSLocationWhenInUseUsageDescription Grant location access so that $(APP_DISPLAY_NAME) can share your location. NSMicrophoneUsageDescription diff --git a/ElementX/SupportingFiles/target.yml b/ElementX/SupportingFiles/target.yml index 9f9ce7119..ab118baa6 100644 --- a/ElementX/SupportingFiles/target.yml +++ b/ElementX/SupportingFiles/target.yml @@ -89,6 +89,7 @@ targets: NSMicrophoneUsageDescription: To record and send messages with audio, $(APP_DISPLAY_NAME) needs to access the microphone. NSPhotoLibraryAddUsageDescription: This lets you save images and videos to your photo library. NSLocationWhenInUseUsageDescription: Grant location access so that $(APP_DISPLAY_NAME) can share your location. + NSLocationAlwaysAndWhenInUseUsageDescription: To share your live location, $(APP_DISPLAY_NAME) needs location access when the app is in the background. NSFaceIDUsageDescription: Face ID is used to access your app. UIBackgroundModes: [ audio,