Setup Essentials
Requirements for 6POS Installation
Admin (V1.5)
- PHP 8.0 or higher
- MySQL 5.7 or higher
- Laravel 9
Mobile App (V1.5)
- IDE: Android Studio latest
- Flutter SDK (3.27.1 Stable)
- Install JDK 17
- Xcode 16.2 for IPA file build
Run an existing flutter project on IDE #
Change App Logo #
You can generate an app icon from this website https://app icon.co.
- Go to
<project>/assets/image/
and replace logo.png with your own logo. - Then go to
/android/app/src/main/res
and replace all mipmap folder with your<generated icon>/android
folder. - Again go to
/ios/Runner
and replace Assets.xcassets with your generated Assets.xcassets folder.
TIP
Recommended tutorial is below 👇
Change App Name #
- You need to set your app name in three different places. Open
<project>/lib/util/app_constrants.dart
and set the value of APP_NAME
/lib/util/app_constrants.dart
static const String APP_NAME = ‘My App’;
- Change the value of the label from
<project>/android/app/src/main/AndroidManifest.xml
/android/app/src/main/AndroidManifest.xml
android:label="My App"
- Change the value of CFBundleName from
<project>/iOS/Runner/info.plist
/iOS/Runner/info.plist
<key>CFBundleName</key>
<string>My App</string>
TIP
Recommended tutorial is below 👇
Change Base URL #
Must remember that don’t put slash(/) at the end of your base URL. Use your admin URL as base URL. First, you have to install your admin panel. For example: If your admin url is https://your_domain.com/admin then the base URL will be https://your_domain.com. Open /lib/util/app_constrants.dart
and replace BASE_URL
variable value with your own URL.
/lib/util/app_constrants.dart
static const String BASE_URL = 'https://your_domain.com';
TIP
Recommended tutorial is below 👇
Change App Package/applicationId #
First, you have to find out the existing package name/applicationId. You can find it on /android/app/build.gradle file. Now right-click on the project folder from Android Studio and click on replace in path. You will get a popup window with two input boxes. In the first box you have to put the existing package name that you saw in /android/app/build.gradle file previously and write down your preferred package name/applicationId
in the second box and then click on Replace All button.
TIP
Recommended tutorial is below 👇