knezzz/ntp

need web

bdytx5 opened this issue · 6 comments

The gaping issue I see here is no support for flutter web.

Thanks,
Brett

I'm not sure if it's possible to implement it in web, because of limitations of browser and javascript.

Web badly needitly ,
If it can't work with NTP base ,
Are you found an other solution. ?

I implemented NTP functionality server-side and provided a HTTP-based API to get time.

can you provide demo code ?

any update guys

I'm sure it's not possible to implement NTP in javascript, so web support is not possible at all. Browsers limit sending web requests from javascript for security reasons, even so you can only send http requests.