Flutter Android Build Configuration
Flotio provides high-performance Flutter build pipelines with full control over Android output formats (AAB / APK), Gradle flavors, Dart defines, ProGuard obfuscation, and automated signing.
1. Output Format: App Bundle (AAB) vs APK
You can configure your target output format in Project > Configuration > Build Defaults:
- AAB (Android App Bundle): Recommended for Google Play Store publishing. Generates dynamic split APKs tailored to user devices.
- APK (Universal Binary): Recommended for QA testing, internal distribution, and direct installation on Android devices.
2. Flutter SDK Version Selection
Lock your build pipeline to a specific Flutter SDK release or channel:
3. Build Flavors & Entrypoints
If your Flutter application uses Gradle flavors (e.g. dev, staging, production), specify the target entrypoint and flavor in your build arguments:
android/app/build.gradle flavor dimensions match the flavor names specified in Flotio.4. Version Code & Version Name Overrides
Easily inject semantic version names and incrementing version codes without modifying pubspec.yaml:
5. Dart Defines & Compile-Time Constants
Inject compile-time variables safely without committing sensitive keys into your Git repository:
In your Flutter code: