Skip to content

Conversation

kaseken
Copy link
Contributor

@kaseken kaseken commented Aug 21, 2025

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
Copy link

netlify bot commented Aug 21, 2025

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
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

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