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

Better orientation management for iOS #2183

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

blancham
Copy link
Contributor

What

When you give an orientation prop to VisionCamera, the Preview is reloaded every time it's updated. This causes a flicker when you tilt your device (when switching from portrait to landscape for example).

Changes

I changed the logic to apply the orientation only when we effectively take a photo or start recording a video.

Tested on

iPhone 13 Pro Max

Related issues

Copy link

vercel bot commented Nov 20, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-vision-camera ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 20, 2023 8:34am
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant