Giter Club home page Giter Club logo

flutter_true_time's People

Contributors

pablo-co avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

flutter_true_time's Issues

Android X Compatibility

This plugin is not compatible with an android enabled app. Please enable androidX in the next release

Could not get the value.

[VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: PlatformException(You must call init before any call to now, The connection timed out., null)
#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:564:7)
#1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:302:33)

#2 TrueTime.now (package:true_time/true_time.dart:41:55)

Can't get value in iOS

When i am trying to get the value, i get the following in the debug console:
truetime/ntpclient.swift:29: precondition failed: already started

And then my whole screen freezes!

Any fix on this??

Why not enable SharedPreferencesCache?

With the current state of the plugin, init must be done with an internet connection.
If we enable SharedPreferencesCache, init can be done without an internet connection.

Can not Access time.google.com

After changing the ntpServer to time.google.com in true_time.dart, I am able to access it and I am getting my time properly when using my Wifi. But if I use my cellular data, It is not able to access time.google.com and i am getting an error.
I tried opening time.google.com straight from my phone's web browser when using my cellular data, and was not able to access the link. My cellular data's name is AIRTEL.

But When I access that link from my browser when using the Wifi, I am able to access the link. I am also able to access the link if I use other cellular datas like "TIGO and VODACOM".

Why Cant I access dns.google.com with Airtel? (Even if i call AIRTEL and tell them to make it accessible for their users then what about the users using my app in different countries and will not be able to access this package?)

I really need the network time for the users using that network. Please help ASAP

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.