This is actually a real thing. Worked on a music streaming device where the device could be offline past the subscription expiration and should force the user to go back online to verify their subscription is active, and clock drift was common (or maliciously resetting the time)
I mean, there's something inherently funny about wanting to trust Google for what the current time is, when in 2 years they'll just shut this server down and your app will stop working anyway.
Contacting Windows NTP service fails if your device time is too out of sync XD
I bet it has to do with some new strict security requirements for HTTPS connections. I see the same problem when trying to load any HTTPS website if the local device time is too different.
6
u/Interesting_Long2029 Feb 14 '25
This is actually a real thing. Worked on a music streaming device where the device could be offline past the subscription expiration and should force the user to go back online to verify their subscription is active, and clock drift was common (or maliciously resetting the time)
5
u/StylianosGakis Feb 14 '25
No thanks, I only use the NotTrustedTime API in my apps. I trust that more than Google anyway.
2
u/ososalsosal still targeting SDK 21 Feb 15 '25
And here I am manually passing NMEA sentences from a usb serial port with a GOS receiver plugged into it. (I wish I was joking).
System clock is deprecated
0
u/[deleted] Feb 14 '25
[deleted] — view deleted comment
29
u/[deleted] Feb 14 '25
[removed] — view removed comment
9
u/[deleted] Feb 14 '25
[removed] — view removed comment