/expo-starter-kit-typescript

An Expo starter-kit for the ReactVision's ViroReact library, written in TypeScript. If you're new to ReactVision and ViroReact then this is the recommended starter-kit.

Primary LanguageTypeScriptMIT LicenseMIT

Expo Starter Kit with React Viro (TypeScript)

React Viro AR/VR starter kit for Expo with TypeScript.

Prerequisites

  • React Viro requires native code and cannot run in Expo Go
  • You must use development builds or prebuild to run this project

Installation

npm install

Setup

Generate native directories (required for ViroReact):

npx expo prebuild --clean

Check for any project issues:

npx expo-doctor

Running

Development builds (recommended):

npx expo run:ios
npx expo run:android

Development server (after building):

npx expo start --dev-client

Troubleshooting

iOS Build Error: "no such module 'ExpoModulesCore'"

If building through npx expo run:ios presents the following error "no such module 'ExpoModulesCore'", follow these steps:

  1. Start your development server:

    npx expo start --dev-client
  2. Open the Xcode workspace for the project within the ios folder:

    open ios/expostarterkittypescript.xcworkspace
  3. Build and run the application directly within Xcode

This ensures the Metro bundler is running and properly connected to your iOS build.

Expo Docs

Expo Docs

Need help?

Discord Banner 2