Skip to content
pubscout

time_change_detector

0.0.4, released 2 years ago by an unverified publisher

Detects device time, date, and timezone changes on Android and iOS.

WASM-ready
$ flutter pub add time_change_detector
Source repository

What it does

A Flutter plugin that listens for system time, date, and timezone changes. It exposes streams that notify listeners when these events occur.

AI-written summary of version 0.0.4, based on the package's README and metadata. Report an inaccuracy

Use it when

  • When an app needs to adjust timers or schedules based on system time changes
  • When displaying relative time that must stay accurate after a user changes the clock
  • When reacting to day changes for daily tasks or reminders

Skip it when

  • When the app runs only on web or desktop platforms
  • When the app does not need to respond to system time changes

Strengths

  • Supports Android and iOS out of the box
  • Allows listening to individual updates or all changes
  • Adds day change support in latest release

Weaknesses

  • No support for web or desktop
  • Does not trigger when the app is completely closed
  • Documentation is minimal and lacks usage examples

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
1

Add the receiver block to AndroidManifest.xml and set Swift version to 5 and iOS target to 10.0 in Podfile

Alternatives

Packages that do the same job and could replace time_change_detector.

Works with

Packages commonly used together with time_change_detector: ones it builds on, ones built on it, and its own family.