buildshare.in
Frameworks

Flutter

Distribute Flutter Android APK and iOS IPA builds seamlessly with the BuildShare CLI.

Flutter provides powerful built-in tooling that compiles highly optimized binaries for Android and iOS, placing them in the build/ directory.


Typical Build Paths

  • Android APK: ./build/app/outputs/flutter-apk/app-release.apk
  • Android AAB: ./build/app/outputs/bundle/release/app-release.aab
  • iOS IPA: ./build/ios/ipa/MyApp.ipa

Automation Commands

Configure your androidPath (e.g. ./build/app/outputs/flutter-apk) and iosPath (e.g. ./build/ios/ipa) in buildshare.json with buildshare init to use platform uploads:

Android Build & Release

flutter build apk --release && buildshare upload android --notes "Flutter Android Release"

iOS Build & Release

flutter build ipa --release && buildshare upload ios --notes "Flutter iOS Release"

You can also pass binary file paths directly by specifying --app <projectId>:

flutter build apk --release && buildshare upload ./build/app/outputs/flutter-apk/app-release.apk --app <projectId> --notes "Flutter Android Release"

Multi-Platform Deploy Script

You can add a custom helper script or bash alias to compile and upload both platforms automatically:

# Clean, compile all platforms, and upload
flutter clean && \
flutter build apk --release && \
flutter build ipa --release && \
buildshare upload android --ci && \
buildshare upload ios --ci

On this page