Skip to content

Update tutorial inturbo-native-modules.md to use React Native 0.81.0#4746

Closed
kaseken wants to merge 1 commit into
react:mainfrom
kaseken:update-turbo-native-modules
Closed

Update tutorial inturbo-native-modules.md to use React Native 0.81.0#4746
kaseken wants to merge 1 commit into
react:mainfrom
kaseken:update-turbo-native-modules

Conversation

@kaseken

@kaseken kaseken commented Aug 21, 2025

Copy link
Copy Markdown
Contributor

Current issue

The current sample code for NativeLocalStoragePackage.kt cannot be built using React Native 0.76.0, due to a previous change (#4522), while the tutorial uses 0.76.0.

Changes

  • Updates turbo-native-modules.md to use React Native 0.81.0 instead of 0.76.0.
  • Fixes sample code in turbo-native-modules-android.md.

Tests

  • I have checked locally that the new sample code works using React Native 0.81.0.

@meta-cla meta-cla Bot added the CLA Signed label Aug 21, 2025
@netlify

netlify Bot commented Aug 21, 2025

Copy link
Copy Markdown

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit a2d42f8
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/68a6d40be09a210008673ebf
😎 Deploy Preview https://deploy-preview-4746--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@kaseken kaseken changed the title Update turbo-native-modules.md to use React Native 0.81.0 Update tutorial inturbo-native-modules.md to use React Native 0.81.0 Aug 21, 2025

```shell
npx @react-native-community/cli@latest init TurboModuleExample --version 0.76.0
npx @react-native-community/cli@latest init TurboModuleExample --version 0.81.0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be better to specify versions for @react-native-community/cli instead of using latest, since each cli has compatible react-native versions.
https://github.com/react-native-community/cli?tab=readme-ov-file#compatibility

@kaseken kaseken closed this Sep 25, 2025
@kaseken kaseken deleted the update-turbo-native-modules branch September 25, 2025 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant