Active eCommerce Flutter App Documentation
- How to run Flutter Application in Android Studio?
- How to configure the App according to your setup?
- How to change the package name ?
- How to Build the app for testing (build an apk) ?
- How to generate play store uploadable files for release?
- How to run IOS? **Read all the points carefully before doing anything
- How to generate app store uploadable files?
- How to update for android? **Read all the points carefully before doing anything
- How to configure social login?
- How to configure push notification?
- How to configure google map? (Read the whole thing before implementing)
- How to configure the default language for mobile apps?
- How to configure multiple languages for mobile app? (Read the whole thing before implementing)
- How to remove cache data.
How to configure the App according to your setup?
App Config:
This helps you connect your app to your server.
Open lib/app_config.dart
You can change the copyright_text, app_name,purchase_code,, HTTPS,DOMAIN_PATH variable.
Do not change the other variables.
Make sure that purchase_code is given. Otherwise your app will not work properly.
If your site does not have https or your are using a local machine as server (localhost) the make HTTPS = false;
Your DOMAIN_PATH is your site url without any protocol. (see screenshot below)
If you are using localhost , DOMAIN_PATH should be “your_ip_address/your_project”;
** “localhost/your_project” will not not work **
Normally you do not have to change the BASE_PATH. Keep it as given.
But if you are using s3 for image uploading your BASE_PATH should be :
BASE_PATH = "https://[[bucketname]].s3.[[regeion]].amazonaws.com/";
Theme Config:
This helps you change your app’s colors according to your theme/branding
Open lib/my_theme.dart
You can change the accent_color, soft_accent_color, splash_screen_color variable.
Flutter by default does not support hex color. Do not change the other variables.
Use https://www.rapidtables.com/convert/color/hex-to-rgb.html To get the RGB value if you do not already know your theme’s RGB color.
You should keep the Opacity value 1 (Opacity can be 0, 0.1, 0.2, …….. ,0.9 ,1)
See the screenshot below.
Configure the launcher icon:
This helps you change your app’s launcher icon.
Change the app_logo.png in assets folder with your own
logo.Your file name should also be app_logo.png and it should be a 512x512 png image and the image format should be the same.
After replacing the file , uninstall your app from your emulator.Otherwise the logo will not be changed.
Then in your android studio terminal run:
flutter pub get
Then run :
flutter pub run flutter_launcher_icons:main
Then run your app (shift +10). The app will be installed again with your given launcher icon.
Configure other logos:
In the asset folders we have other logos that you may want to change according to your
branding.
This logos will be found in :
assets/login_registration_form_logo.png (512x512)
assets/splash_screen_logo.png (512x512)
Change this logo with your own logo.File name , image format and size should be the same for each logo.
Then in your android studio terminal run:
flutter pub get
Then restart your app (shift +10). You should see your own logo in these places.

