This repository contains a sample project. It can be used to test the SDK as you develop it.
You need:
- nodejs 8 or higher
- yarn 1 or higher
First install dependencies of the SDK (the root of the repository) This is only needed if dependencies are added/removed.
yarn
Once deps are installed, you can build the project:
yarn build
# Or in watch mode, for development
yarn build:watch
yarn test
# Or the watcher when writing tests:
yarn test:watch
Now we can go into the sample project, install and build it:
cd sample/
yarn
# Build iOS
cd ios
pod install
cd ..
You can optionally start the Metro bundler if you want to control where it runs:
yarn start --reset-cache
Run the emulators:
yarn react-native run-ios
yarn react-native run-android