> On Nov 25, 2014, at 11:25 PM, Sathyesh Selvarajah <
sathye...@gmail.com> wrote:
>
> Suppose ,User is using web apps in desktop,and in offline web apps is responsive and user will be able to insert all his data and it will be saved in couchbase lite.
I'm not sure what you mean by "web apps in desktop". We support native apps on desktop or mobile, and using PhoneGap you can package a web app as a mobile app and use Couchbase Lite in it; but I don't know of a desktop equivalent of PhoneGap.
> Now the scenario is like,user comes to online but he isn't using the web apps,but data which is saved locally should be synced to the couchbase server.
If the app isn't running, it can't sync. I think what you're asking about is:
1. User makes changes in the app while offline; changes are saved locally
2. User quits the app
3. User's computer/device goes online
At this point the data won't be synced because the app isn't running. They'd have to relaunch the app, then it would sync.
—Jens