Update react-native version - #129
Merged
Merged
Conversation
…up instructions and project documentation
- Updated copyright year from 2025 to current year in generated files. - Refactored Toadly native initialization to use `registerNatives()` instead of `initialize()`. - Enhanced C++/Swift bridge with new methods for memory management and object comparison. - Updated Gradle and CMake files to include new definitions for better integration. - Improved Swift interop by modifying class definitions and method signatures. - Updated package dependencies to the latest versions for better compatibility and performance.
… update Gemfile.lock to reflect Bundler version
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.
Summary
This PR modernizes
react-native-toadlyand its example app to the current React Native/Nitro stack. It updates the core package, refreshes native iOS/Android project files, regenerates Nitro bindings, fixes CI/tooling breakage discovered during validation, and updates the project documentation so future work can resume with clear setup and version context.Major Version Updates
0.78.1to0.85.3in the root package and example app.19.2.3so it exactly matches thereact-native-rendererversion embedded by React Native0.85.3.react-native-nitro-modulesfrom^0.25.2to^0.35.9.nitro-codegenscript withnitrogenand addsnitrogen@^0.35.9.20.1.3.0.85.3generation.v20.19.4in.nvmrcand updates package engine requirements accordingly.Nitro And Generated Bindings
nitro.jsonto the newer Nitro autolinking shape with explicit iOS and Android language/configuration entries.nitrogen/generatedartifacts for Android, iOS, and shared C++ bindings.facebook::jni::initializeandregisterAllNatives()from the regenerated Nitro loader.iOS Changes
0.85.3.AppDelegate.swiftto the newerRCTReactNativeFactory/RCTDefaultReactNativeFactoryDelegatestyle.Info.plist.CADisableMinimumFrameDurationOnPhonefrom the current RN template expectations.Podfile.lockfor React Native0.85.3, NitroModules0.35.9, the newer Hermes/prebuilt RN dependencies, and related pod graph changes.Gemfileviabundle installandbundle exec pod install.Gemfile.lockfrom Bundler1.17.2to2.4.22, fixing the Ruby 3.3 CI failure caused by Bundler 1 calling removedString#untaint.Android Changes
0.85.3.MainApplication.ktto the newerReactHost/loadReactNativetemplate shape.36.2.1.20and Gradle wrapper to9.3.1.edgeToEdgeEnabled=falsesetting.JavaScript, TypeScript, And Test Tooling
tsconfig.jsonto extend@react-native/typescript-configcorrectly for RN0.85.3.@react-native/jest-preset.jest.transformer.jsusing@react-native/babel-presetso tests compile consistently with the upgraded RN toolchain.Documentation Updates
docs/resume.mdwith a project scan, current architecture notes, package modernization notes, validation commands, and known follow-up work.CI Fixes
podexecutable.1.17.2fromGemfile.lockand crashed onString#untaint.Validation Performed
node .yarn/releases/yarn-3.6.1.cjs typechecknode .yarn/releases/yarn-3.6.1.cjs lintnode .yarn/releases/yarn-3.6.1.cjs testnode .yarn/releases/yarn-3.6.1.cjs example react-native configANDROID_HOME="$HOME/Library/Android/sdk" node .yarn/releases/yarn-3.6.1.cjs example build:androidnode .yarn/releases/yarn-3.6.1.cjs example build:iosnode .yarn/releases/yarn-3.6.1.cjs turbo run build:ios --cache-dir=".turbo/ios"Reviewer Notes
yarn.lock,Podfile.lock, andnitrogen/generateddiffs are expected from the RN/Nitro version jump.19.2.3; using19.2.7caused a runtime renderer mismatch with React Native0.85.3.