How to implement 24-hour limit using Amdoren Time API and TinyDB?

Hey @Noor_XD
I saw your post and make a little extension for your help.
com.glich.onlinevalidation.aix (8.6 KB)
(I haven’t test it :sweat_smile: )

:puzzle_piece: How Users Will Use It in Kodular

:one: Drop extension
:two: On Screen Initialize → SetDurationHours(24)
:three: Call → CheckValidation

Then handle events:

  • OnValid → allow app
  • OnExpired → close or lock
  • OnTampered → block
  • OnInternetRequired → show message
Features (short)
  • :globe_with_meridians: Uses real internet time (Google server date header)
  • :locked_with_key: Anti-tamper detection (manual time change, rollback, timezone tricks)
  • :hourglass_not_done: Auto expiry from first launch (24h / 7d / 30d / custom hours)
  • :satellite_antenna: Works offline temporarily with forced periodic online check
  • :floppy_disk: Persistent storage — remembers state across app restarts
  • :high_voltage: Simple events: Valid, Expired, Tampered, InternetRequired
4 Likes