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

Patching for making Scandit work with RN New Arch Interop #16

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

realsoelynn
Copy link

@realsoelynn realsoelynn commented Dec 5, 2024

Override didUpdateReactSubviews in RNTSparkScanViewWrapper to bring up SparkScan subview.

The reason is when there's update in UI from react side happen, React View will be remounted again which results in SparkScan view to be pushed down in the view hierarchy. Overriding in didUpdateReactSubviews to make sure it's already brought up to the top of view hierarchy.

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.

1 participant