I am able to create an initial sync to my data
const realm = await Realm.open({
schema: [dnsRecordSchema],
sync: { user, flexible: true },
});
const subscription = realm.subscriptions.update((mutableSubscriptions) => {
mutableSubscriptions.add(
realm.objects(dnsRecordSchema.name)
);
});
I am able to query the initial sync and get results. However, if I make changes in atlas it does not sync down to the device, I have to restart to see the updates from atlas.
I would like to understand why that would be happening, My understanding was that upon creation of the subscription the updates would take place. I appreciate any help I can get, thanks!