User Presence
It would be nice to be able to have built in client device presence support in Realm. Firebase does this.
You basically need a table that contains booleans that get reset whenever a device goes offline and is no longer reachable.
6
votes
![](https://secure.gravatar.com/avatar/0d851f7dde403350bca9b062318295be?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
Have a look at the following example in how to achieve User Presence with Realm with Atlas Device Sync and Triggers and Functions https://github.com/realm/realm-kotlin-samples/tree/main/AppServicesUsageSamples/apps/presence-detection