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

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

1.1.0 #

  • Feature: Added Offline File Upload support (MultipartRequests). Developers can now pass local file paths to addToQueue and they will automatically upload when internet is restored.
  • Doc: Added full dartdoc comments to 100% of the public API to achieve a perfect 140/140 pub.dev score.

1.0.0 #

  • Feature: Real-time streams for UI integration (AutoSyncManager.pendingItemsStream and isSyncingStream).
  • Feature: AES database encryption via flutter_secure_storage to secure offline payloads.
  • Feature: Queue prioritization (priority parameter in addToQueue).
  • Feature: Support for all HTTP methods (GET, POST, PUT, DELETE, PATCH).
  • Feature: Support for custom headers (e.g., Authorization tokens).
  • Fix: Proper retryCount persistence across app restarts.
  • Fix: Better HTTP success code handling (treats all 2xx responses as success).
  • Fix: Added concurrent sync lock to prevent duplicate network calls.

0.0.5 #

  • Fixed files

0.0.4 #

  • Fixed LICENSE file to use a recognized OSI-approved MIT license
  • Updated dependencies to latest compatible versions
  • Fixed analyzer warnings and improved code quality
  • Improved connectivity handling logic
  • Updated documentation

0.0.3 #

  • Updated dependencies to latest versions
  • Fixed connectivity check for new connectivity_plus API
  • Improved code quality based on Flutter analyzer suggestions
  • Added const constructors where possible
  • Improved documentation comments

0.0.2 #

  • Added retry mechanism for failed sync requests
  • Added updateItem method in LocalStorage
  • Improved offline queue reliability
  • Updated documentation

0.0.1 #

  • Initial release of flutter_auto_sync
  • Offline storage using Hive
  • Automatic sync when internet connectivity returns
1
likes
150
points
198
downloads

Documentation

API reference

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

MIT (license)

Dependencies

connectivity_plus, flutter, flutter_secure_storage, hive, hive_flutter, http, uuid

More

Packages that depend on flutter_auto_sync