Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(osx): Add camera and microphone usage description.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
iphydf authored and anthonybilinski committed Apr 19, 2020
1 parent 3d89b41 commit 28341d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions osx/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 28341d8

Please sign in to comment.