Skip to content

Commit

Permalink
Use $(APP_DISPLAY_NAME) in camera and microphone usage descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanceriu committed Jun 13, 2023
1 parent dfab0a1 commit a85b313
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ElementX/SupportingFiles/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<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>
<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>
<string>Allows saving photos and videos to your library.</string>
<key>NSUserActivityTypes</key>
Expand Down
4 changes: 2 additions & 2 deletions ElementX/SupportingFiles/target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ targets:
NSUserActivityTypes: [
INSendMessageIntent
]
NSCameraUsageDescription: To take pictures or videos and send them as a message Element X needs access to the camera.
NSMicrophoneUsageDescription: To take videos with audio and send them as a message Element X needs access to the microphone.
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 $(APP_DISPLAY_NAME) needs access to the microphone.
NSPhotoLibraryAddUsageDescription: Allows saving photos and videos to your library.
UIBackgroundModes: [
fetch
Expand Down

0 comments on commit a85b313

Please sign in to comment.