-
Notifications
You must be signed in to change notification settings - Fork 585
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
iOS - Can't find variable: globalThis #4350
Comments
Impressive 🙂 I think this is only possible if we load before the runtime globals gets set? |
I'm amazed as well. I've only seen one user with this issue with an old device, so perhaps a slow start and a race condition? The user still managed to trigger the issue 4 times, and then probably gave up. The issue also happens right when importing realm: Could it be related to |
@cristianoccazinsp Thanks for reporting -- we'll look into it. Please let us know if you dig out more information. |
"jsc-android": "^250230.2.1" solved issue for me, as i was having issue in android |
@laxminarayan192 What version of |
It appears |
I was using |
@cristianoccazinsp I created a PR that might solve the issue. Unfortunately, I do not have a good way to test this. |
Although, the ipad mini mentioned above does have the ability to upgrade to 12.5, which would also fix the issue |
It's not easy to tell users to upgrade their ancient devices :D |
@cristianoccazinsp That is true 😆 A fix is on the way. |
➤ Franck Franck commented: Fixed by #4388 |
@takameyer @kraenhansen I seem to be seeing the same crash logs with Realm
|
@cristianoccazinsp I believe this was released with |
@takameyer we have released a new version using
Device: iPhone SE, iOS 12.0 |
Hey @cristianoccazinsp, sorry to hear you are still having issues. I'm going to try Realm out on a device with iOS 11 to see if I can reproduce the issue and I'll let you know how it goes. |
I was able to reproduce this on iOS 11, so will investigate further tomorrow. |
Thanks for the quick review! |
Hey @cristianoccazinsp, I think that's a coincidence, from what I can see this would just 100% not work on iOS 11 (which I tested on) and from the sounds of things 12. I've got a fix in review, so hopefully we can get that into the next Hermes branch release (which is currently blocked on some test issues but we are working to resolve those this week) |
@cristianoccazinsp We've closed this issue for now. If the fix merged in the |
@fronck what beta version can this fix be found at? |
Description
Using
10.20.0-alpha.2
(but without actually using Hermes on iOS), reported the above crash for a user right on app startup.Stacktrace & log output
The text was updated successfully, but these errors were encountered: