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: