Skip to main content

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

A force or optional update gate for Flutter, driven by your own API: a custom card, an offline latch for forced updates, and allow-listed download links.

Changelog #

0.1.0 #

  • First release.
  • UpdateController: turns your API's update manifest into none, optional or forced, with integer build floors and dotted versions.
  • UpdateGate: the optional card (with "Skip this version") and the un-poppable forced block; deferForced, showOptionalOverlay and cardBuilder to fit your app.
  • An offline latch, so a forced update the app has seen can't be escaped by going offline.
  • reportServerFloor for an X-Min-Build floor read off any response.
  • Allow-listed download hosts (allowedDownloadHosts, setMoreDownloadHosts); no hosts opens no https link.
  • Allow-listed store apps (allowedStoreAppIds, allowAnyStoreLink): a market:// or itms-apps:// link opens only an app you list; none opens no store link.
  • refresh() joins a refresh already on its way, and keeps the 6-hour throttle for a check that applied a manifest: a failed one is retried after minRetryInterval (1 minute). refresh(reconnect: true), for the network coming back, skips that minute once after a failed attempt, never after one that applied a manifest. A clock for tests.
  • Runs on Android, iOS, Linux, macOS, Windows and the web.
0
likes
160
points
2
downloads

Documentation

API reference

Publisher

verified publisherkiritex.com

Weekly Downloads

A force or optional update gate for Flutter, driven by your own API: a custom card, an offline latch for forced updates, and allow-listed download links.

Homepage
Repository (GitHub)
View/report issues

Topics

#update #force-update #app-update #versioning #upgrade

License

MPL-2.0 (license)

Dependencies

flutter, material_ui, url_launcher

More

Packages that depend on remote_update_gate