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

Add support to avoid mirror selfies on iOS. #2085

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

Conversation

SyedAsadAli471
Copy link

Add support to avoid mirror selfie on iOS.

motivation

  • First of all the library is really useful. But, In iOS the selfie image is mirrored and its annoying because the user wants the image as show in a live view. But after taking a picture the image is mirrored.

test plan
- Old scenario: Launch camera is iOS (Front Camera) and see the the live view and preview. The image is mirrored.
- New scenario: Launch camera is iOS (Front Camera) and see the the live view and preview. The image is not
mirrored. Also, the above PR only handles this behaviour for a selfie camera and not on a Rear camera. As, the Rear - -
camera works perfectly.

avoidMirrorSelfieIOS This prop is added and you have to pass [true] to see the changes. The end result would be a image that is not mirrored.

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.

None yet

4 participants