Use $(APP_DISPLAY_NAME) in camera and microphone usage descriptions

This commit is contained in:
Stefan Ceriu
2023-06-13 17:26:05 +03:00
committed by Stefan Ceriu
parent dfab0a1cb4
commit a85b313669
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -27,9 +27,9 @@
<key>ITSAppUsesNonExemptEncryption</key> <key>ITSAppUsesNonExemptEncryption</key>
<false/> <false/>
<key>NSCameraUsageDescription</key> <key>NSCameraUsageDescription</key>
<string>To take pictures or videos and send them as a message Element X needs access to the camera.</string> <string>To take pictures or videos and send them as a message $(APP_DISPLAY_NAME) needs access to the camera.</string>
<key>NSMicrophoneUsageDescription</key> <key>NSMicrophoneUsageDescription</key>
<string>To take videos with audio and send them as a message Element X needs access to the microphone.</string> <string>To take videos with audio and send them as a message $(APP_DISPLAY_NAME) needs access to the microphone.</string>
<key>NSPhotoLibraryAddUsageDescription</key> <key>NSPhotoLibraryAddUsageDescription</key>
<string>Allows saving photos and videos to your library.</string> <string>Allows saving photos and videos to your library.</string>
<key>NSUserActivityTypes</key> <key>NSUserActivityTypes</key>
+2 -2
View File
@@ -62,8 +62,8 @@ targets:
NSUserActivityTypes: [ NSUserActivityTypes: [
INSendMessageIntent INSendMessageIntent
] ]
NSCameraUsageDescription: To take pictures or videos and send them as a message Element X needs access to the camera. NSCameraUsageDescription: To take pictures or videos and send them as a message $(APP_DISPLAY_NAME) needs access to the camera.
NSMicrophoneUsageDescription: To take videos with audio and send them as a message Element X needs access to the microphone. NSMicrophoneUsageDescription: To take videos with audio and send them as a message $(APP_DISPLAY_NAME) needs access to the microphone.
NSPhotoLibraryAddUsageDescription: Allows saving photos and videos to your library. NSPhotoLibraryAddUsageDescription: Allows saving photos and videos to your library.
UIBackgroundModes: [ UIBackgroundModes: [
fetch fetch