Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.15 KB

INSTALL.md

File metadata and controls

39 lines (22 loc) · 1.15 KB

Installation instructions

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 @viro-community/react-viro

Yarn

$ yarn add @viro-community/react-viro

Linking (You must do this - we do not support auto-linking)

If you're unsure about which file to edit or where to put specified the lines, we have added links to how this is done in our starter-kit repo.

Troubleshooting

  • It doesn't work on my iOS simulator!

    AR does not work on iOS simulators. If you are getting an error that looks like:

    ARWorldTrackingConfiguration setAutoFocusEnabled: unrecognised

    that is expected. Sorry!

    See running-on-device in the official react-native docs.