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

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

flutterpatch #

Umbrella client for Meta OTA: resource hot-update + Shorebird code push.

Integrate #

runApp(await FlutterPatch.bootstrap(const MyApp(), appPackage: 'my_app'));

FlutterPatch.setUniqueId(id); // when you have it (nullable)
await FlutterPatch.sync();    // when you have network

uniqueId(客户端判断) #

请求协议不变。check 响应里的 unique_ids 由客户端过滤:

响应 unique_ids setUniqueId 是否下载
空 / 无 任意
非空 空 / 未命中
非空 命中

Network #

bootstrap 不上网;由业务在合适时机调用 sync

0
likes
130
points
90
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, shorebird_code_push

More

Packages that depend on flutterpatch