Hello great people. Can anyone share some opinion or idea about daily login rewards. Is it possible for kodular?, if possible can we share if what extensions or components we can use. Im making some games and i want to have that kind of stuff in the app.Hope it caught some attention.
Create a global variable
Set global variable to time when reward button is clicked
Now save the time to tiny dB or firebase etc ,
Now if user click it again it must again fetch current time and then subtract it from the last time it saved to tiny dB or firebase and if subtraction is more that 24 hrs then give reward else say “you can get reward once per day”