Skip to content
pubscout

release_updater

1.3.4, released 9 days ago by an unverified publisher

Automatically update release and installation files in a local directory.

$ flutter pub add release_updater
Source repository

What it does

Provides an API and CLI tools to automatically update release and installation files in a local directory. It includes utilities to package releases into ZIP bundles and serve them via an HTTP server.

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

Use it when

  • You need to implement self-updating capabilities for a local Dart application.
  • You want to generate release bundles and serve them over HTTP for multiple platforms.

Skip it when

  • You are deploying standard mobile apps via Google Play or the Apple App Store.
  • You do not need local file installation updates or custom release servers.

Strengths

  • Includes built-in CLI tools for packing and serving releases.
  • Supports multiple platforms (Android, iOS, Windows, macOS, Linux).
  • Integrates with HTTP providers and basic authentication for uploads.

Weaknesses

  • Requires setting up and managing a custom release server for updates.
  • Documentation outside of the README relies entirely on external API docs.

Setup

Kind
Pure Dart
Effort
Medium
Code generation
No
Direct dependencies
15

Requires configuring a release JSON file for the packer and optionally running the release server CLI.

import 'dart:io';
import 'package:release_updater/release_updater_io.dart';

void main() async {
  var storage = ReleaseStorageDirectory('appx', Directory('/install/path'));
  var provider = ReleaseProviderHttp.baseURL('https://your.domain/appx/releases');
  var releaseUpdater = ReleaseUpdater(storage, provider);
  var version = await releaseUpdater.update();
  print('»  Updated to version: $version');
}

Alternatives

Packages that do the same job and could replace release_updater.

Works with

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