bloom_updates library
Comprehensive in-app update and OTA management subsystem for Bloom applications.
Exports update manifests, staged rollout resolvers, crash watchdog self-healing, runtime binary fingerprinting, HTTP update adapters, and update UI dialogs.
Example:
import 'package:bloom_framework/bloom_updates.dart';
void main() async {
final updates = BloomUpdates();
final hasUpdate = await updates.checkForUpdate();
}
Classes
- BloomHttpUpdateAdapter
- Real HTTP and CDN network adapter for checking, downloading, and verifying OTA patches.
- BloomRuntimeFingerprint
- Cryptographic Runtime Fingerprint generator and validator.
- BloomUpdateBanner
- Pre-built reactive in-app update banner.
- BloomUpdateClientAdapter
- Network and platform adapter contract for fetching and applying OTA updates.
- BloomUpdateDialog
- Modal dialog for mandatory or recommended OTA updates.
- BloomUpdates
- Enterprise-grade Over-The-Air (OTA) Updates and Runtime Fingerprint Engine.
- InMemoryWatchdogStorage
- In-memory default implementation of WatchdogStorage (useful for testing).
- MockBloomUpdateClientAdapter
- In-memory mock client adapter used in development and tests.
- StagedRolloutEvaluator
- Evaluates deterministic staged percentage rollouts for OTA updates.
- StartupCrashWatchdog
- Self-healing startup watchdog that detects crash loops on downloaded OTA patches and automatically falls back to the embedded base binary.
- UpdateCheckResult
-
Result returned from
BloomUpdates.checkForUpdate(). - UpdateManifest
- Manifest describing a downloadable Over-The-Air (OTA) patch.
- WatchdogStorage
- Delegate interface for persisting watchdog crash counts and active patch states across restarts.