Build Android App (.apk, .aab)

The app will write the database automatically when run for the very first time. Kindly make sure you have set up the Firebase Security Rules or else the app will fail to Run. Run the app for 2nd time to start using the app.

DEFAULT LOGIN CREDENTIALS for Admin : #

Username : admin
Password : admin
PIN: 123456

You must change these credentials after the very first login.

Clean the Project #

Run the command in Vs Code terminal:

flutter clean

Delete the following folders (if present):
1. android/.gradle
2. .dart_tool

Run Debug App #

Run the app in debug mode using the command:

flutter run

Once you run the App for very first time, it will prompt you to enter the PURCHASE_CODE received from CodeCanyon mentioned in the License file. This will activate the License and setup the App Instantly.

Run Release App #

Run the app in release mode using the command:

flutter run --release
Build Release App (.apk) #

Build app-release.apk file using the command:

flutter build apk --release

PLEASE NOTE: app-release.apk size is large. It will be between 30 to 70MB when published on Google Playstore using .aab (Android App Bundle)

Build Android App bundle (.aab) #

Build app-release.aab app bundle to submit it in Google Playstore. Run the following command:

flutter build appbundle --release

Powered by BetterDocs