Hi all,
I have a challenge and I was wondering if anyone had any wisdom to share.
My app sends out push notifications that refer to a record synced to Realm. The issue at the moment is that, mainly on iOS, when you tap the push notification it takes ~5 seconds to sync the realm and have the record available to work with, which is not a great user experience.
My query is if there is a way to sync the realm whilst not active upon a push notification, or even periodically. My attempts at implementing this seem to fail for opaque reasons. Further to this is it possible to insert into the realm from data within the push notification and not have any conflict issues upon the next sync?
Grateful for any ideas anyone has.
Cheers,
Ale.c