Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 748 Bytes

File metadata and controls

37 lines (24 loc) · 748 Bytes
description
Steps to generate APK

APK Generation

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