gh repo clone ViroCommunity/viro
cd viro npm install
gh repo clone ViroCommunity/starter-kit
cd starter-kit npm install
Make changes to the
viro folder to fix a bug, add something new, etc.
Ensure that your typescript compiles by running the build command.
# from viro/ npm run build
This script will create a tarball of the files and binaries needed in the viro folder for the dependency to work correctly.
# from viro/ ./prepare_release.sh
You should have a tarball in the viro folder called
cd starter-kit npm install ../viro/viro-community-react-viro-<package.json version>.tgz
If developing on ios, run
pod install in the
ios folder and then run the starter kit from xCode.
If developing on android, run
npm run android with a device connected.
Updated almost 2 years ago