Starter Kit screenshot

Starter Kit

Author Avatar Theme by Reactvision
Updated: 8 Jun 2024
160 Stars

React Native project setup with Viro

Categories

Overview:

The Viro Starter Kit is a blank React Native project setup with Viro, a platform for building augmented reality (AR) and virtual reality (VR) experiences. Before installing the starter kit, it is important to set up the development environment for React Native. It should be noted that the Android emulators are not supported by Viro.

Features:

  • Blank React Native Project: The starter kit provides a basic, blank React Native project that can be used as a starting point for building AR and VR experiences.
  • Viro Integration: The starter kit is set up with Viro, a platform that enables the creation of AR and VR experiences using React Native.
  • Installation Instructions: The documentation provides step-by-step instructions for installing the starter kit, including any necessary dependencies and configuration.

Installation:

To install the Viro Starter Kit, follow these steps:

  1. Clone the GitHub repository:
git clone https://github.com/ViroCommunity/starter-kit.git
  1. Navigate to the cloned directory:
cd starter-kit
  1. Install the required dependencies:
npm install
  1. For iOS, install the necessary pods:
npx pod-install
  1. For Android, run the following command:
npx react-native run-android

If the above command fails with “EACCESS gradlew.bat or EACCESS gradlew,” run the following command before retrying:

chmod +x gradlew.bat or chmod +x gradlew
  1. For iOS, run the following command:
npx react-native run-ios

Please note that the variant arguments are not needed for debug or release builds.

Summary:

The Viro Starter Kit is a helpful resource for developers looking to create AR and VR experiences using React Native. It provides a blank React Native project pre-configured with Viro, making it easier to get started with building immersive experiences. The installation process is straightforward, with clear instructions provided in the documentation. However, it should be noted that Android emulators are not supported by Viro. In case of any difficulties, developers can reach out for assistance in the Viro Discord community.