← Back to Documentation Home

App Customization & Rebranding Guide

A step-by-step visual tutorial for non-technical buyers to personalize the FoodFeast platform — update the app name, launcher icons, splash screen, brand color palette, and package identifier.

App Customization & Rebranding Guide

A step-by-step visual tutorial for non-technical buyers to personalize the FoodFeast platform — update the app name, launcher icons, splash screen, brand color palette, and package identifier.

Table of Contents
  1. Customization Master File Map
  2. 1 Updating the App Display Name
  3. 2 Changing the App Icon & Logo
  4. 3 Changing the Primary Color & Theme
  5. 4 Updating the Splash Screen
  6. 5 Changing Package Name & Bundle Identifier
  7. 6 Generating Production Builds
  8. Common Rebranding Mistakes to Avoid
★ Quick Reference

Customization Master File Map#

Every visual and branding property in FoodFeast is governed by clean, isolated configuration files:

Customization Target Target File Path in Codebase Exact Line / Variable
App Name (Android) Source_Code/Foodfeast_user_app/android/app/src/main/res/values/strings.xml Line 3: <string name="app_name">YourAppName</string>
App Name (iOS) Source_Code/Foodfeast_user_app/ios/Runner/Info.plist Line 8 & 16: CFBundleDisplayName & CFBundleName
App Name (In-App Text) Source_Code/Foodfeast_user_app/assets/translations/en.json Line 212: "FoodFeast": "YourBrand"
Admin Name (Backend) Source_Code/Foodfeast-Laravel-Dashboard-v1/.env Line 1: APP_NAME="YourBrand"
App Launcher Icon Source_Code/Foodfeast_user_app/assets/images/app_logo.png 1024×1024 PNG (Regenerate via dart run flutter_launcher_icons)
Primary Brand Color Source_Code/Foodfeast_user_app/lib/app/theme/app_colors.dart Line 5: static Color primary = HexColor("#FF8C21");
Splash Screen Source_Code/Foodfeast_user_app/pubspec.yaml Lines 121–129 (Regenerate via dart run flutter_native_splash:create)
Package Name / Bundle ID android/app/build.gradle & ios/Runner/Info.plist applicationId "com.yourbrand.app"

1 Customization

1 Updating the App Display Name#

Change the name displayed beneath the app icon on phone home screens and throughout the user interface.

Open the Android project

In your Flutter project, expand android in the file explorer.

Open the Android project — screenshot 1
Open the Android project · Screenshot 1 of 9

Open the Android app module

Expand android/app.

Open the Android app module — screenshot 2
Open the Android app module · Screenshot 2 of 9

Open the source folder

Expand android/app/src.

Open the source folder — screenshot 3
Open the source folder · Screenshot 3 of 9

Open the main source set

Expand main to locate the Android manifest.

Open the main source set — screenshot 4
Open the main source set · Screenshot 4 of 9

Open AndroidManifest.xml

Open android/app/src/main/AndroidManifest.xml.

Open AndroidManifest.xml — screenshot 5
Open AndroidManifest.xml · Screenshot 5 of 9

Change the Android display name

Find android:label. This release uses @string/app_name: edit the app_name value in android/app/src/main/res/values/strings.xml. The screenshot shows the label location; older versions may have a literal name there.

Change the Android display name — screenshot 6
Change the Android display name · Screenshot 6 of 9

Open the iOS project

Return to the Flutter project root and expand ios.

Open the iOS project — screenshot 7
Open the iOS project · Screenshot 7 of 9

Open the Runner folder

Expand ios/Runner.

Open the Runner folder — screenshot 8
Open the Runner folder · Screenshot 8 of 9

Change the iOS display name

Open Info.plist and update CFBundleDisplayName and CFBundleName to your brand. Rebuild the app to check the Home screen label.

Change the iOS display name — screenshot 9
Change the iOS display name · Screenshot 9 of 9

Configuration details

  1. Android Name: Open Source_Code/Foodfeast_user_app/android/app/src/main/res/values/strings.xml and update:
    <?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">MyBistro</string> </resources>
  2. iOS Display Name: Open Source_Code/Foodfeast_user_app/ios/Runner/Info.plist and edit lines 8 & 16:
    <key>CFBundleDisplayName</key> <string>MyBistro</string> <key>CFBundleName</key> <string>MyBistro</string>
  3. In-App Strings: Open Source_Code/Foodfeast_user_app/assets/translations/en.json and replace "FoodFeast" with your brand name.
  4. Laravel Web Portal Name: In Source_Code/Foodfeast-Laravel-Dashboard-v1/.env, set:
    APP_NAME="MyBistro"
    Then clear cache: php artisan config:clear
How to Verify It Worked: Run flutter run on your phone or emulator. Press the device Home button. Look at the text label directly below the application icon — it will now display your new name.

2 Customization

Replace the default launcher icon on Android and iOS devices using the automated generator.

Find the launcher icon package

The screenshots show the launcher-icon setup flow. This release already includes flutter_launcher_icons; check pubspec.yaml before adding it again. Prepare a square 1024 × 1024 PNG.

Find the launcher icon package — screenshot 1
Find the launcher icon package · Screenshot 1 of 8

Select flutter_launcher_icons

Confirm the package name is flutter_launcher_icons when reviewing its setup instructions.

Select flutter_launcher_icons — screenshot 2
Select flutter_launcher_icons · Screenshot 2 of 8

Review the installation command

For a project without the package, add it with flutter pub add --dev flutter_launcher_icons. In this bundled project, use flutter pub get.

Review the installation command — screenshot 3
Review the installation command · Screenshot 3 of 8

Install the project dependencies

Run flutter pub get from the Flutter project root. The screenshot illustrates adding the package in a project that did not have it.

Install the project dependencies — screenshot 4
Install the project dependencies · Screenshot 4 of 8

Locate the icon configuration

This release has a flutter_launcher_icons: block in pubspec.yaml. Keep using that block. The screenshot shows optional standalone YAML generation for projects without configuration.

Locate the icon configuration — screenshot 5
Locate the icon configuration · Screenshot 5 of 8

Review the image path

Find image_path in the existing launcher-icon configuration. A newly generated configuration may contain a sample path as shown here.

Review the image path — screenshot 6
Review the image path · Screenshot 6 of 8

Set your logo image

Save your PNG as assets/images/app_logo.png and set image_path: "assets/images/app_logo.png". Keep Android and iOS enabled in the configuration.

Set your logo image — screenshot 7
Set your logo image · Screenshot 7 of 8

Generate the launcher icons

Run dart run flutter_launcher_icons from the Flutter project root. Rebuild and install the app to verify the launcher icon.

Generate the launcher icons — screenshot 8
Generate the launcher icons · Screenshot 8 of 8

Configuration details

  1. Prepare your image: Design a square PNG image (recommended size: 1024 × 1024 pixels). Ensure the graphic is centered so it does not clip on rounded or circular Android adaptive icons.
  2. Save file: Save your file directly to Source_Code/Foodfeast_user_app/assets/images/app_logo.png (overwriting the existing file).
  3. Run the generator command: Open your terminal in Source_Code/Foodfeast_user_app and execute:
    dart run flutter_launcher_icons
    This automated tool automatically creates all 16 required standard icon sizes for Android (mipmap ldpi through xxxhdpi) and iOS (AppIcon.appiconset).
How to Verify It Worked: Uninstall the previous build from your test device, then run flutter run. The app icon in the launcher and app drawer will display your new artwork.

3 Customization

3 Changing the Primary Color & Theme#

Update the primary brand color across all buttons, active tab indicators, price highlights, and header gradients.

Open lib

Expand the Flutter project’s lib folder.

Open lib — screenshot 1
Open lib · Screenshot 1 of 5

Open the app folder

Expand lib/app.

Open the app folder — screenshot 2
Open the app folder · Screenshot 2 of 5

Open theme

Expand lib/app/theme.

Open theme — screenshot 3
Open theme · Screenshot 3 of 5

Open app_colors.dart

Open lib/app/theme/app_colors.dart.

Open app_colors.dart — screenshot 4
Open app_colors.dart · Screenshot 4 of 5

Update the color palette

Edit the relevant constants in ColorPalette. Use Flutter’s Color(0xFFRRGGBB) format, save, and reload the app. Check button and text contrast after changing your brand colors.

Update the color palette — screenshot 5
Update the color palette · Screenshot 5 of 5

Configuration details

  1. Open Source_Code/Foodfeast_user_app/lib/app/theme/app_colors.dart in your code editor.
  2. Locate the ColorPalette class at the top of the file:
    class ColorPalette { // Change your primary brand hex code here: static Color primary = HexColor("#FF8C21"); // ← Change to your hex code static Color primaryLight = HexColor("#FFA043"); // ← Slightly lighter tint static Color primary1 = HexColor("#FF9900"); // ← Gradient accent ... }
  3. Replace #FF8C21 with your brand's primary HEX color code (e.g., #10B981 for emerald green, or #2563EB for royal blue).
  4. Save the file.
How to Verify It Worked: Perform a hot reload (press r in terminal) or re-launch the app. All primary action buttons (“Add to Cart”, “Proceed to Checkout”, active navigation bar icons) will reflect your new theme color instantly.

Update the portal brand colors

In the admin portal, open Business Setting and find Dashboard Customization. Update the available brand color controls and save. Reload the portal to verify the changes.

Business settings and dashboard customization
Business settings and dashboard customization

4 Customization

4 Updating the Splash Screen#

Customize the launch screen that appears while the application initializes into device memory.

BEFORE

Screenshot pending: Before Splash Change. Capture this step from a working FoodFeast installation before releasing buyer documentation.

Default Splash Screen
Placeholder: images/customization/04-splash-screen-before.png — “Default splash screen on cold app start”
AFTER

Screenshot pending: After Splash Change. Capture this step from a working FoodFeast installation before releasing buyer documentation.

Your Rebranded Splash Screen
Placeholder: images/customization/04-splash-screen-after.png — “Customized splash screen with buyer brand logo and color”

Step-by-Step Instructions:

  1. Native Splash Configuration: Open Source_Code/Foodfeast_user_app/pubspec.yaml and scroll to the bottom:
    flutter_native_splash: color: "#FFFFFF" # ← Splash background color image: "assets/images/app_logo.png" # ← Centered logo graphic android_12: image: "assets/images/app_logo.png" icon_background_color: "#FFFFFF" android: true ios: true
  2. Regenerate Native Assets: Run the following terminal command in Source_Code/Foodfeast_user_app:
    dart run flutter_native_splash:create
    This command automatically regenerates native launch screens for Android (including Android 12+ Material splash) and iOS LaunchScreen storyboards.
  3. Animated In-App Splash GIF (Optional): Replace assets/gif/splash_gif.gif with your custom animated brand transition, or adjust the duration in lib/pages/splash/splash_screen.dart.
How to Verify It Worked: Terminate the app on your phone, then tap the icon to perform a cold launch. Your custom logo and background color will display immediately upon opening.

5 Customization

5 Changing Package Name & Bundle Identifier#

Assign a unique reverse-domain identifier (e.g. com.yourcompany.fooddelivery) required to publish on the Google Play Store and Apple App Store.

Open Android

Expand the Flutter project’s android folder.

Open Android — screenshot 1
Open Android · Screenshot 1 of 7

Open the app module

Expand android/app.

Open the app module — screenshot 2
Open the app module · Screenshot 2 of 7

Open build.gradle

Open android/app/build.gradle.

Open build.gradle — screenshot 3
Open build.gradle · Screenshot 3 of 7

Set the Android application ID

Update namespace and defaultConfig.applicationId to your reverse-domain ID, such as com.yourcompany.fooddelivery. The screenshot shows the namespace location; the bundled default is com.foodfeast.customer. Also align the manifest package and MainActivity package declaration/path with your new namespace.

Set the Android application ID — screenshot 4
Set the Android application ID · Screenshot 4 of 7

Open iOS

Return to the Flutter project root and expand ios.

Open iOS — screenshot 5
Open iOS · Screenshot 5 of 7

Open Runner

Expand ios/Runner to inspect the iOS configuration.

Open Runner — screenshot 6
Open Runner · Screenshot 6 of 7

Check the bundle identifier reference

In Info.plist, keep CFBundleIdentifier pointing to $(PRODUCT_BUNDLE_IDENTIFIER). Set the actual Bundle Identifier for the Runner target in Xcode. Register the new IDs with Firebase and update the downloaded platform configuration files.

Check the bundle identifier reference — screenshot 7
Check the bundle identifier reference · Screenshot 7 of 7

Configuration details

  1. Android build.gradle: Open Source_Code/Foodfeast_user_app/android/app/build.gradle and update lines 11 and 21:
    android { namespace = "com.yourcompany.fooddelivery" // ← Update namespace defaultConfig { applicationId "com.yourcompany.fooddelivery" // ← Update Application ID minSdkVersion = 24 targetSdk = 36 ... } }
  2. Android Manifest: In android/app/src/main/AndroidManifest.xml line 2, ensure the package attribute matches:
    <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.yourcompany.fooddelivery">
  3. iOS Bundle Identifier: Open Source_Code/Foodfeast_user_app/ios/Runner.xcodeproj/project.pbxproj and replace com.foodfeast.customer with com.yourcompany.fooddelivery. (Alternatively, open the ios/ directory in Xcode and edit the Bundle Identifier field under the Runner → General tab).
  4. Firebase Reconfiguration (Crucial): When you change your package name, you must add the new Android and iOS identifiers to your Firebase project and download fresh google-services.json (for Android) and GoogleService-Info.plist (for iOS). See Firebase Setup Guide.
How to Verify It Worked: Run flutter build apk --debug. The build should complete successfully with your new package ID displayed in the build manifest.

6 Production Build

6 Generating Production Builds#

Compile release-ready binaries for app store submission or direct device installation.

  1. Clean cache before building:
    flutter clean flutter pub get
  2. Generate Release APK (Direct Android installation):
    flutter build apk --release
    Output location: build/app/outputs/flutter-apk/app-release.apk
  3. Generate Android App Bundle (AAB for Google Play Store upload):
    flutter build appbundle --release
    Output location: build/app/outputs/bundle/release/app-release.aab
  4. Generate iOS Archive (Requires macOS with Xcode 15+):
    flutter build ipa --release
    Output location: build/ios/archive/Runner.xcarchive

⚠️ Avoid Pitfalls

Common Rebranding Mistakes to Avoid#

1. Missing Trailing Slash in API Base URL: In lib/app/constants/app_constants.dart, your baseUrl must strictly end with a trailing forward slash:
✅ Correct: "https://api.yourdomain.com/api/"
❌ Incorrect: "https://api.yourdomain.com/api" (Will cause HTTP 404 route errors).
2. Package ID Mismatch with Firebase: Changing your package name in build.gradle without updating Firebase will cause push notifications and Google authentication to fail immediately upon app launch.
3. Low-Resolution or Non-Square Icons: Uploading an icon smaller than 1024×1024 px will result in pixelated or blurry launcher icons on modern high-DPI displays.
4. Forgetting to Run `flutter clean`: Always run flutter clean before building release binaries to ensure stale caches and precompiled native files are purged.
FoodFeast · Customization & Rebranding Guide v1.0 · © FoodFeast