Android Source Code Setup #
- Download the Mobijet Admin app purchased package from Codecanyon. Open the source code (project folder/ mobijet_admin folder) in your preferred Code Editor by simply Drag & Drop the folder to the Editor. We recommend to use VS Code, especially for flutter apps.
- You must be ready with your unique App label , Andoid App package name, Project folder name
- Rename the “mobijet_admin” folder name with your “project folder name”.
- Replace the default package name (com.tctech.admin.mobijet) with your android package name inside the following files:
- android/app/src/debug/AndroidManifest.xml
- android/app/src/main/kotlin/com/tctech/admin/mobijet/MainActivity.kt
- android/app/src/main/AndroidManifest.xml
- android/app/src/profile/AndroidManifest.xml
- android/app/build.gradle
- Rename these folder names (mobijet_admin) with your project folder name in the following path:
- android/mobijet_admin_android.iml
- mobijet_admin.iml
- Rename these folder names as per your android app package name in the following path:
- android/app/src/main/kotlin/com/tctech/admin/mobijet/MainActivity.kt
- Replace App label name “Mobijet Admin” with your “App Label name” in the following path:
- android/app/src/main/AndroidManifest.xml
android:label="Mobijet Admin"
- android/app/src/main/AndroidManifest.xml
Change Assets #
Replace the assets in the following paths with your assets with the same name & same size.
App Icon : #
- assets/RESKIN_ITEMS/appicon.jpg
- assets/RESKIN_ITEMS/appicon.png
Run the following command in vscode terminal to set the appicon automatically for android and ios :
flutter pub get
flutter pub run flutter_launcher_icons:main
Splash Screen : #
The splash screen will be automatically generated using the app icon at the center. However you can change the splash background color inside the file : lib/Configs/my_colors.dart
static final Color splashbackground = primary;
static final Color splashtextcolor = Colors.white;
Applogo (for login screen): #
Automatically set using the app icon as a logo at the login page.
Change Colors #
Replace the following colors in : lib/Configs/my_colors.dart with your desired colors keeping the same tone in each color (darken/lighten) for a good looking UI.
static final Color primary = Color(0xff5966d5);
static final Color secondary = Color(0xff37adf5);
static final Color splashbackground = Color(0xff5966d5);
static final Color splashtextcolor = Color.fromARGB(255, 247, 222, 222);
static final Color loadingindicator = Color(0xff63dcff);
static final Color bottomappbaricontext = Color(0xff52b2ed);
static final Color statusbarColor = primary;
static final bool isStausbardarkIcons = false;
Setup App Configuration #
Setup basic mandatory configuration for your App inside: lib/Configs/app_constants.dart
static String appcurrentversionANDROID = '1.0.5'; //App Current version
static String appcurrentversionIOS = '1.0.5'; //App Current version
static String appname = 'Mobijet Admin'; //App name
static String apptagline = 'Manage Mobijet User app easily'; //App tag line
static String appFolderNameinAndroid = 'Mobijet Downloads'; //Folder Name in Users device Storage for Android Storage
static String defaultcountrycodeISO ='US'; //Default Country 2 letter ISO in Search User page
static String defaultcountrycodeMobileExtension ='+1'; //Default Country Code in Search User page
static bool isMultiDeviceLoginEnabled = true;
Set App Version Number (Android) #
1. Set android app version number inside : android/local.properties & further increment both version Name & Version code before every release build
flutter.versionName=1.0.0
flutter.versionCode=1
2. Set android app version number inside : pubspec.yaml & further increment both version Name & Version code before every release build
version: 1.0.0+1
Set Release key.jks Properties #
1. Generate a upload keystore, rename it to key.jks file and place it in the path : android/app/key.jks
2. Set the key properties in : android/key.properties
Change Font (optional) #
Font Changing feature is not available for Mobijet Admin App. It is only available for Mobijet user app