app_autoupdate 0.0.4 copy "app_autoupdate: ^0.0.4" to clipboard
app_autoupdate: ^0.0.4 copied to clipboard

A Flutter package to autoupdate from remote like github releases.

app_autoupdate helps users to donwload and install app update from GitHUb releases.

Features #

Download latest update from GitHub releases and install it. Before installing a confirmation dialog will be shown

Getting started #

Before using the package make sure there are sufficient permissions added in AndroidManifest.xml

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

Usage #

Call the widget inside build method

AppUpdateWidget(
    owner: '<repo-owner>',
    repo: '<repository-name>',
    onUpdateComplete: () {
        setState(() {
            // Handle update completion
        });
    }
)

Additional information #

Repo url :https://github.com/SanuSanal/app_autoupdate

1
likes
125
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to autoupdate from remote like github releases.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

device_info_plus, dio, flutter, http, open_filex, package_info_plus, path_provider

More

Packages that depend on app_autoupdate