flutter_xupdate
3.0.0, released 4 years ago by xuexiangjys.club
Flutter plugin for Android app update checks and installation using XUpdate library.
What it does
Provides initialization, version check, custom JSON parsing, and update UI for Android apps. Supports silent install, auto mode, and customizable dialogs.
AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need in‑app update functionality on Android only
- You want a ready‑made UI for prompting users to download a new APK
Skip it when
- Your app targets iOS or other platforms
- You require cross‑platform update handling
Strengths
- Easy integration with XUpdate
- Customizable dialog appearance
- Supports silent install and auto mode
Weaknesses
- Android‑only, no iOS support
- Relies on native XUpdate library
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Add dependency, call FlutterXUpdate.init on Android, ensure required Android permissions for storage and install unknown apps
void initXUpdate(){if(Platform.isAndroid){FlutterXUpdate.init(debug:true).then((v)=>print('init $v'));}}Alternatives
Packages that do the same job and could replace flutter_xupdate.
- update_available
Check if an update is available for your Flutter app on Android and iOS.
81Compare - flutter_upgrade_version
Get package info, Apple Store version details, and manage Android in-app updates.
79Compare - check_app_version
Check app version against app stores or remote JSON and display update dialogs.
74Compare - in_app_update
Triggers official Google Play In-App Updates on Android devices.
81Compare
Works with
Packages commonly used together with flutter_xupdate: ones it builds on, ones built on it, and its own family.