description |
---|
Steps to generate APK |
This document says how to generate APK and its configuration.
- Add the .env file at the root of the project with the required config based on the env in the file.
Sample env config:
BASE_URL='https://works-dev.digit.org/'
MDMS_API_PATH='egov-mds-service/v1/_search'
GLOBAL_ASSETS='https://s3.ap-south-1.amazonaws.com/works-dev-asset/worksGlobalConfig.json'
ENV_NAME="DEV"
- Run the below commands in your terminal from the root of the project
flutter clean
flutter pub get
- Run the below command in your terminal from the root of the project to generate the APK
flutter build apk --release