If you have not yet installed React Native, you can use this tutorial.
Use git clone
to get project. Then go to the root folder of project and install all node modules using yarn install-all
command.
In the root directory, install dependenices use following command every time
yarn install-all
// No relase
- You have to connect hardware device using ADB or run emulator.
- Invoke
yarn android-participant-debug
command. - Open app from Mobile menu
- You have to connect hardware device using ADB or run emulator.
- Invoke
yarn android-trainer-debug
command. - Open app from Mobile menu
- You have to get Xcode installed on your machine.
- Invoke
react-native run-ios
command.
Invoke yarn android-trainer-release
command
Invoke yarn android-trainer-release
command
- Run this on terminal from root folder "bash ./GenerateIosBuild"
- Open xCode
- From AppDelegate.m replace "jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];" line to "jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];"
- Change schema into Generic IOS Device
- Click Product -> Archive
Please refer to Wiki for further details.