offline_courier 0.2.0
offline_courier: ^0.2.0 copied to clipboard
Offline-first outbox for Flutter. Persists failed HTTP requests and replays them with exponential backoff and jitter when the network returns, even after the app is killed. Zero dependencies: native J [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add offline_courierThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
offline_courier: ^0.2.0Alternatively, 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:offline_courier/offline_courier.dart';