It doesn't work. When I hit the square "home" button on my iPhone to put 
the app in the background, then hit the app icon to bring it to the 
foreground replication has stopped working.

I don't know how to pass command line args to phonegap. Let me ask the 
group.

slim

On Tuesday, March 18, 2014 8:06:27 PM UTC-4, Jens Alfke wrote:
>
>
> On Mar 18, 2014, at 4:45 PM, Seung Chan Lim <djs...@gmail.com<javascript:>> 
> wrote:
>
> When you say on/offline you mean if the network goes on/offline? I was 
> referring to the application going foreground/background.
>
>
> Oh, OK. That's supported too. The replicator will stop when the app goes 
> into the background and resume when it returns to the foreground. Not sure 
> why this wouldn't be working for you.
>
> Does PhoneGap allow you to add command-line args when launching your app? 
> If so, add args "-Log YES -LogSync YES". Then you'll get logging about 
> what's going on during sync. You should see messages about "Reachability 
> state", including "suspended=1" on background and "suspended=0" when 
> foregrounded.
>
> —Jens
>

-- 
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 mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/360def0d-809e-42e9-816b-6107b8b997cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to