flutterpatch 0.1.5 copy "flutterpatch: ^0.1.5" to clipboard
flutterpatch: ^0.1.5 copied to clipboard

Umbrella client for Meta OTA — resource hot-update + Shorebird code push behind one init/wrap/sync API.

0.1.3 #

  • Per-patch resource tables: sync resolves target patch via patches/check, then syncs that patch's resource pack (patch_number + config_fingerprint).
  • init passes releaseVersion into HotAssets.init so upgrading the binary (e.g. 1.0.0+1 → 1.0.0+2) drops a stale local resource table.
  • Sync result exposes targetPatchNumber, updateAvailable, and FlutterPatchCodeResult.outdated / nextPatchNumber / hasResourceChanges.
  • Depends on hot_asset_gen ^0.1.1 and ota_protocol ^0.1.1.

0.1.2 #

  • Add FlutterPatch.image + String.flutterPatchImage / flutterPatchImageProvider for path-based (FlutterGen-friendly) hot images — no app-specific widgets required. Supports package / cacheWidth / cacheHeight (aligns with FlutterGen AssetGenImage.image).
  • Note: Dart cannot override AssetGenImage.image via extension; apps should add .patchImage on their generated AssetGenImage (see package assets_flutter_patch.dart).
  • Add FlutterPatchAssetImage / FlutterPatchExactAssetImage / FlutterPatch.assetImage: hot table first (no AssetManifest), else package assets.
  • Send setUniqueId as Meta OTA patches/check client_id so server-side whitelist_enabled can match.
  • Skip Shorebird download when Meta OTA returns patch_available: false (whitelist deny / no newer patch).
  • Add FlutterPatch.loadBytes and FlutterPatch.file: always return hot-aware bytes / an on-disk File with no caller-side hot/miss branching (file extracts from the package asset bundle into a local cache when not in the hot table).
  • Prefer loadBytes / file over manual resolveFile null checks in README.

0.1.1 #

  • Expose FlutterPatch.load, resolveFile, and assetBundle for non-Image.asset hot 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.
0
likes
125
points
724
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Umbrella client for Meta OTA — resource hot-update + Shorebird code push behind one init/wrap/sync API.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, hot_asset_gen, http, ota_protocol, package_info_plus, path, shorebird_code_push

More

Packages that depend on flutterpatch