Is there anyway to make a leaderboard system on Kodular according to how much time users spend in our app? I want to use Firebase as a database.
Multiple topics are solved on the same query in community
It will be , you to use one clock component.
After signed in, set one clock timer to true with time interval of 1000 also create one new variable with initial value 0
When clock timer
Set this global variable to get variable+1000.
Set this clock timer to false in when app stopped, pause… likewise set it to true whenever screen resume and initialize(if logged in true)
Can you send me a screenshot if you are free?