Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix electron qr scan issue on mac #5569

Merged
merged 1 commit into from
Jun 12, 2021
Merged

Fix electron qr scan issue on mac #5569

merged 1 commit into from
Jun 12, 2021

Conversation

wachulski
Copy link
Contributor

Apple requires explicit ask for permissions be configured in Info.plist.

See: https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture/requesting_authorization_for_media_capture_on_macos?language=objc

Notes for the reviewer:

  1. Testing: to easily remove camera binding for Polka Desktop:
    sudo tccutil reset Camera com.polkadotjs.polkadotjs-apps
  2. yarn packElectron:mac did not work for me unless I pinned electron-builder to some specific version, see: Unable to build on windows with 22.10.5  electron-userland/electron-builder#5668

Copy link
Member

@jacogr jacogr left a comment

Choose a reason for hiding this comment

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

Thank you.

@jacogr jacogr merged commit dbd27c8 into master Jun 12, 2021
@jacogr jacogr deleted the mw-electron-qr-mac branch June 12, 2021 08:45
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Jun 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants