Skip to content

Fix macOS camera / microphone / photo library permissions#1820

Merged
freakboy3742 merged 7 commits intobeeware:mainfrom
gtm19:fix-macos-photo-permissions
May 21, 2024
Merged

Fix macOS camera / microphone / photo library permissions#1820
freakboy3742 merged 7 commits intobeeware:mainfrom
gtm19:fix-macos-photo-permissions

Conversation

@gtm19
Copy link
Contributor

@gtm19 gtm19 commented May 21, 2024

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:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

Copy link
Member

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've got a minor tweak to the release note; but otherwise, this looks great!

@freakboy3742 freakboy3742 merged commit 7ffbb0a into beeware:main May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants