in_app_update_flutter
4.1.3, released 5 days ago by pulkitagarwal.me
Prompt users for in-app updates using StoreKit on iOS and Play Core API on Android.
What it does
A Flutter plugin that provides native in-app update experiences. It uses StoreKit on iOS to display the App Store product page inside the app and Google Play's In-App Updates API on Android for immediate or flexible update flows.
AI-written summary of version 4.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to prompt users to update your app directly inside the app on Android and iOS.
- You need to support immediate or flexible update flows on Android using Google Play.
- You want to check for available updates and download progress programmatically.
Skip it when
- Your app targets platforms other than Android and iOS (such as Web or Desktop).
- You prefer completely custom UI update prompts rather than native store sheets.
Strengths
- Supports native in-app updates on both Android and iOS from a single package.
- Provides stream-based tracking of download progress on Android.
- Allows checking version availability before displaying prompts on both platforms.
Weaknesses
- iOS version checking relies on an unofficial iTunes Lookup endpoint that can experience CDN caching delays.
- iOS does not support true forced blocking updates natively.
- Does not work on iOS simulators.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Requires iOS 13.0 or later and testing on a real device. No native setup or AppDelegate changes needed.
import 'package:in_app_update_flutter/in_app_update_flutter.dart';
final plugin = InAppUpdateFlutter();
final info = await plugin.checkUpdateAndroid();
if (info.updateAvailability == UpdateAvailabilityAndroid.updateAvailable &&
info.isImmediateUpdateAllowed) {
await plugin.startImmediateUpdateAndroid();
}Alternatives
Packages that do the same job and could replace in_app_update_flutter.
- in_app_purchase
Flutter plugin for making in-app purchases through the App Store and Google Play.
94Compare
Works with
Packages commonly used together with in_app_update_flutter: ones it builds on, ones built on it, and its own family.