Skip to content

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

License

Notifications You must be signed in to change notification settings

ReactVision/expo-starter-kit-typescript

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published