synq_manager 1.0.4 copy "synq_manager: ^1.0.4" to clipboard
synq_manager: ^1.0.4 copied to clipboard

A powerful synchronization manager for Flutter apps with secure local storage, real-time state management, and background cloud sync capabilities.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.4 #

Enhanced #

  • ๐Ÿš€ Initial Sync Improvement: First-time connection now automatically syncs all local data to cloud
  • ๐Ÿ“ค Complete Data Upload: When _lastSyncTimestamp == 0, all existing local data is included in the initial sync
  • ๐Ÿ”„ Better Sync Logic: Improved sync behavior for first-time users and fresh installations

1.0.3 #

  • new structure

1.0.2 #

Changed #

  • ๐Ÿ“ฑ Platform Support: Limited to Android and iOS only due to WorkManager dependency requirements
  • ๐Ÿงน Removed desktop and web platform files to reduce package size
  • ๐Ÿ“ Updated documentation to reflect mobile-only support

Removed #

  • ๐Ÿ—‘๏ธ Linux, macOS, Windows, and Web platform support
  • ๐Ÿ—‘๏ธ Desktop-specific configuration files

1.0.1 #

Fixed #

  • ๐Ÿ“ Updated documentation and examples
  • ๐Ÿ› Minor bug fixes and improvements
  • โœ… Package validation improvements

1.0.0 #

Added #

  • ๐ŸŽ‰ Initial release of SynQ Manager
  • โšก Offline-first synchronization layer for Flutter applications
  • ๐Ÿ”€ Real-time and configurable sync policies
  • ๐Ÿ‘ค Guest mode support with account upgrade capability
  • ๐Ÿ”„ Background synchronization using WorkManager
  • ๐Ÿ”Œ Backend-agnostic architecture:
    • CloudAdapter interface for any backend implementation
    • No built-in backend dependencies - complete freedom of choice
    • Examples for REST API, Supabase, Firebase, and more
  • ๐Ÿ’พ Local storage support:
    • Hive implementation with type adapters
    • Generic LocalStore interface for other storage engines
  • โš”๏ธ Intelligent conflict resolution:
    • Built-in strategies (local wins, remote wins, newer wins, prompt, merge)
    • Custom conflict resolver interface
    • Automatic conflict detection based on versions and timestamps
  • ๐ŸŽฏ Type-safe APIs:
    • Generic support for any data model
    • Strongly typed interfaces throughout
    • SyncCacheModel base class for easy integration
  • ๐Ÿงช Comprehensive testing:
    • Unit tests for all core components
    • Mock implementations for testing
    • Example app demonstrating all features
  • ๐Ÿ“Š Real-time monitoring:
    • Sync status streams
    • Conflict event streams
    • Network connectivity tracking
  • ๐Ÿš€ Production-ready features:
    • Error handling and retry logic
    • Detailed logging with configurable levels
    • Background task scheduling
    • Memory-efficient data streaming

Technical Features #

  • Mobile platform support: iOS and Android (WorkManager requirement)
  • Background sync: Reliable synchronization even when app is closed
  • Network awareness: Automatic sync when connectivity is restored
  • Data integrity: Version-based conflict detection and resolution
  • Scalable architecture: Modular design for easy extension
  • Performance optimized: Efficient change tracking and delta sync

Dependencies #

  • hive: Local storage with type adapters
  • isar_plus_flutter_libs: Additional storage support
  • workmanager: Background task execution
  • flutter_secure_storage: Secure credential storage
  • connectivity_plus: Network state monitoring
  • supabase_flutter: Optional Supabase integration
  • http: HTTP client for REST APIs

Documentation #

  • Complete README with quick start guide
  • API documentation with examples
  • Platform-specific setup instructions
  • Testing guidelines and examples
  • Architecture overview and best practices

Example App #

  • Note-taking app demonstrating all features
  • Guest mode and account upgrade flow
  • Real-time sync with conflict resolution
  • Background sync demonstration
  • Production-ready code patterns

[Unreleased] #

Planned Features #

  • ๐Ÿ“ฑ Enhanced mobile platform support
  • ๐Ÿ”„ Incremental sync optimizations
  • ๐Ÿ“Š Analytics and metrics collection
  • ๐ŸŒ GraphQL adapter support
  • ๐Ÿ’พ Isar storage adapter
  • ๐Ÿ”Œ Additional cloud service adapters
  • ๐ŸŽจ UI components for common sync patterns
3
likes
0
points
21
downloads

Publisher

verified publisherahmetaydin.dev

Weekly Downloads

A powerful synchronization manager for Flutter apps with secure local storage, real-time state management, and background cloud sync capabilities.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

connectivity_plus, flutter, hive_plus_secure, isar_plus_flutter_libs, meta, path_provider, workmanager

More

Packages that depend on synq_manager