Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@callstack/react-native-visionos

Package Overview
Dependencies
Maintainers
10
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@callstack/react-native-visionos

React Native for visionOS

  • 0.74.0-nightly-20240123
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2K
decreased by-65.64%
Maintainers
10
Weekly downloads
 
Created
Source

React Native Vision OS

Learn once, write anywhere:
Build spatial apps with React.

React Native Vision OS 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.

[!CAUTION] This project is still at an early stage of development and is not ready for production use.

New project creation

  1. Make sure you have a proper development environment setup
  2. Download the latest Xcode beta here.
  3. Install visionOS Simulator runtime.
  4. Install the latest version of CMake (at least v3.28.0)
  5. Initialize the project using this command:
npx @callstack/react-native-visionos@latest init YourApp
  1. Next, go to YourApp/visionos folder and run following commands to install Pods:
cd visionos
bundle install
bundle exec pod install
  1. Open YourApp/visionos/YourApp.xcworkspace using Xcode 15 Beta.
  2. Build the app by clicking the "Run" button in Xcode.

Platform guidelines

We suggest you read Human Interface Guidelines for visionOS when creating visionOS apps.

It's important not to cover the translucent background with a solid color, as it helps to ground apps and make them feel like part of the environment.

Contributing

  1. Follow the same steps as in the New project creation section.
  2. Checkout rn-tester README.md to build React Native from source.

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.

Keywords

FAQs

Package last updated on 23 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc