Seller App
Rebranding
1. Package name / bundle id
The app ships as com.bringo.seller. 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.seller. Lowercase letters, digits and dots only; each segment must start with a letter.
The quick way
cd seller_app
flutter pub global activate rename
flutter pub global run rename setBundleId --targets android,ios --value com.yourcompany.seller
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
namespace and defaultConfig.applicationId. They should match.android/app/src/main/kotlin/…/MainActivity.kt starts with package com.bringo.seller. It must match the namespace.kotlin/com/bringo/seller/ must become kotlin/com/yourcompany/seller/. A mismatched folder still compiles but crashes on launch with ClassNotFoundException — the most common rebranding mistake.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.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 seller_app/android/app/src/main/kotlin
mkdir -p com/yourcompany/seller
git mv com/bringo/seller/MainActivity.kt com/yourcompany/seller/ # or plain mv
# then edit the first line of MainActivity.kt to: package com.yourcompany.seller
Check your work
From the app folder, these should return nothing:
grep -rn "com.bringo.seller" 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
AndroidManifest.xml → android:label (currently "Seller")Info.plist → CFBundleDisplayName (currently "Seller")3. Icon & logo
Replace seller_app/assets/images/app_icon.png (1024×1024) and regenerate both platforms:
cd seller_app
flutter pub get
dart run flutter_launcher_icons
Swap the in-app logo via assets/images/logo.png / logo_white.png. The Seller brand colour is indigo (#6366F1, primaryDark #4338CA) — set adaptive_icon_background / background_color_ios in pubspec.yaml to #4338CA.
seller_app/ios/Runner.xcodeproj/project.pbxproj is missing, run flutter create --platforms=ios --org com.yourcompany . inside seller_app/ once, then re-run the icon generator so iOS icons are produced too.4. Biometric app lock
The Seller app offers an optional fingerprint/Face-ID lock (handled by lib/core/app_lock/). No setup needed — sellers enable it in the app's settings. Make sure your iOS build includes a Face ID usage description if you keep it.
5. Notification channels
Two channels are defined in lib/core/push/push_service.dart: seller_orders (critical new-order alerts) and seller_general. Rename their labels to your brand if desired.
l10n ARB files (same approach as the Delivery app).