-
Notifications
You must be signed in to change notification settings - Fork 584
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 12.6.1: Error: Getting '$$typeof' from binding before it was injected, js engine: hermes #6522
Comments
➤ PM Bot commented: Jira ticket: RJS-2746 |
Thank you for creating the issue. This is most likely related to Realm: We recently changed the way we initialise our binding to the Realm Core database and this error is thrown when this binding is accessed before it gets injected. To help us debug this, we'd love to know more about your setup.
|
Im with the same issue, im using expo but bare-workflow and the error is thrown as soon as i open the app. Here are my babel and metro configs: metro: babel:
|
Hi! having the same issue. Similar configuration with the difference that in the metro config we have:
|
Hey, after some investigation the problem for me was an npm upgrade that changed A LOT of dependencies versions at my package-lock. I simply reverted the commit and npm installed again, now its working as it should. The file is 18000 lines long so I will not be pasting it here but if yall need something also i will do what I can. |
Our configuration can be found here (its FOSS): /~https://github.com/BlueWallet/BlueWallet we reverted to 12.6.0 Interesting that our android e2e passed on CI - I suppose this is because this error is not causing a crash, just a red screen, which can be closed, and on production build its not displayed at all |
@Overtorment I tried cloning your BlueWallet repo (on the commit before downgrading Realm) but I can't get it to build on Android: This is what I get when I open the project in Android Studio:
Simply running
I then tried iOS but hit BlueWallet/rn-ldk#47. I also tried an Expo app, but without success and none of our test apps display this behaviour either 🤔 I do believe to have a fix ready for this particular case (I hope to be able to merge and release this early next week), but I would love to be able to reproduce this issue to understand why it happens and verify that it's actually solved for your particular setup. |
We just released v12.6.2 with a fix for this - please help us verify that this solves the issue. And thanks again for bringing it to our attention! 💙 |
It seems alright for me now, i updated again and its working! |
@kraenhansen just fyi, your build said its successfull, it just could notlaunch the app on the emulator. just switchto emulator and tap the icon to run the app. i will testthis fix, thanks |
How frequently does the bug occur?
Always
Description
After updating from 12.6.0 to 12.6.1 got this very weird
Cant even google it. Also not sure if its realm to blame or some caching issues (did reasonable attempts to purge all caches)
Stacktrace & log output
No response
Can you reproduce the bug?
Always
Reproduction Steps
No response
Version
12.6.1
What services are you using?
Local Database only
Are you using encryption?
Yes
Platform OS and version(s)
Android
Build environment
Which debugger for React Native: ..
Cocoapods version
No response
The text was updated successfully, but these errors were encountered: