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 committed by Anthony Bilinski
parent 3d89b41e99
commit 28341d8457
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -87,6 +87,10 @@
<string>1.16.3</string> <string>1.16.3</string>
<key>NSPrincipalClass</key> <key>NSPrincipalClass</key>
<string>NSApplication</string> <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> <key>UTImportedTypeDeclarations</key>
<array> <array>
<dict> <dict>