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 issue with resolving camera view in Frame Processor #928

Merged
merged 2 commits into from
Mar 28, 2022

Conversation

cjanietz
Copy link
Contributor

What

When a modal is used the Camera view is not in the hierarchy of the current activity.
Therefore we utilize the global React Native View registry to resolve the view instance.

Changes

Changed way how Camera view is resolved

Tested on

Android 12

Related issues

Fixes #810

@mrousavy
Copy link
Owner

Hey, thanks for your PR! LGTM 🔥🖤

@mrousavy mrousavy merged commit bea4aa8 into mrousavy:main Mar 28, 2022
@adamlbailey
Copy link

Thanks a ton for this @cjanietz. @mrousavy, would you please draft a new release for this when you get a chance? Would love to push out a new release with this fix asap. Cheers!

@linxianxi
Copy link

@mrousavy Can a new version be released as soon as possible? Thanks.

@mrousavy
Copy link
Owner

Yes @adamlbailey, I'll try to get to that as soon as I can!

isaaccolson pushed a commit to isaaccolson/deliveries-mobile that referenced this pull request Oct 30, 2024
* Fix issue with resolving camera view from frame processor for react-native Modal

* Add missing import of UIManagerHelper
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.

Error: Exception in HostFunction: com.mrousavy.camera.ViewNotFoundError🐛
4 participants