ota_update
7.1.0, released 12 months ago by 4q.eu
Flutter plugin for over-the-air updates, downloading and installing APKs on Android.
What it does
Provides over-the-air (OTA) updates for Android by downloading the file with progress reporting and triggering app installation intents. Also supports a PackageInstaller method and silent updates for system apps.
AI-written summary of version 7.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to implement in-app self-updates (OTA) for Android applications.
- You need download progress reporting during the update file retrieval.
- You are building system apps, kiosk apps, or custom Android ROMs requiring silent installation.
Skip it when
- You are publishing primarily through official stores like Google Play which handle updates automatically.
- You need fully functional iOS OTA updates out of the box (iOS safari redirection is currently not functioning).
Strengths
- Supports download progress reporting via streams.
- Supports SHA-256 checksum verification to ensure file integrity.
- Supports silent installation for system apps.
Weaknesses
- iOS support is currently not functioning.
- Requires manual setup of Android permissions, FileProvider, and core library desugaring.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 0
Requires enabling core library desugaring in build.gradle, adding AndroidManifest permissions, FileProvider, and InstallResultReceiver.
OtaUpdate().execute('https://internal1.4q.sk/flutter_hello_world.apk', destinationFilename: 'flutter_hello_world.apk').listen((OtaEvent event) { setState(() => currentEvent = event); });Alternatives
Packages that do the same job and could replace ota_update.
- in_app_update
Triggers official Google Play In-App Updates on Android devices.
81Compare - flutter_rustore_update
Flutter RuStore Update SDK.
75Compare - proximity_sensor
Flutter plugin to read proximity sensor events on Android and iOS
70Compare - flutter_app_update
A simple lightweight and customizable version update library for Flutter
61Compare