HomeGuidesAPI ReferenceChangelogDiscussions
Hire a ReactVision Expert 🛠️Launch Studio 🖥️Sponsor on GitHub ❤️Log In
Guides

Installing ViroReact

Installation instructions

ViroReact 3.2.0 requires React Native 0.88 and Expo SDK 58, with the New Architecture (Fabric). React Native 0.86 and Expo SDK 57 stay on ViroReact 3.1.x.

If you are starting a new project, please consider using our Starter Kit as a basis for your app.

The steps below are for manually installing and linking the library to an existing React Native project. We do not yet support auto-linking.

Install

NPM

$ npm install --save @reactvision/react-viro

Yarn

$ yarn add @reactvision/react-viro

📘

ViroReact 3.2.0

  • Breaking: needs React Native 0.88 and Expo SDK 58. Upgrade them first: 3.2.0 does not install next to react-native 0.86.
  • Upgrading? See Upgrading to 3.2.0.

📘

ViroReact 3.1.0

  • iOS Simulator: apps using ViroReact now build and run in the iOS Simulator. AR scenes still need a device, as ARKit has no simulator support.
  • Usage data: each scene navigator sends ReactVision a small usage ping when it mounts. You can turn it off; see Usage Data.
  • Upgrading? See Upgrading to 3.1.0.

Complete your integration

Now that you've installed the ViroReact library into your project, you'll need to complete your setup by following one of our two integration guides.