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

Use portal to request access to camera #234

Open
marbetschar opened this issue Jun 3, 2022 · 0 comments · May be fixed by #238
Open

Use portal to request access to camera #234

marbetschar opened this issue Jun 3, 2022 · 0 comments · May be fixed by #238

Comments

@marbetschar
Copy link
Member

marbetschar commented Jun 3, 2022

What Happened?

Instead of using --device=all in the Flatpak manifest, we should ask the user for permission to access the camera and microphone using org.freedesktop.impl.portal.Access

Steps to Reproduce

  1. Start Camera app
  2. It instantly activates the camera - or fails silently in case there is no camera available

Expected Behavior

  1. Start Camera app
  2. The app should check if it has the required permissions and the needed hardware is available
  3. If permissions are missing, we should ask the user to allow access to the hardware
  4. If anything goes wrong, we should display a meaningful message / placeholder so the user knows why the app is not capable to do its job

OS Version

7.x (Early Access)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant