-
Notifications
You must be signed in to change notification settings - Fork 1
PDA MOBILE
pace edited this page May 22, 2020
·
3 revisions
- React Native
- Git
- Yarn
- react-native-cli
- Gradle
A step by step process to set up PDA-MOBILE, Get the application from the git repository.
https://github.com/Socion-PDA/PDA-MOBILE.git
Install all the packages required to run the application using yarn.
yarn install-all
To run the package server using yarn
yarn start
Routing related configuration and service configuration are initialized in src/utils/httpClient/Url.js
- 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 apk-participant
command
Invoke yarn apk-trainer
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:@"js bundle"];"
- Change schema into Generic IOS Device
- Click Product -> Archive
wiki
Architecture
Configuration