Skip to main content

firebase_remote_update 0.2.1 copy "firebase_remote_update: ^0.2.1" to clipboard
firebase_remote_update: ^0.2.1 copied to clipboard

Reusable force/optional update gate for Flutter apps, backed by Firebase Remote Config and guarded by a real store-availability check (Play In-App Update on Android, iTunes lookup on iOS) so users are [...]

0.2.1 #

  • Fix: AppVersion.tryParse now finds the dotted version anywhere in the string and ignores decorations around it: 1.4.9 (149), 149 1.4.9, v1.4.9, release 1.4.9 build 149, 1.4.9-beta all parse as 1.4.9. The App Store lookup API returns the hand-written marketing version verbatim; when a developer typed the build number into it, the old parser returned null, the store gate failed open, and forced updates silently stopped on iOS. The same applied to Remote Config values with a suffix.
  • Safety: a string with two or more dotted versions (ambiguous) or with no parseable version still returns null, so callers keep failing open and a bad string can never force or lock users.

0.2.0 #

  • New: UpdateGateMode enum with nonBlocking (default) and blocking modes.
  • Breaking: UpdateGate now defaults to UpdateGateMode.nonBlocking — the app renders immediately and the update policy is evaluated in the background. If the result is forced, the gate swaps to forcedBuilder after evaluation completes.
  • To keep the old behavior (hide the app until the decision is resolved), pass mode: UpdateGateMode.blocking.
  • loadingBuilder is now only used in blocking mode. In nonBlocking mode it is ignored.
  • Optional updates and onDecision behavior are unchanged.

0.1.0 #

  • Initial release.
  • Force/optional update gate backed by Firebase Remote Config.
  • Store-availability check: Play In-App Update (Android) and iTunes lookup (iOS).
  • Fails-open design: any error results in no forced update.
  • Emergency override flag to bypass the store check.
  • UpdateGate widget for drop-in integration.
1
likes
0
points
172
downloads

Publisher

unverified uploader

Weekly Downloads

Reusable force/optional update gate for Flutter apps, backed by Firebase Remote Config and guarded by a real store-availability check (Play In-App Update on Android, iTunes lookup on iOS) so users are never locked out of a build that is not actually live.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

firebase_remote_config, flutter, http, in_app_update, package_info_plus, url_launcher

More

Packages that depend on firebase_remote_update