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.example → android/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
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
build/app/outputs/bundle/release/app-release.aabbuild/app/outputs/flutter-apk/app-release.apk5. 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).