I wanted to ask about the Firebase Detecting Connection State, specifically the Sample Presence App code on that page. What happens if the same user signs in/out from multiple devices?
I could not see any explanation about the below quote in the documentation:
"since I can connect from multiple devices, we store each connection instance separately"
In the sample code on that page it really never explains the situation where the same user is signed in/out from multiple devices.
The docs seem to assume the reader could figure this out by themselves.
I'm looking for an additional explanation about this "make-believe" scenario, where a user's presence is handled in a chat app, for example the user is signed in/out on multiple devices, and how in the chat app to detect the correct user's presence