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: iOS launchCamera opens camera with black background (#2024) #2089

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Reisclef
Copy link

@Reisclef Reisclef commented Feb 28, 2023

  • Explain the motivation for making this change.
  • Provide a test plan demonstrating that the code is solid.
  • Match the code formatting of the rest of the codebase.
  • Target the main branch, NOT a "stable" branch.

Motivation (required)

Fixes #2024

Test Plan (required)

See #2024 for replication steps. Effectively, no new code has been written, but instead, code has been moved from launchImagePicker that specifically related to camera. This also fixes the issue where the camera was being launched without permission. The below image shows the result of clicking "Take Image" and not allowing the permission.
Screenshot 2023-02-28 at 13 01 03

Copy link

@ivosw ivosw left a comment

Choose a reason for hiding this comment

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

Working as expected.

Copy link

@superaaronhu superaaronhu left a comment

Choose a reason for hiding this comment

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

Tested it and work as expected on iOS device when switch the camera permission in settings and go back, please merge

@Reisclef
Copy link
Author

Thanks for the reviews and approvals, and I'm glad to hear it's working. Wish I could merge, but unfortunately it's still needing a review from someone with write access. I'll be more than happy to see this merged. :)

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.

[🐛] iOS launchCamera doesn't return permission error code , just opens camera with black background
4 participants