sync_offline_requests 1.2.1
sync_offline_requests: ^1.2.1 copied to clipboard
A Flutter package that provides offline-first HTTP request handling with automatic synchronization when internet connectivity is restored.
1.2.1 #
- Updated example app to demonstrate PUT, DELETE, and custom headers
- Updated README Quick Start section with all new API methods
1.2.0 #
New Features #
- Added
OfflineSync.put()for offline-first PUT requests - Added
OfflineSync.delete()for offline-first DELETE requests - Added
headersparameter topost(),put(), anddelete()for custom HTTP headers (e.g. Authorization tokens) maxRetryCountis now configurable viaOfflineSync.initialize(maxRetryCount: 5)
Bug Fixes #
- Fixed compatibility with
connectivity_plusv6.x which returnsList<ConnectivityResult>instead of a single value
Improvements #
- Bumped
connectivity_plusdependency to^6.0.0 - SQLite database migrated to version 2 (adds
headerscolumn with backward-compatible migration) - Added unit tests for initialization, callbacks, and queue management
1.1.1 #
- Removed decorative icons from documentation for cleaner look
- Minor documentation updates
1.1.0 #
- Bumped version to stable 1.1.0
- Stabilized API and improved documentation
1.0.5 #
- Improved documentation with failed request cleanup features
- Added usage examples for clearing failed requests
1.0.4 #
- Fixed README.md formatting and emoji encoding
- Improved code examples in documentation
1.0.3 #
- Improved documentation and package metadata
1.0.0 #
- Initial stable release
- Offline-first HTTP request queue
- Automatic sync when internet is restored
- Retry mechanism with configurable max retries
- SQLite-based persistent request storage
- Sync lifecycle callbacks
- Example application included