1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(osx): Add camera and microphone usage description.

NSCameraUsageDescription and NSMicrophoneUsageDescription are needed on
newer macOS versions (10.14+) to get access to camera/microphone. This
text is shown to the user when they need to press the "allow" button.
This commit is contained in:
iphydf 2020-04-16 15:44:11 +00:00
parent 2fe1918083
commit 5f1338dd78
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -87,6 +87,10 @@
<string>1.16.3</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSCameraUsageDescription</key>
<string>$(PRODUCT_NAME) needs access to the camera for video calls.</string>
<key>NSMicrophoneUsageDescription</key>
<string>$(PRODUCT_NAME) needs access to the microphone for audio calls.</string>
<key>UTImportedTypeDeclarations</key>
<array>
<dict>