Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 1.55 KB

README.md

File metadata and controls

63 lines (42 loc) · 1.55 KB

open-o-connect

A mobile application for connecting to electronic medical record systems based on the open-source "O19" project code.

Welcome to your Expo app 👋

This is an Expo project created with create-expo-app.

Get started

  1. Install dependencies

    npm install
  2. Install EAS CLI

    npm install -g eas-cli
  3. 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

    For Android

    1. Start Project

      npm run android

      This will create a development build and start the application in emulator and connected android device.

    2. 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.

    For iOS (TODO)

Build APK (For Production Only)

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.