flutterpatch 0.1.4
flutterpatch: ^0.1.4 copied to clipboard
Umbrella client for Meta OTA — resource hot-update + Shorebird code push behind one init/wrap/sync API.
0.1.2 #
- Add
FlutterPatch.image+String.flutterPatchImage/flutterPatchImageProviderfor path-based (FlutterGen-friendly) hot images — no app-specific widgets required. Supportspackage/cacheWidth/cacheHeight(aligns with FlutterGenAssetGenImage.image). - Note: Dart cannot override
AssetGenImage.imagevia extension; apps should add.patchImageon their generatedAssetGenImage(see packageassets_flutter_patch.dart). - Add
FlutterPatchAssetImage/FlutterPatchExactAssetImage/FlutterPatch.assetImage: hot table first (no AssetManifest), else package assets. - Send
setUniqueIdas Meta OTApatches/checkclient_idso server-sidewhitelist_enabledcan match. - Skip Shorebird download when Meta OTA returns
patch_available: false(whitelist deny / no newer patch). - Add
FlutterPatch.loadBytesandFlutterPatch.file: always return hot-aware bytes / an on-diskFilewith no caller-side hot/miss branching (fileextracts from the package asset bundle into a local cache when not in the hot table). - Prefer
loadBytes/fileover manualresolveFilenull checks in README.
0.1.1 #
- Expose
FlutterPatch.load,resolveFile, andassetBundlefor non-Image.assethot resources (audio, video file APIs, share bitmaps). - Document resource hot-update scope and image OTA smoke checklist.
0.1.0 #
- Initial release: umbrella client for resource hot-update and Shorebird code push.