-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Android crash on shims import #1519
Comments
We are getting the same issue. It crashes on import. |
I'm getting the same issue. It crashes on Android (real devices) when import shims. |
The error cannot be caught? What is the error that occurs (in the OS or anywhere) if any? I will back out the changes. It sounds like it probably isn’t helping the case where the OS doesn’t support Korean anyways. |
@ricmoo No it cannot be caught as it crashes the whole application (not throws a javascript error). The whole JavscriptCore engine crashes and the app is killed immediately by the OS. You can see a crashdump if you adb logcat but I am not around an android device currently. EDIT: I did also try hacking the shims node module to put a try catch around the line but it doesn't work because it's an entire engine crash. |
Fixed in 5.3.0. I'll have to continue trying to find a way to solve not being able to detect Hangul normalize crashes Android some other way. :s |
Describe the bug
Whilst running the shims checks on android the following line causes an entire app crash on a real android device (javascriptcore crash). Works fine in the IOS simulator and works fine if you use hermes
Even if I import unorm from npm package prior to loading the shim the same issue still occurs
Reproduction steps
see above
Environment:
React Native v0.63 (react-native-get-random-values and node-libs-browser)
The text was updated successfully, but these errors were encountered: