update_app_k 0.1.8
update_app_k: ^0.1.8 copied to clipboard
Update the app, pass in the updated address, and update the app. The Android part is implemented using DownloadManager.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add update_app_kThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
update_app_k: ^0.1.8Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:update_app_k/bean/download_process.dart';
import 'package:update_app_k/constant/argument_name.dart';
import 'package:update_app_k/constant/channel_name.dart';
import 'package:update_app_k/update_app.dart';