system_date_time_change 0.0.1 copy "system_date_time_change: ^0.0.1" to clipboard
system_date_time_change: ^0.0.1 copied to clipboard

A Flutter plugin to detect manual changes to device date/time and timezone mismatches across all platforms.

0.0.1 #

Initial Release

Features #

  • ✅ Real-time detection of system date/time changes
  • ✅ Stream-based event notifications for time changes
  • ✅ Manual polling support with checkDateTimeStatus()
  • ✅ Detect manual time modifications
  • ✅ Identify timezone mismatches
  • ✅ Check auto-time settings status (where available)
  • ✅ Cross-platform support:
    • Android (BroadcastReceiver-based)
    • iOS (Notification-based)
    • macOS (Notification-based)
    • Windows (WM_TIMECHANGE message)
    • Linux (Polling-based)
    • Web (Polling-based)

Platform Capabilities #

  • Android: Full support with BroadcastReceivers and Settings API
  • iOS: Real-time notifications (limited auto-time detection)
  • macOS: Real-time notifications with NSSystemClockDidChange
  • Windows: Native WM_TIMECHANGE message handling
  • Linux: Polling mechanism with timezone file monitoring
  • Web: Basic polling-based detection

API #

  • checkDateTimeStatus() - Get current date/time status
  • onDateTimeChanged - Stream of date/time change events
  • startListening() - Start monitoring time changes
  • stopListening() - Stop monitoring time changes

Models #

  • DateTimeChangeEvent - Event data for time changes
  • DateTimeChangeStatus - Complete status information

Notes #

  • Uses native platform APIs only (no external dependencies)
  • Respects platform security and privacy restrictions
  • Example app included with comprehensive UI
3
likes
160
points
12
downloads

Publisher

verified publishertusaway.com

Weekly Downloads

A Flutter plugin to detect manual changes to device date/time and timezone mismatches across all platforms.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface, web

More

Packages that depend on system_date_time_change

Packages that implement system_date_time_change