A Flutter CLI tool to simplify your post-build workflow: auto-rename APKs, upload to File.io, and share via WhatsApp.
β¨ Features
- β Rename APK after build with version and timestamp
- βοΈ Upload to gofile.io and get a shareable link
- π¬ Optionally open WhatsApp Web with the APK link
- βοΈ Configurable using
pubspec.yaml
- π₯οΈ Auto-generates
flutterapk.bat
on Windows for one-click build & upload
π¦ Installation
Add this to your Flutter project:
dev_dependencies:
flutter_build_uploader: ^0.0.3
π§ Configuration
Add the following to your pubspec.yaml
:
flutter_build_uploader:
release: true # true = release, false = debug
whatsapp: true # open WhatsApp Web with the link (optional)
If not set, defaults are:
release: true
whatsapp: true
π οΈ Usage
π Run manually:
flutter build apk
dart run flutter_build_uploader
β‘ Windows users:
On first run, it auto-creates a flutterapk.bat
file:
flutter build apk --release
dart run flutter_build_uploader
Just double-click this file next time!
π§ͺ Example Output
β
APK found. Renaming...
π¦ APK renamed to: build/exports/myapp-v1.0.2-20250701_2100.apk
βοΈ Uploading to File.io...
β
Uploaded! Link: https://file.io/examplelink
π¬ Opening WhatsApp Web...
π§ Coming Soon
- Google Drive and Telegram uploads
.aab
support- QR code download page
- GitHub release automation
- GUI version (with Flutter Desktop)
π License
MIT Β© Ratul Hasan Ruhan