https://github.com/callstack/react-native-visionos
A framework for building native visionOS applications using React
https://github.com/callstack/react-native-visionos
apple-vision-pro cross-platform framework hacktoberfest react-native visionos
Last synced: 7 months ago
JSON representation
A framework for building native visionOS applications using React
- Host: GitHub
- URL: https://github.com/callstack/react-native-visionos
- Owner: callstack
- License: mit
- Fork: true (facebook/react-native)
- Created: 2023-09-11T16:44:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-25T15:03:13.000Z (about 1 year ago)
- Last Synced: 2024-10-30T08:19:29.285Z (about 1 year ago)
- Topics: apple-vision-pro, cross-platform, framework, hacktoberfest, react-native, visionos
- Language: C++
- Homepage: https://callstack.github.io/react-native-visionos-docs/
- Size: 301 MB
- Stars: 996
- Watchers: 18
- Forks: 30
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG-pre-060.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-visionOS - react-native-visionos
README
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](https://callstack.github.io/react-native-visionos-docs/category/getting-started) guide. If you wish to get started quickly, you can utilize this command:
```sh
npx @callstack/react-native-visionos@latest init YourApp
```
## 📖 Documentation
The full documentation for React Native visionOS can be found on our [website](https://callstack.github.io/react-native-visionos-docs).
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](./packages/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:
```sh
node ./scripts/oot-release.js --new-version "" --react-native-version "" --one-time-password ""
```
To test releases and template we use [Verdaccio](https://verdaccio.org/).