skip to Main Content

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


  1. 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.

    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search