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

A Flutter package for offline data storage and automatic API synchronization when internet connectivity is restored.

Flutter Auto Sync #

A Flutter package that automatically stores API requests offline and syncs them when internet connectivity returns.

Features #

✔ Offline data storage
✔ Automatic background sync
✔ Retry mechanism
✔ Queue-based request system

Installation #

dependencies: flutter_auto_sync: ^0.0.2

Usage #

import 'package:flutter_auto_sync/flutter_auto_sync.dart';

await AutoSyncManager.init();

await AutoSyncManager.addToQueue( endpoint: "https://api.example.com/data", data: {"name": "Roopa"}, );

Example #

See the example folder for a full demo.

1
likes
0
points
193
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for offline data storage and automatic API synchronization when internet connectivity is restored.

Repository (GitHub)
View/report issues

Topics

#offline #sync #networking #storage

License

unknown (license)

Dependencies

connectivity_plus, flutter, hive, hive_flutter, http, uuid

More

Packages that depend on flutter_auto_sync