👉 How can I use online server time in my app so users can’t cheat by changing device time?

Hey developers :waving_hand:
I’m facing a common issue in my app — some users manually change their mobile date and time to claim daily rewards multiple times in a single day.

I want the reward system to only allow one claim every 24 hours based on real server/network time, not the user’s local device time.

My questions:

  1. What is the most reliable way to fetch online time (server/network-based) in Kodular?
  2. Is WorldTimeAPI, Firebase Server Timestamp, or any other method better for production use?
  3. Can anyone share example Kodular blocks or a mini .AIA project that verifies real network time before granting rewards?
  4. Bonus: Does anyone have a working example of Firebase Security Rules that prevent cheating (e.g., forcing ServerValue.TIMESTAMP and enforcing a 24-hour gap)?

Goal:

  • Rewards can be claimed only once every 24 hours (based on server time).
  • If the user changes phone date/time, it should detect and block the claim.
  • Must be simple and Kodular-friendly (block-based solution).

Thanks in advance! :folded_hands:
kodular firebase #WorldTimeAPI #AntiCheat #DailyReward #AppDevelopment

Did you search our forum? there are amny guides available