r_upgrade
0.4.2, released 4 years ago by rhyme95.cn
Upgrade and install applications on Android and iOS.
What it does
Allows Flutter applications to handle self-updates, download APKs or patches with progress monitoring, trigger installs, and redirect users to app stores like Google Play or Apple App Store.
AI-written summary of version 0.4.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need in-app updates via custom download links or app stores.
- You want to monitor download progress for large updates.
Skip it when
- You only want official platform store update dialogs without custom downloading logic.
- You are developing for web or desktop platforms.
Strengths
- Supports multiple upgrade flavors including normal, hot, and incremental upgrades.
- Provides stream listeners for tracking download speed, progress, and status.
Weaknesses
- Platform support is limited to Android and iOS.
- Requires manual permission configurations and platform setup.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 0
Requires adding permissions like REQUEST_INSTALL_PACKAGES and WRITE_EXTERNAL_STORAGE for Android, and configuring optional notification styles or xml values.
void upgradeFromUrl() async {
bool isSuccess = await RUpgrade.upgradeFromUrl('https://www.google.com');
}Alternatives
Packages that do the same job and could replace r_upgrade.
- upgrader
Prompt users to upgrade when a newer version of the app is available in the store.
91Compare - rate_my_app
Ask users to rate your app if custom conditions like install time or launches are met.
85Compare - play_install_referrer
Flutter plugin to fetch Android Play Store install referrer details
81Compare - playx_version_update
Easily show material update dialogs or Cupertino dialogs with native Android in-app update support.
71Compare
Works with
Packages commonly used together with r_upgrade: ones it builds on, ones built on it, and its own family.