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(camera): avoid error if image has no orientation #554

Merged
merged 1 commit into from
Aug 17, 2021

Conversation

jcesarmobile
Copy link
Member

On Android <24 an error is thrown on the correctOrientationOlder method if the image has no orientation information.

Since we are using AndroidX's ExifInterface we no longer need the correctOrientationOlder because AndroidX is supposed to be backward compatible, so should be handling this already.

I've verified that the error is no longer shown on my android 5 device.

@jcesarmobile jcesarmobile merged commit dc8a55a into main Aug 17, 2021
@jcesarmobile jcesarmobile deleted the correct-orientation-old branch August 17, 2021 15:39
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