feat: bump react-native to 0.76.6 on example app#73
Draft
renanmav wants to merge 13 commits intomargelo:mainfrom
Draft
feat: bump react-native to 0.76.6 on example app#73renanmav wants to merge 13 commits intomargelo:mainfrom
renanmav wants to merge 13 commits intomargelo:mainfrom
Conversation
Contributor
Author
Contributor
Author
|
^ actually, let's disable the new architecture. |
renanmav
commented
Feb 1, 2025
Contributor
Author
There was a problem hiding this comment.
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.
renanmav
commented
Feb 2, 2025
| 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)); |
Contributor
Author
There was a problem hiding this comment.
I am getting a SIGSEGV here, check https://github.com/margelo/react-native-bignumber/blob/a8e9199da407b7cdf36e8b9cb6d557ed0194a22d/example/android/crash-log.txt
Member
There was a problem hiding this comment.
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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


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