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
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.
- firebase_core_web
Web implementation of firebase_core for Flutter apps.
83Compare - firebase_storage_web
Web implementation of Firebase Storage for Flutter.
77Compare - firebase_analytics_web
Web implementation of Firebase Analytics for Flutter apps.
77Compare - firebase_ui_firestore
Pre-built widgets and utilities for integrating Firebase Firestore into Flutter apps.
87Compare
Works with
Packages commonly used together with firebase_update: ones it builds on, ones built on it, and its own family.
- htmlfirebase_update depends on itA Dart implementation of an HTML5 parser for strings and bytes.
- http_parserfirebase_update depends on itA platform-independent package for parsing and serializing HTTP formats.
- url_launcherfirebase_update depends on itFlutter plugin for launching URLs across mobile, desktop, and web platforms.
- shared_preferencesfirebase_update depends on itFlutter plugin for reading and writing simple key-value pairs. Wraps NSUserDefaults on iOS and SharedPreferences on Android.
- package_info_plusfirebase_update depends on itFlutter plugin to query app package info like version, build number and installer store.
- firebase_corefirebase_update depends on itFlutter plugin that initializes Firebase and allows multiple Firebase app connections.
- firebase_remote_configfirebase_update depends on itFlutter plugin for Firebase Remote Config API
- flutter_widget_from_html_corefirebase_update depends on itRender HTML content as native Flutter widgets with correctness and extensibility.