beeware / briefcase

Tools to support converting a Python project into a standalone native application.
https://briefcase.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
2.48k stars 352 forks source link

Fix macOS camera / microphone / photo library permissions #1820

Closed gtm19 closed 1 month ago

gtm19 commented 1 month ago

Problem

Built macOS app crashed when camera access was requested, due to the fact that (whilst the Entitlements.plist was being updated properly) the expected info was not being added to Info.plist

This PR fixes this issue by ensuring that, when the user provides permissions.camera, permissions.microphone, or permissions.photo_library, the messages are added to Info.plist under the relevant property key.

Changes

PR Checklist: