ViviHealth requires a couple of previous steps to start with the installation.
- You will need to have npm to install the application dependencies. If you don't have it, please follow this steps to install it.
- You will need to belong to the apple organization development team for this project in order to run the application on iOS.
- You will need access to a this private github repository to install this dependency:
react-native-background-geolocation-android
- Also, this is a React Native project, so you must install React Native. Follow this steps to do it.
- Clone the repo locally:
git clone git@github.com:recovery-ally/patient-app.git
- Navigate into project
cd patient-app
- Install dependencies
npm install
- Configurate iOS project
cd ios
pod install
- Go back to main project folder
cd ..
You will need to run this application on a fisical device. This project is unable to run on emulator because of BioStrap dependency (library not built for Arm)
- Open application in xcode
cd ios
open patientApp.xcworkspace
- Configure signing on project target
- Tap on patientApp project
- Tap Signing & Capabilities tab
- Tap on patientApp target
- On Team field, choose the development team from your apple account
- Run the application: Product -> Run or just the play button
- Connect the device to your computer
- Run application
npm run android