flutter_offline_sync_core 0.1.1
flutter_offline_sync_core: ^0.1.1 copied to clipboard
Offline-first write queue for Flutter/Dart: jobs and steps with ordered dependent API calls, partial retry, and conflict pause.
0.1.1 #
Fixes #
- Shorten pubspec description to meet pub.dev limits
- Correct homepage / documentation URLs (
lidhincs.github.io) - Remove obsolete
sqlite3_flutter_libsdependency (usesqlite33.x) - Raise
drift/drift_devlower bound to^2.35.3for generated manager APIs
0.1.0 #
Initial public release.
Features #
- Job/Step write queue with
SyncEngineand Drift-backedSyncDatabase JobBuilderfor enqueueing multi-step DAGs (dependsOn, cross-job deps)- Partial retry: successful steps keep output; only failed steps re-run
- Conflict handling via
SyncStepResult.conflict+resolveConflict syncAllauto-requeues retryable failed jobs (respects retry budget / backoff)isSyncing/isSyncingStreamfor foreground busy UI- Interrupted-work recovery (
recoverInterruptedWork) for stuckrunningrows - Cross-isolate DB lock + coalescing concurrent
syncAllcalls pruneCompletedJobsto bound history of success/cancelled jobs- Free-form job
metafor UI labels
Notes #
- Requires Drift codegen artifacts (
lib/src/db/database.g.dartis included)