Hi Sandra, Do you want the app or more info about the issue? The app was for a customer, so I should get rid of all the customer related code to share the app.
On Thursday, April 9, 2015 at 2:04:39 PM UTC-3, Sandra wrote: > > Hello Federico, I'm interested in knowing how you achieve this, as I want > to do the same. Would you please share? > BR, Sandra > > On Tuesday, February 3, 2015 at 9:58:02 AM UTC-6, Federico Hernandez wrote: >> >> Hi everybody, >> >> I've created a phonegap app on iOS using JavaScript. I can push and pull >> data from the sync gateway and see the new data on couch server. To do so, >> I've created two sync managers, one to the push data and the other to do >> the pull process. Now, I'd like to know when the sync process (pulling data >> from SG) has finished. Should I query the _active_tasks endpoint to know >> the replication status? If so, there're several possible status: processed, >> idle, active, offline and stopped. When the app starts up, I start querying >> the replication status. I get the "processed" status several times until I >> get the "idle" status. After that I load a list view to show the documents. >> Is the "idle" status the one to know when the sync process has finished? Is >> this the right way to check the status? >> >> Thanks in advance, >> > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/5afbe5c6-21ac-4e56-9089-9f6e4b79c979%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
