Hey developers ![]()
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:
- What is the most reliable way to fetch online time (server/network-based) in Kodular?
- Is WorldTimeAPI, Firebase Server Timestamp, or any other method better for production use?
- Can anyone share example Kodular blocks or a mini .AIA project that verifies real network time before granting rewards?
- Bonus: Does anyone have a working example of Firebase Security Rules that prevent cheating (e.g., forcing
ServerValue.TIMESTAMPand 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! ![]()
kodular firebase #WorldTimeAPI #AntiCheat #DailyReward #AppDevelopment
