dot_auth 1.1.0 copy "dot_auth: ^1.1.0" to clipboard
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 empty
    • PhoneValidator.validMobile() - Validates mobile number patterns
    • PhoneValidator.validFixedLine() - Validates landline numbers
    • PhoneValidator.validType() - Validates phone number type
    • PhoneValidator.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 PhoneValidator positional 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_auth to ^6.5.1
  • Updated firebase_core to ^4.9.0
  • Updated go_router to ^17.2.3
  • Updated flutter_riverpod to ^3.3.1
  • Updated phone_form_field to ^10.0.17
  • Updated pinput to ^6.0.2
  • Updated google_fonts to ^8.1.0

๐Ÿ› Bug Fixes #

  • Fixed StateNotifier import 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_auth to ^6.5.1
  • Updated firebase_core to ^4.9.0
  • Updated go_router to ^17.2.3
  • Updated flutter_riverpod to ^3.3.1
  • Updated phone_form_field to ^10.0.17
  • Updated pinput to ^6.0.2
  • Updated google_fonts to ^8.1.0

๐Ÿ› Bug Fixes #

  • Fixed StateNotifier import 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_auth to ^6.5.1
  • Updated firebase_core to ^4.9.0
  • Updated go_router to ^17.2.3
  • Updated flutter_riverpod to ^3.3.1
  • Updated phone_form_field to ^10.0.17
  • Updated pinput to ^6.0.2
  • Updated google_fonts to ^8.1.0

๐Ÿ› Bug Fixes #

  • Fixed StateNotifier import in riverpod providers
  • Improved overall compatibility

[1.0.10] - 2024-01-12 #

๐Ÿ› Bug Fixes #

  • Fixed missing StateNotifier import
  • Added state_notifier as explicit dependency
  • Fixed RouterNotifier type 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 RouterNotifier for 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 RouterNotifier for 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 RouterNotifier for 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.yaml dependencies to match the latest versions
  • No breaking changes

From 1.0.9 to 1.0.10

  • Add state_notifier: ^1.0.0 to 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 .valueOrNull extension
  • Ensure OfflineSyncInitializer.initialize() is called before runApp()

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. ๐Ÿš€

1
likes
160
points
271
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A powerful Flutter authentication package with phone OTP and email/password verification using Firebase. Plug-and-play, Riverpod-powered, go_router-ready.

Repository (GitHub)

License

MIT (license)

Dependencies

animations, firebase_auth, firebase_core, flutter, flutter_form_builder, flutter_riverpod, flutter_screenutil, form_builder_validators, go_router, google_fonts, phone_form_field, pinput

More

Packages that depend on dot_auth