callstack / react-native-visionos

A framework for building native visionOS applications using React

Home Page:https://callstack.github.io/react-native-visionos-docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Screenshot

πŸŽ‰ 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.28.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.

About

A framework for building native visionOS applications using React

https://callstack.github.io/react-native-visionos-docs/

License:MIT License


Languages

Language:C++ 28.4%Language:Java 20.0%Language:JavaScript 17.0%Language:Objective-C++ 11.7%Language:Objective-C 9.2%Language:Kotlin 8.5%Language:Ruby 3.1%Language:CMake 0.6%Language:TypeScript 0.6%Language:Shell 0.4%Language:C 0.4%Language:Assembly 0.1%Language:Swift 0.1%Language:HTML 0.0%