Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.86 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.86 KB

PDA-frontend

Get Started

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.

Installation

In the root directory, install dependenices use following command every time yarn install-all

Release History

// No relase

Run on Android

Participant

  1. You have to connect hardware device using ADB or run emulator.
  2. Invoke yarn android-participant-debug command.
  3. Open app from Mobile menu

Trainer

  1. You have to connect hardware device using ADB or run emulator.
  2. Invoke yarn android-trainer-debug command.
  3. Open app from Mobile menu

Run on iOS

  1. You have to get Xcode installed on your machine.
  2. Invoke react-native run-ios command.

Android - Generate Signed APK

Participant

Invoke yarn android-trainer-release command

Trainer

Invoke yarn android-trainer-release command

IOS - build

  1. Run this on terminal from root folder "bash ./GenerateIosBuild"
  2. Open xCode
  3. From AppDelegate.m replace "jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];" line to "jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];"
  4. Change schema into Generic IOS Device
  5. Click Product -> Archive

Please refer to Wiki for further details.