-
Notifications
You must be signed in to change notification settings - Fork 4
PDA MOBILE
- React Native
- Git
- Yarn
- react-native-cli
- Gradle-5.1.1 (or newer)
- cocoapods
A step by step process to set up PDA-MOBILE, Get the application from the git repository.
git clone https://github.com/PDA-Open-Source/PDA-MOBILE.git
cd PDA-MOBILE
Install all the packages required to run the application using yarn.
yarn install-all
for IOS
cd ios
pod install
Modify PDA-MOBILE-master/src/util/AesUtil.js to update encryption values
let iv="" //In case to change the value refer PDA-WEB wiki
let salt="" //In case to change the value refer PDA-WEB wiki
let passPhrase="" //In case to change the value refer PDA-WEB wiki
To run the package server using yarn
To run the package server using yarn
yarn start
Routing related configuration and Base URL configuration is initialized in src/utils/httpClient/Url.js
Open the emulator and run the project from the android studio.
- 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.
Update the gradle.properties in the android folder
MYAPP_RELEASE_STORE_FILE=
MYAPP_RELEASE_KEY_ALIAS=
MYAPP_RELEASE_STORE_PASSWORD=
MYAPP_RELEASE_KEY_PASSWORD=
Refer the link for more information to create keys link1 link2
Invoke yarn android:participant:release
command
Invoke yarn android:trainer:release
command
open project in Xcode and then open PDA-MOBILE.xcworkspace and build project using cmd+b
Select a scheme to build a trainer or a participant Application.
wiki
Architecture
Configuration