user name as tag, the value to be a list (date, coins).
when user open app, get the value by tag, check the 1st item(date ) of value, if it less than today, which means this is first time opening app, add 1 to the coin, save the value (today date, new coins).
already tell you the method , if you don't know the basic, you will dont know how to block.
i was doing a project where everyday you will get a new mission. why it is not working?
sorry I did not understand your blocks.
Can you explain what's these code doing?
in pseudo code
i just copied code from cashPerSecond and the procedure cashPerSecond is giving every second 1 coin even if you close app
and i have a clock for one second and when clock timer catchUp
...and that is why you don't know what is wrong. If you dedicate a day to thoroughly following the tutorials, you have a base to work from (and some grey hair).
so myCashTag value is (systemTime - didSomeThingTag value) *0.001?
Then no Timer needed, you just need to save the didSomeThingTag, then myCash can be caculated directly.