app_update_gate 0.1.2
app_update_gate: ^0.1.2 copied to clipboard
Source-agnostic force/optional update gate for Flutter. Bring your own update policy source (REST API or any backend), guarded by a real store-availability check (Play In-App Update on Android, iTunes [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add app_update_gateThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
app_update_gate: ^0.1.2Alternatively, 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:app_update_gate/app_update_gate.dart';