Lastactivity Time

SO MY QUESTION IS HOW TO RECORD TIME AS SOON AS USER SWIPE THE SCREEN OR CLOSE THE TAB WITHOUT LOGGING OUT FROM THE APP.(Because mostly users don’t logout or click on the Logout button)

Things I tried:

  • For now I put current time as soon as user clicks on logout button
  • I putted the countdown of 300 secs which lets the user be active for specific time frame on the app and that take him to login screen.

Hi @bhaveshsood,

In general, it is quite difficult to get a reliable information when a user stops using the app, especially in Adalo.
One of the easiest ways could be to add a “last active datetime” property to Users collection, and on every app screen put an action Update Logged-in User → last active datetime, set to Current Time.
With this you will see when a user entered a certain screen last time.

Best,
Victor.

2 Likes

Hi Victor,
Thanks for the reply, I have applied your method. It was good to go. Thanks a lot.

:joy: Got confused for time and made small complex solutions.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.