APK Generation

Steps to generate APK

Overview

This document says how to generate APK and its configuration.

Steps To Generate APK

  1. 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"
  1. Run the below commands in your terminal from the root of the project

flutter clean
flutter pub get
  1. Run the below command in your terminal from the root of the project to generate the APK

flutter build apk --release

Last updated

​​  ​All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.