Is their any way or plugin available to detect whether the device Date & time is set automatically or user has entered manually
i can get proper current Date time with
await NTP.now(timeout: Duration(seconds: 3));
But i need to know Device Date & Time is manually set or not
Thanks in advance
2
Answers
Flutter does not provide a built-in way to directly determine if the device date and time are set automatically or manually but you can activate this functionality in native android.
If you’re concerned about the actual time, use the package:ntp. If it needs to operate even when you’re off network, there’s no way to do it, as others have said.