Example application and CI/CD pipeline showing how to run a React Native project using GitHub Actions.
This repository was forked and edited from a Semaphore demo application linked here.
$ yarn install
If you haven't used Cocoapods before you'll also need to install Cocoapods
$ sudo gem install cocoapods
$ cd ios
$ pod install
Make sure your JAVA_HOME
, ANDROID_HOME
, and ANDROID_SDK_ROOT
environment variables are all setup.
export JAVA_home=".../openjdk"
export ANDROID_HOME=".../Android/sdk"
export ANDROID_SDK_root=".../Android/sdk"
You might have to install android-platform-tools
.
$ brew install android-platform-tools
$ npm start
If you want to run the app in a phone simulator you will run one of these commands:
$ npm run ios
$ npm run android
$ npm run lint
$ npm test
$ npm run detox-ios-build
$ npm run detox-ios-test
$ npm run detox-android-build
$ npm run detox-android-test
If while runing your end to end tests on iOS you get this error #error Unsupported architecture
make sure that the detox configuration uses the ONLY_ACTIVE_ARCH=YES
flag as shown in the package.json file.
Copyright (c) 2019 Rendered Text
Distributed under the MIT License. See the file LICENSE.md.