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

A Flutter plugin that provides accurate GPS-synced time on Android and iOS. Extracts trusted time directly from GPS location fixes, helping avoid reliance on potentially manipulated or drifted device clocks.

0.0.1 #

  • Initial release.
  • Android: Extracts GPS-synced time from LocationManager using elapsedRealtimeNanos offset calculation for high accuracy.
  • Android: Emits trusted time, GPS accuracy, and status messages via an EventChannel stream.
  • iOS: Extracts location timestamp from CLLocationManager and streams it via an EventChannel.
  • Dart: Exposes GpsTimeState model with trustedTime, accuracy, ageSeconds, deviceTime, and statusMessage.
  • Supports startListening() and stopListening() lifecycle methods.
1
likes
140
points
26
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin that provides accurate GPS-synced time on Android and iOS. Extracts trusted time directly from GPS location fixes, helping avoid reliance on potentially manipulated or drifted device clocks.

Repository (GitHub)
View/report issues

Topics

#gps #time #location #clock #trusted-time

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on gps_time_plugin

Packages that implement gps_time_plugin