How to build presence in Cloud Firestore and connect to Flutterflow to showcase user's online status in App

Database & APIs

Hello community,

I want to implement the user's online/offline status into my flutterflow app by using Cloud Firestore presence/Cloud Functions with Realtime Database, but I have not found any tutorials anywhere, as I am not experienced enough to just work with this documentation. https://firebase.google.com/docs/firestore/solutions/presence

I hope someone can please help and support me by providing a step-by-step tutorial on how to set-up/build Firestore presence with Realtime Database, to use this function to update each user's document status field in realtime and how to implement the cloud function into the flutterflow app. In the end I want to showcase the online/offline status in a list of user's by using a conditional builder in the flutterflow app UI.

What have you tried so far?

(I do NOT want to use any workarounds by updating a user's status through page-load-triggers or automated time-loops to change the user's status - already found tutorials for that, but it's not reliable)

Did you check FlutterFlow's Documentation for this topic?
Yes
1