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

Support Camera View in Simulator #56

Merged
merged 3 commits into from
Apr 5, 2022

Conversation

ksylvest
Copy link
Contributor

Context

Our automated test suite runs often opens cameras. This runs in the simulator, and isn't properly supported. It causes issues for a few reasons:

  1. The camera crashes if interacted with.
  2. The camera prompts for a global system dialog permissions.

This fixes by making our simulator capture fake (cyan) square image every time.

Demo

Screen.Recording.2022-03-30.at.7.00.47.PM.mov

@ksylvest ksylvest changed the title [Debugging] Support Camera View in Simulator [CI] Support Camera View in Simulator Mar 31, 2022
@ksylvest ksylvest force-pushed the ksylvest/support-camera-view-in-simulator branch 2 times, most recently from fc7d94d to 8177847 Compare March 31, 2022 16:11
@ksylvest ksylvest force-pushed the ksylvest/support-camera-view-in-simulator branch from 8177847 to a12be14 Compare March 31, 2022 16:31
@ksylvest ksylvest changed the title [CI] Support Camera View in Simulator Support Camera View in Simulator Mar 31, 2022
@ksylvest ksylvest requested a review from litso March 31, 2022 16:43
@ksylvest ksylvest merged commit 6a865b8 into master Apr 5, 2022
@ksylvest ksylvest deleted the ksylvest/support-camera-view-in-simulator branch April 5, 2022 21:47
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