Realm
- or
2 results found
-
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 votesHave 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
-
New feature to know whether or not server sync is enabled on client app
Currently, I see the Java SDK has no properties or functions to tell the client app whether or not server sync is enabled.
Use case: if client app has DiscardUnsyncedData as client reset strategy, I don't want users to use offline Realm when server sync is disabled. There should be some features in the Java SDK to say whether or not sync is enabled.1 vote
- Don't see your idea?