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: Use ThreadScope::WithClassLoader to access custom JNI fields #141

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

mrousavy
Copy link
Member

@mrousavy mrousavy commented Jan 30, 2024

Uses ThreadScope::WithClassLoader instead of just a normal ThreadScope so that we also have access to the custom JNI classes that might have been created by the application.

The normal ThreadScope just has access to everything that has been loaded by the System before.

Fixes mrousavy/react-native-vision-camera#1791

@mrousavy mrousavy merged commit a7480c3 into main Jan 30, 2024
5 checks passed
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.

🐛 V3 runAsync doesn't work
1 participant