-
Notifications
You must be signed in to change notification settings - Fork 16
feat: bump react-native to 0.76.6 on example app #73
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
base: main
Are you sure you want to change the base?
Conversation
^ actually, let's disable the new architecture. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This patch is pulled out from #72, it makes this library compile for RN 76 on Android, but it still does not work for the new architecure.
Seems like the library is not linked properly when fabric is enabled.
auto workerQueue = std::make_shared<margelo::DispatchQueue::dispatch_queue>("Margelo MGBigNumber Thread"); | ||
auto hostObject = std::make_shared<margelo::MGBigNumberHostObject>(jsCallInvoker, workerQueue); | ||
auto object = jsi::Object::createFromHostObject(runtime, hostObject); | ||
runtime.global().setProperty(runtime, "__BigNumberProxy", std::move(object)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am getting a SIGSEGV here, check https://github.com/margelo/react-native-bignumber/blob/a8e9199da407b7cdf36e8b9cb6d557ed0194a22d/example/android/crash-log.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's migrate it to Nitro after we made the RN 76 upgrade. WIth Nitro, we no longer need any of this install(..)
f*ckery.
This PR bumps react-native to v0.76.6 on example app.
New architecture (fabric) is not enabled.
https://react-native-community.github.io/upgrade-helper/?from=0.71.6&to=0.76.6&package=com.bignumberexample&name=BigNumberExample