I have just started playing with Couchbase Lite and working on a POC to offline capability of Couchbase.
I am able to sync data from mobile device to Couchbase server using Sync Gateway, even if I created it without internet connection, so that part is fair enough.
However, I have question that sometime we may need to validate some data which is not present in CB Lite. For instance, a field bank officer goes to one of his client for making loan application where there is no internet connectivity. And now, to validate that customer he/she may need validate that customer with his bank account number (to verify- if client is an existing bank customer or not). Now as we do not have connectivity, how we can validate that customer.
One that we can think of is to keep whole customer data set in mobile device in CB Lite. But there can be a lot of customers and keeping in mobile can adversely affect device performance.
Requesting you guys to put some light on this aspect. Thanks in advance.