multi_updater 1.0.5
multi_updater: ^1.0.5 copied to clipboard
A Flutter package that checks for app updates via Firebase Remote Config or a custom JSON endpoint, and shows users an update prompt with a direct link to App Store or Play Store.
multi_updater #
A lightweight Flutter package that checks for app updates via Firebase Remote Config or a custom JSON API.
It shows an update dialog with options to update via App Store or Play Store — or to exit the app.
✨ Features #
- 🔥 Firebase Remote Config support
- 🌐 Custom JSON endpoint fallback
- 📲 Works on both Android & iOS
- 🧱 Uses a simple wrapper — no need to modify every screen
- 🆕
onUpdateTapsupport — override default behavior
🚀 Getting Started #
Add dependency #
🚀 Usage #
void main() {
runApp(
UpdaterWrapper(
iosPath: "https://apps.apple.com/app/id1234567890",
androidPath: "https://play.google.com/store/apps/details?id=com.example.app",
useFirebase: true,
remoteConfigKey: "latest_version",
jsonUrl: "https://example.com/version.json",
onUpdateTap: null, // optional: nothing happens if tapped
child: const MyApp(),
),
);
}
```yaml
dependencies:
multi_updater: ^1.0.5