Online status for chat app

Sure no worries :wink:

1: First you will add a new Date & Time property to your User collection and call it Last Login.

1 New property

2: Create a new screen and add a custom list and bind it to your User collection. Next add your user profile image, Name, and your green Status Icon.

3: Now we are going to add an action to this screen view and update the Current User.

4: You will update the Last Login property with the Current Time.

5: Next we will set a conditional visibility to your Status Icon.

6: So when a logged in user has visited this screen within the last minute your Status Icon will be set to visible.

7: Result

Hope that helps :relaxed:

5 Likes