🛒 Bringo

Seller App

Build Android (signed APK / AAB)

🛠️
Fix before release Like the Delivery app, the Seller app used debug signing for releases. A release-signing config is now in place — create your keystore and key.properties.

1. Create a keystore

keytool -genkey -v -keystore seller-release.keystore \
  -keyalg RSA -keysize 2048 -validity 10000 -alias seller
🔐
Back up the keystore + passwords — they're required for every future update.

2. Create android/key.properties

Copy android/key.properties.exampleandroid/key.properties and fill in:

storePassword=your-keystore-password
keyPassword=your-key-password
keyAlias=seller
storeFile=/absolute/path/to/seller-release.keystore

3. Set the version

Edit android/version.properties before every Play Store upload:

versionCode=2
versionName=1.0.1
versionCode
Integer. Must increase for every AAB you upload — Google rejects a bundle whose code is ≤ a previous upload.
versionName
The human-facing version string shown on the store listing (e.g. 1.0.1).
ℹ️
The build reads the version from android/version.properties directly, so your edits always stick. Don't edit the version in android/local.properties — Flutter regenerates that file from pubspec.yaml on every build, which is why version edits there kept resetting to 1.

4. Build

flutter build appbundle --release --dart-define=API_BASE=https://your-domain.com
flutter build apk --release --dart-define=API_BASE=https://your-domain.com
AAB
build/app/outputs/bundle/release/app-release.aab
APK
build/app/outputs/flutter-apk/app-release.apk

5. Publish

Upload the AAB to the Play Console as its own listing. Sellers install it to manage their stores.

👉
Next: Build iOS (note: the iOS project needs regenerating first).