Base code borrowed from Christophe Coenraets.
-
Make sure your environment is set up to build React Native applications. See the React Native documentation for info on how to do this.
-
Install dependencies with
yarn. -
If you want to run on iOS, install Cocoapods dependencies:
cd ios pod install -
Run the app with
npx react-native run-iosornpx react-native run-android.
You will need Cavy CLI to run the tests:
yarn global add cavy-cli
Then run the tests with cavy-run ios or cavy-run android.
Here's what it should look like when the tests run:
