@callstack/react-native-visionos

React Native for visionOS
- Static
- Latest Patch
- Latest Minor
- Latest Major
- 0.78.0
- 0.77.0
- 0.76.2
- 0.76.0
- 0.75.0
- 0.74.4
- 0.74.3
- 0.74.1
- 0.74.0
- 0.73.12
- 0.73.11
- 0.73.10
- 0.73.9
- 0.73.8
- 0.73.7
- 0.73.6
- 0.73.5
- 0.73.4
- 0.73.3
- 0.77.0-rc.1
- 0.77.0-rc.0
- 0.76.0-rc.0
- 0.75.0-rc.2
- 0.75.0-rc.1
- 0.74.0-rc.4-0
- 0.74.0-rc.4
- 0.74.0-rc.3
- 0.74.0-rc.2
- 0.74.0-rc.1
- 0.74.0-rc.0
- 0.74.0-nightly-20240123
- 0.74.0-nightly-20240115
- 0.74.0-nightly-20231205
- 0.74.0-nightly-20231128-1
- 0.74.0-nightly-20231128
- 0.74.0-nightly-20231127
- 0.73.4-1
React Native visionOS
Learn once, write anywhere:
Build spatial apps with React.
React Native visionOS allows you to write visionOS with full support for platform SDK. This is a full fork of the main repository with changes needed to support visionOS.
🎉 Building your first spatial React Native app
Follow the Getting Started guide. If you wish to get started quickly, you can utilize this command:
npx @callstack/react-native-visionos@latest init YourApp
📖 Documentation
The full documentation for React Native visionOS can be found on our website.
The source for the React Native visionOS documentation and website is hosted on a separate repo, @callstack/react-native-visionos-docs.
Contributing
Prerequisites:
- Download the latest Xcode (at least 15.2)
- Install the latest version of CMake (at least v3.29.0)
Check out rn-tester
README.md to build React Native from the source.
Remember to use RNTester-visionOS
target
If RNTester-visionOS
scheme is not showing up, click "New Scheme", which should be pre-populated with RNTester-visionOS
. Build the app using Xcode.
Release process
We use a script called oot-release.js
which automatically releases visionos
packages and aligns versions of dependencies with React Native core.
Usage:
node ./scripts/oot-release.js --new-version "<visionos-version>" --react-native-version "<react-native-version>" --one-time-password "<otp>"
To test releases and template we use Verdaccio.