Skip to main content

offline_courier 0.2.0 copy "offline_courier: ^0.2.0" to clipboard
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_courier

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  offline_courier: ^0.2.0

Alternatively, 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';
1
likes
150
points
0
downloads

Documentation

API reference

Publisher

verified publisherteam17apps.link

Weekly Downloads

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 JobScheduler, BGTaskScheduler, SQLite and network monitoring are built in.

Repository (GitHub)
View/report issues

Topics

#offline #sync #http #background

License

MIT (license)

Dependencies

flutter

More

Packages that depend on offline_courier

Packages that implement offline_courier