This is the repository of the ECO-READY mobile app. The latest version ot the app is always available at: https://github.com/AuthEceSoftEng/ecoready-mobile-app/releases/download/latest/ecoready-android.apk
This document provides instructions for setting up the development environment and running the app using Expo Go or a Development APK.
Make sure you have the following tools installed:
- [Node.js](https://nodejs.org/) (version 16 or higher)
- [Expo CLI](https://expo.dev/)
- `npm` 16+
- [Git](https://git-scm.com/)
Follow these steps to clone the repository and run the app:
# Clone the repository
git clone https://https://github.com/AuthEceSoftEng/ecoready-mobile-app.git
# Navigate to the project directory
cd my-app
# Install dependencies
npm install
There are two ways to run the app for development:
# Start the app in development mode
npx expo start
- Open the Expo Go app on your device.
- Scan the QR code displayed in the terminal or browser.
- Changes in your JavaScript code will reload automatically in Expo Go.
This method allows you to test native modules or features that are not supported by Expo Go.
# Build a development APK
eas build --profile development --platform android
# Install the APK on your device
adb install <path-to-apk>
- Run the command above to build an APK.
- Install the APK on your device using
adb install
. - Open the app on your device.
During development, you can see changes as follows:
- **Expo Go**: Changes in JavaScript code will reload automatically.
- **Development APK**: If you modify native modules or `app.json`, you must rebuild the APK.
This project is licensed under the MIT License. See the LICENSE
file for details.