I’m using Couchbase Lite 1.0.4 with the iOS 8.3 SDK and I’m using backgroundTellDatabaseNamed to execute my own synchronisation with a custom api. When I start a Live Query and observe its rows kvo path, the observer only gets notified at the beginning. When I update my data with a background database, the live query doesn’t fire a notification, although the data itself changed.
If you use an UITableView for example, manually reloading the view or scrolling the view, will result in updated items, but I can’t update it automatically after synchronisation without registering observers on each seperate document. Which results in a massive overhead in nsnotifications.
Is this the normal behaviour? Running my synchronisation code on the main database has no problems with dispatching the live query notifications, but it makes the app + GUI slow because it’s taking up the main thread.