A mobile application for connecting to electronic medical record systems based on the open-source "O19" project code.
This is an Expo project created with create-expo-app
.
-
Install dependencies
npm install
-
Install EAS CLI
npm install -g eas-cli
-
Create an Expo account and login
- Sign up for an Expo account.
- Run the following command in your terminal to log in to the EAS CLI:
eas login
-
Start Project
npm run android
This will create a development build and start the application in emulator and connected android device.
-
If you made any changes to
app.json
that impacts the native project, modified native code or configuration or install a library from npm, you need to run prebuild command.npx expo prebuild --clean
And create a new development build following step 1.
Install eas-cli package globally. This package will be used to build APK.
npm install -g eas-cli
Build Apk Locally
eas build -p android --profile preview --local
Here, preview
is the name of the profile in eas.json file. Adding --local
flag will build apk locally.
You'll need an expo account to build. So head over to https://expo.dev/ to sign up.