Skip to content

favarete/ReactNativeMetaSpatialStarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native Meta Spatial Starter

This project provides a minimal implementation of the React Native Community Template 'Hello World' app, seamlessly integrated with the Meta Spatial SDK 'Hello World' example for Android.

Currently, integrating the Meta Spatial SDK with React Native can be challenging. This starter template aims to simplify the process and save you some hassle.

QuestDemo.gif


How to Run

1 - Clone the repository:
git clone git@github.com:favarete/ReactNativeMetaSpatialStarter.git

2 - Install the dependencies from the main folder (ReactNativeMetaSpatialStarter)
npm install

3 - For development, run the bundler (this is needed for hot reloading during development)
npm start

4 - Now you can run the Android app inside your device or emulator. I don't use Android Studio, usually I build and run like this:
From the android folder (ReactNativeMetaSpatialStarter/android)
./gradlew :app:assembleDebug
adb install ./app/build/outputs/apk/debug/app-debug.apk

If you want an AAB you can use ./gradlew :app:bundleDebug

5 - For release, you can skip step 3 and 4, and build everything into the apk running this:
./gradlew :app:assembleRelease

If you want an AAB you can use ./gradlew :app:bundleRelease

About

Hello World React Native App inside VR using Meta Spatial SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published