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
You must change these credentials after the very first login.
Clean the Project #
Run the command in Vs Code terminal:
Delete the following folders (if present):
Run Debug App #
Run the app in debug mode using the command:
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