release_updater
1.3.4, released 9 days ago by an unverified publisher
Automatically update release and installation files in a local directory.
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.
- path_provider
Provides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
93Compare - file_selector_macos
macOS implementation of the file_selector plugin
82Compare - flutter_archive
Create and extract ZIP archive files in Android, iOS and macOS.
89Compare - flutter_downloader
Plugin to create and manage background download tasks on Android and iOS.
80Compare
Works with
Packages commonly used together with release_updater: ones it builds on, ones built on it, and its own family.
- archiverelease_updater depends on itEncodes and decodes archive and compression formats such as zip, tar, gzip, and zlib.
- yamlrelease_updater depends on itA Dart library for parsing YAML documents into Dart data structures.
- cryptorelease_updater depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- pub_semverrelease_updater depends on itVersions and version constraints implementing pub's versioning policy.
- shelfrelease_updater depends on itComposable web server middleware for Dart
- shelf_staticrelease_updater depends on itServe static files over HTTP with the shelf package
- googleapis_authrelease_updater depends on itObtain Access credentials and authenticated HTTP clients for Google APIs using OAuth 2.0.
- gcloudrelease_updater depends on itHigh-level Dart API for Google Cloud Storage, Pub/Sub, and Datastore.