Search packages, repositories and app categories

simple_update_dialog cover
Package detailsv1.0.4

simple_update_dialog

A simple package for showing a paltform-specific dialog to promote users to update the app.

AndroidiOSmacOSWindowsLinux
30-day downloads
27
Likes
4
Pub points
160

Install package

flutter pub add simple_update_dialog

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A lightweight Flutter package that displays a platform-specific dialog to prompt users to update the app. Designed to seamlessly integrate with Android, iOS, macOS, Windows, and Linux, it provides a native-like update experience without requiring complex configuration. The dialog can be triggered when a new version is detected, helping improve user retention by encouraging timely updates. It supports custom messages, buttons, and optional links to app stores or update instructions.

Use cases

  • Prompting users to update after a new release
  • Improving app retention through update reminders
  • Displaying update notifications in a native style
  • Integrating with CI/CD pipelines for automatic update checks
  • Providing a consistent update experience across platforms

Key features

  • Platform-specific UI rendering
  • Simple integration with minimal setup
  • Customizable message and button text
  • Supports deep links to app stores
  • Cross-platform compatibility (Android, iOS, macOS, Windows, Linux)

Suitable for

  • Developers seeking a straightforward app update prompt
  • Apps requiring frequent updates with user engagement
  • Projects aiming for native-looking dialogs on multiple platforms
  • Teams wanting to reduce boilerplate code for update dialogs

Considerations

  • Requires manual version checking logic outside the package
  • Does not handle automatic download or installation
  • Limited customization beyond basic text and buttons
  • Best used with a backend or version check service
  • Not suitable for silent or background updates

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

simple_update_dialog

A simple package for showing a paltform-specific dialog to promote users to update the app.

Usage

To use this plugin, add simple_update_dialog as a dependency in your pubspec.yaml file.

Screenshots

Screenshot Screenshot
Example
import 'package:flutter/material.dart';
import 'package:simple_update_dialog/simple_update_dialog.dart';

class HomePage extends StatelessWidget {
  const HomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: ElevatedButton(
          onPressed: () {
            SimpleUpdateDialog.showUpdateDialog(
              context: context,
              isForceUpdate: false,
              dialogConfig: DialogConfig(
                appStoreUrl: '',
                playStoreUrl: '',
                currentVersion: '1.0.0',
                latestAndroidVersion: '1.0.1',
                latestIOSVersion: '1.0.1',
                minAndroidAppVerAllowed: '1.0.0',
                minIOSAppVerAllowed: '1.0.0',
              ),
            );
          },
          child: const Text("Show Update Dialog"),
        ),
      ),
    );
  }
}

See the example app for better understanding.

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package

No data available yet.