multi_updater 1.0.5 copy "multi_updater: ^1.0.5" to clipboard
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.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:multi_updater/multi_updater.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp();
  runApp(
    UpdaterWrapper(
      iosPath: 'https://apps.apple.com/app/id1234567890',
      androidPath:
          'https://play.google.com/store/apps/details?id=com.example.app',
      jsonUrl: 'https://example.com/versions.json',
      onUpdateTap: null,
      child: const MyApp(),
    ),
  );
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(body: Center(child: Text("Hello from multi_updater"))),
    );
  }
}
1
likes
130
points
59
downloads

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Topics

#multi-updater #update #firebase #remote-config #app-store

Documentation

API reference

License

unknown (license)

Dependencies

firebase_remote_config, flutter, http, package_info_plus, url_launcher

More

Packages that depend on multi_updater