dot_auth 1.1.0
dot_auth: ^1.1.0 copied to clipboard
A powerful Flutter authentication package with phone OTP and email/password verification using Firebase. Plug-and-play, Riverpod-powered, go_router-ready.
Changelog #
All notable changes to the riverpod_offline_sync package will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.0 - 2026-06-16 #
โจ New Features #
- Added comprehensive phone number validation with all validators:
PhoneValidator.required()- Ensures phone number is not emptyPhoneValidator.validMobile()- Validates mobile number patternsPhoneValidator.validFixedLine()- Validates landline numbersPhoneValidator.validType()- Validates phone number typePhoneValidator.validCountry()- Validates country-specific formats- Custom validator for length validation (10-15 digits)
๐ Updated #
- Phone screen now uses all available validators for better user experience
- Improved error messages for phone number validation
- Updated documentation with complete validator examples
๐ Fixed #
- Fixed
PhoneValidatorpositional argument errors - Removed unsupported Pinput parameters (
androidSmsAutofillMethod,listenForMultipleSms) - Removed unused import in
tc_footer.dart - Removed unnecessary library name in
dot_auth.dart
๐ฆ Dependencies #
- Updated to latest stable versions (same as v1.0.15)
๐ Documentation #
- Added complete validator examples in README
- Improved API documentation for phone validation
1.0.15 - 2024-01-15 #
๐ Updated Dependencies #
- Updated all dependencies to latest versions
- firebase_auth: ^6.5.1
- firebase_core: ^4.9.0
- go_router: ^17.2.3
- flutter_riverpod: ^3.3.1
- phone_form_field: ^10.0.17
- pinput: ^6.0.2
- google_fonts: ^8.1.0
- Fixed StateNotifier import
- Improved compatibility
- Added Timers
- Updated the Readme.md
1.0.13 - 2024-01-13 #
๐ Updated #
- [Previous changes...]
[1.0.15] - 2024-01-15 #
๐ Updated Dependencies## 1.0.13 #
- Updated all dependencies to latest versions
- firebase_auth: ^6.5.1
- firebase_core: ^4.9.0
- go_router: ^17.2.3
- flutter_riverpod: ^3.3.1
- phone_form_field: ^10.0.17
- pinput: ^6.0.2
- google_fonts: ^8.1.0
- Fixed StateNotifier import
- Improved compatibility
- Added Timers -Updated the Readme.md
1.0.12 #
- Updated all dependencies to latest versions
- firebase_auth: ^6.5.1
- firebase_core: ^4.9.0
- go_router: ^17.2.3
- flutter_riverpod: ^3.3.1
- phone_form_field: ^10.0.17
- pinput: ^6.0.2
- google_fonts: ^8.1.0
- Fixed StateNotifier import
- Improved compatibility
- Added Timers
1.0.11 #
- Updated all dependencies to latest versions
- firebase_auth: ^6.5.1
- firebase_core: ^4.9.0
- go_router: ^17.2.3
- flutter_riverpod: ^3.3.1
- phone_form_field: ^10.0.17
- pinput: ^6.0.2
- google_fonts: ^8.1.0
- Fixed StateNotifier import
- Improved compatibility
1.0.10 #
- Fixed missing StateNotifier import
- Added state_notifier dependency
- Fixed RouterNotifier type casting
- All providers now work correctly
1.0.9 #
- Fixed type casting error in RouterNotifier
- Removed unnecessary type argument
1.0.8 #
- Added RouterNotifier for reactive routing
- Improved auth state redirection
- Better navigation handling on login/logout
1.0.7 #
- Added RouterNotifier for reactive routing
- Improved auth state redirection
- Better navigation handling on login/logout
1.0.6 #
- Added RouterNotifier for reactive routing
- Improved auth state redirection
- Better navigation handling on login/logout
1.0.4 #
- Updated README with complete API documentation
- Added role-based access control examples
- Improved documentation for Firestore integration
- Fixed typos and formatting
1.0.3 #
- Updated README with complete API documentation
- Added role-based access control examples
- Improved documentation for Firestore integration
- Fixed typos and formatting
1.0.1 #
- Fixed null-aware operator warnings
- Improved documentation
- Added more examples
- Updated dependencies
1.0.0 #
- Initial release
- Phone number authentication with OTP verification
- Riverpod state management
- GoRouter integration
- Updated
firebase_authto^6.5.1 - Updated
firebase_coreto^4.9.0 - Updated
go_routerto^17.2.3 - Updated
flutter_riverpodto^3.3.1 - Updated
phone_form_fieldto^10.0.17 - Updated
pinputto^6.0.2 - Updated
google_fontsto^8.1.0
๐ Bug Fixes #
- Fixed
StateNotifierimport issues - Improved compatibility with latest Flutter version
โจ Enhancements #
- Added Timer support for better sync scheduling
- Updated README.md with comprehensive documentation
[1.0.12] - 2024-01-14 #
๐ Updated Dependencies #
- Updated
firebase_authto^6.5.1 - Updated
firebase_coreto^4.9.0 - Updated
go_routerto^17.2.3 - Updated
flutter_riverpodto^3.3.1 - Updated
phone_form_fieldto^10.0.17 - Updated
pinputto^6.0.2 - Updated
google_fontsto^8.1.0
๐ Bug Fixes #
- Fixed
StateNotifierimport path - Improved compatibility with latest Riverpod
โจ Enhancements #
- Added Timer-based auto-sync functionality
- Improved sync scheduling
[1.0.11] - 2024-01-13 #
๐ Updated Dependencies #
- Updated
firebase_authto^6.5.1 - Updated
firebase_coreto^4.9.0 - Updated
go_routerto^17.2.3 - Updated
flutter_riverpodto^3.3.1 - Updated
phone_form_fieldto^10.0.17 - Updated
pinputto^6.0.2 - Updated
google_fontsto^8.1.0
๐ Bug Fixes #
- Fixed
StateNotifierimport in riverpod providers - Improved overall compatibility
[1.0.10] - 2024-01-12 #
๐ Bug Fixes #
- Fixed missing
StateNotifierimport - Added
state_notifieras explicit dependency - Fixed
RouterNotifiertype casting in go_router integration
โจ Enhancements #
- All Riverpod providers now work correctly
- Improved type safety in navigation handling
[1.0.9] - 2024-01-11 #
๐ Bug Fixes #
- Fixed type casting error in
RouterNotifier - Removed unnecessary type arguments
- Improved null safety handling
[1.0.8] - 2024-01-10 #
โจ New Features #
- Added
RouterNotifierfor reactive routing - Improved authentication state redirection
- Better navigation handling on login/logout events
๐ง Improvements #
- Enhanced auth state stream handling
- Smoother route transitions
[1.0.7] - 2024-01-09 #
โจ New Features #
- Added
RouterNotifierfor reactive routing - Improved authentication state redirection
- Better navigation handling on login/logout
๐ Bug Fixes #
- Fixed route redirection issues
[1.0.6] - 2024-01-08 #
โจ New Features #
- Added
RouterNotifierfor reactive routing - Improved authentication state redirection
- Better navigation handling on login/logout
๐ Documentation #
- Updated API documentation for routing
1.0.5 - 2024-01-07 #
๐ Documentation #
- Complete README overhaul
- Added role-based access control (RBAC) examples
- Improved Firestore integration documentation
- Fixed typos and formatting issues
[1.0.4] - 2024-01-06 #
๐ Documentation #
- Updated README with complete API documentation
- Added role-based access control examples
- Improved documentation for Firestore integration
- Fixed typos and formatting issues
[1.0.3] - 2024-01-05 #
๐ Documentation #
- Updated README with complete API documentation
- Added role-based access control examples
- Improved documentation for Firestore integration
- Fixed typos and formatting
1.0.2 - 2024-01-04 #
๐ง Improvements #
- Performance optimizations
- Reduced widget rebuilds
- Improved memory management
[1.0.1] - 2024-01-03 #
๐ Bug Fixes #
- Fixed null-aware operator warnings
- Improved null safety handling
๐ Documentation #
- Improved documentation with more examples
- Added troubleshooting section
- Updated dependency list
โจ Enhancements #
- Added more usage examples
- Updated all dependencies to latest versions
[1.0.0] - 2024-01-01 #
๐ Initial Release #
- Phone number authentication with OTP verification
- Riverpod state management integration
- GoRouter navigation integration
- Offline queue management
- Connectivity monitoring
- Smart retry with exponential backoff
- Idempotency key support
- Persistent queue storage (Hive)
- Firebase integration (Firestore, Storage, Auth)
- Conflict resolution strategies
- Sync metrics and analytics
- Built-in UI components (Banner, Toast, Progress Bar, Debug Panel)
- SyncAwareMixin for easy integration
- Comprehensive Riverpod providers
- Debug and QA tooling
โจ Features #
- โ Bi-directional sync (push + pull)
- โ Priority-based queue (critical, high, normal, low, background)
- โ Automatic sync on reconnect
- โ WiFi-only sync mode
- โ Concurrent queue processing
- โ Exponential backoff retry
- โ Deep merge conflict resolution
- โ Upload pause/resume/cancel
- โ Real-time sync progress streams
- โ Mutex-protected synchronization
0.9.0 - 2023-12-15 #
๐งช Beta Release #
- Initial beta version for testing
- Core offline sync functionality
- Basic queue management
- Connectivity monitoring
0.5.0 - 2023-11-01 #
โ ๏ธ Alpha Release #
- Early alpha version for internal testing
- Experimental features
- API subject to change
Release Notes #
Upgrade Guide #
From 1.0.12 to 1.0.13
- Update your
pubspec.yamldependencies to match the latest versions - No breaking changes
From 1.0.9 to 1.0.10
- Add
state_notifier: ^1.0.0to your dependencies if not already present - Update Riverpod to version 2.5.0 or higher
From 1.0.0 to 1.0.1
- Update all Riverpod providers to use
.valueOrNullextension - Ensure
OfflineSyncInitializer.initialize()is called beforerunApp()
Version Compatibility #
| Package Version | Flutter SDK | Riverpod | Firebase |
|---|---|---|---|
| 1.0.13 | 3.16.0+ | 3.3.1+ | 6.5.1+ |
| 1.0.12 | 3.16.0+ | 3.3.1+ | 6.5.1+ |
| 1.0.11 | 3.16.0+ | 3.3.1+ | 6.5.1+ |
| 1.0.10 | 3.16.0+ | 2.5.0+ | 5.0.0+ |
| 1.0.0 | 3.0.0+ | 2.4.0+ | 5.0.0+ |
Note: For complete changelog history, please visit the GitHub releases page. ๐