-
Notifications
You must be signed in to change notification settings - Fork 577
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
RN 0.46 - Realm has no setter or ivar for it's bridge #1121
Comments
I have the same error with disabled JS debug. When js debug is on - the error is not there. (in my case it is 0.46.0rc2 |
+1 |
So, I started to use |
@javache Hey bro! You introduced changes inside So, main question can you give a good advice how to check method exists compatiblity for RN 0.46+ Currently, inside ovr@7161472 I am using Class RCTCxxBridgeClass = NSClassFromString(@"RCTCxxBridge");
if ([RCTCxxBridgeClass instancesRespondToSelector:@selector(ensureOnJavaScriptThread:)]) {
[bridge ensureOnJavaScriptThread:bridgeInitializer];
} else {
[bridge executeBlockOnJavaScriptThread:bridgeInitializer];
} Thank you 🍺 🍻 |
If you're going to be using private API's (which is not supported, and will likely break again in future releases), use |
@javache Thank you |
Fixed in #1122 |
When I am using non remote js debug mode, I am getting
Version of Realm and Tooling
There was similar error but for 0.45 #1049
The text was updated successfully, but these errors were encountered: