🛒 Bringo

Delivery App

Rebranding

Same idea as the Customer app — give the Delivery app your identity.

1. Package name / bundle id

The app ships as com.bringo.delivery. This id is how Google Play and the App Store identify your app — change it before you create Firebase apps, store listings or signing keys, because on Play it can never be changed after the first upload.

Pick a reverse-domain id you control, e.g. com.yourcompany.delivery. Lowercase letters, digits and dots only; each segment must start with a letter.

The quick way

cd delivery_app
flutter pub global activate rename
flutter pub global run rename setBundleId --targets android,ios --value com.yourcompany.delivery

That covers most files, but it does not touch the Firebase config, and depending on the version it may leave the Kotlin source directory behind. Always finish with the checklist below.

Every place the id appears

android/app/build.gradle.kts
Two entries: namespace and defaultConfig.applicationId. They should match.
MainActivity.kt — the package line
android/app/src/main/kotlin/…/MainActivity.kt starts with package com.bringo.delivery. It must match the namespace.
MainActivity.kt — the folder path
The folders mirror the id: kotlin/com/bringo/delivery/ must become kotlin/com/yourcompany/delivery/. A mismatched folder still compiles but crashes on launch with ClassNotFoundException — the most common rebranding mistake.
android/app/google-services.json
package_name must equal the new applicationId, or the Gradle plugin fails the build outright. Easiest fix: register the new id in Firebase and download a fresh file.
iOS bundle identifier
PRODUCT_BUNDLE_IDENTIFIER in ios/Runner.xcodeproj/project.pbxproj — it appears once per build configuration (Debug/Release/Profile), plus the .RunnerTests variants. Xcode's target settings change them all at once.

Rename the Kotlin folder

cd delivery_app/android/app/src/main/kotlin
mkdir -p com/yourcompany/delivery
git mv com/bringo/delivery/MainActivity.kt com/yourcompany/delivery/   # or plain mv
# then edit the first line of MainActivity.kt to: package com.yourcompany.delivery

Check your work

From the app folder, these should return nothing:

grep -rn "com.bringo.delivery" android/ ios/ lib/

And this should list the new path only:

find android/app/src/main/kotlin -name MainActivity.kt

Then do a clean build — a stale build directory hides id problems:

flutter clean && flutter run

2. App display name

Android
AndroidManifest.xmlandroid:label (currently "Partner")
iOS
Info.plistCFBundleDisplayName (currently "Delivery App")

3. Icon & logo

Replace delivery_app/assets/images/app_icon.png (1024×1024) and regenerate both platforms:

cd delivery_app
flutter pub get
dart run flutter_launcher_icons

Swap the in-app logo via assets/images/logo.png / logo_white.png. The Delivery brand colour is emerald (#10B981, primaryDark #047857) — set adaptive_icon_background / background_color_ios in pubspec.yaml to #047857.

🖼️
Full cross-app walkthrough (all 3 apps, both platforms): Change the App Logo.

4. Languages

The Delivery app is translated from your server, not from bundled language files. English text in the Dart code is the translation key; the app downloads the matching translations for the rider's chosen language and caches them on the device.

Add or edit a language
Admin → Languages. Add the language, then translate the entries (auto-translate is available). Riders pick it in the app — no rebuild, no app-store update.
English source strings
lib/core/i18n/app_strings.dart — the list of every translatable string in the app. Only touch it if you change wording in the Dart code.
Loader
lib/core/i18n/translation_controller.dart — fetches the language list and translation map from your backend.
🌐
All three apps, the website and the admin panel share the same translation store, so a phrase you translate once is available everywhere. See Languages & Translations.

5. Notification channel

The "New orders" channel is created in lib/core/push/push_service.dart (channel id partner_orders) — rename the label to your brand if you like.