flutter_ota_update 0.0.1
flutter_ota_update: ^0.0.1 copied to clipboard
OTA app updates from GitHub Releases. Download, verify and install new versions without an app store.
0.0.1 #
- Initial release (Android only).
checkForUpdatereads the latest GitHub release and compares it to the installed version.downloadAndInstalldownloads the APK, verifies its SHA-256 (GitHub asset digest or.sha256sidecar) and opens the Android installer.- Supports private repos via token, custom asset patterns and GitHub Enterprise.
REQUEST_INSTALL_PACKAGESis opt-in: apps declare it themselves, so depending on this package never adds a Play-restricted permission. Missing it throwsPERMISSION_NOT_DECLAREDbefore any download.- iOS, web and desktop throw
UNSUPPORTED_PLATFORMinstead ofMissingPluginException.