appdraft_flutter 1.0.5
appdraft_flutter: ^1.0.5 copied to clipboard
`appdraft_plugin` provides seamless background updates for Android apps built with Flutter. It checks for a new version, shows a customizable update dialog, and downloads the APK
appdraft_plugin #
Flutter plugin for automatic Android app updates.
Created by AppDraft β modern mobile and web solutions.
π¦ Overview #
appdraft_plugin
provides seamless background updates for Android apps built with Flutter.
It checks for a new version, shows a customizable update dialog, and downloads the APK silently in the background.
β¨ Features #
- π Checks for the latest app version from your server or API
- π§ Displays a native update prompt dialog
- π₯ Downloads the update in the background
- β Works without Google Play Store
- π οΈ Fully customizable version logic
- π§ͺ Environment- and Platform-Specific Updates
Supports separate update channels per
platform
(android
/ios
) andenvironment
(dev
/prod
). - π§ Smart Distribution Handling
Automatically handles updates based on distribution type:
store
: redirects the user to the appropriate store (Google Play / App Store).external
: downloads and installs the APK directly on Android devices.
π Getting Started #
Add this to your pubspec.yaml
:
dependencies: appdraft_plugin: ^1.0.2
Then run:
flutter pub get
π Permissions #
Make sure to add the following permissions to your AndroidManifest.xml
file: