pablo-co / flutter_true_time Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
This plugin is not compatible with an android enabled app. Please enable androidX in the next release
[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)
Hi, please updated Android compileSdkVersion to 28 to match other plugins.
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??
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.