Skip to content
pubscout

firebase_update

2.0.0, released 4 weeks ago by afewgoodcoders.com

Force update, maintenance mode and patch notes via Firebase Remote Config for Flutter apps

$ flutter pub add firebase_update
Source repository

What it does

It listens to a Remote Config payload and shows non‑dismissable force‑update dialogs, optional update prompts, maintenance screens, and patch notes. The UI can be built-in or fully custom and reacts in real time.

AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a single Remote Config payload to control update flow
  • You want real‑time updates without restarting the app
  • You need both optional and force updates plus maintenance mode

Skip it when

  • You already have a custom update system that doesn’t use Firebase Remote Config
  • You need fine‑grained control over fetch intervals beyond what the package offers

Strengths

  • Real‑time Remote Config listening
  • Built‑in UI with full customization
  • Supports optional, force, and maintenance modes in one package
  • Handles patch notes in text or HTML

Weaknesses

  • Requires Firebase to be configured
  • Only works with Firebase Remote Config
  • Needs Flutter 3.32+
  • Limited to the provided UI unless fully custom

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
No
Direct dependencies
10

Add firebase_core and firebase_remote_config to pubspec, initialize Firebase in main, call FirebaseUpdate.instance.initialize with navigatorKey and config, ensure Remote Config parameter firebase_update_config is set.

import 'package:firebase_update/firebase_update.dart';

await FirebaseUpdate.instance.initialize(
  navigatorKey: rootNavigatorKey,
  config: const FirebaseUpdateConfig(),
);

Alternatives

Packages that do the same job and could replace firebase_update.

Works with

Packages commonly used together with firebase_update: ones it builds on, ones built on it, and its own family.