app_update_pilot library
The complete app update lifecycle manager for Flutter.
Provides store version checks, force update walls, A/B rollout, rich changelogs, skip with cooldown, analytics hooks, and remote config from any JSON API.
Classes
- AppUpdatePilot
- The main entry point for app_update_pilot.
- ChangelogSheet
- A premium bottom sheet for displaying version changelogs.
- ForceUpdateWall
- A full-screen wall that blocks app usage until the user updates.
- MaintenanceWall
- A full-screen wall shown when the app is in maintenance mode.
- NativeUpdateInfo
- Result of a native update availability check.
- NativeUpdateManager
- Manages native in-app updates via platform channels.
- RolloutUtils
- Determines if the current device is in the rollout group based on a stable device identifier.
- SkipVersionManager
- Manages "skip this version" with a configurable cooldown period.
- UpdateAnalytics
- Callbacks for tracking update-related analytics events.
- UpdateBanner
- A non-intrusive banner widget for subtle update notifications.
- UpdateConfig
- Configuration for how update checks are performed and what rules apply.
- UpdatePilotGuard
- A wrapper widget that automatically checks for updates on initialization and shows the appropriate UI based on the result.
- UpdatePromptDialog
- A customizable update prompt dialog.
- UpdateStatus
- The result of an update check, describing what action (if any) is needed.
- VersionUtils
- Utility for comparing semantic version strings.
Enums
- BannerPosition
- Position of the banner relative to the child content.
- NativeUpdateType
- Type of native in-app update (Android only).
- UpdateAction
- Actions a user can take on the update prompt.
- UpdateUrgency
- How urgently the update should be presented to the user.
Typedefs
- UpdateActionCallback = void Function(UpdateAction action)
- Callback type for analytics hooks.