Thanks for the reply. Could you point me to the source of these docs you're quoting and I'll try and figure it all out.
/** * [email protected] * http://twitter.com/nickpomfret * https://uk.linkedin.com/in/nick-pomfret-03614a */ On 25 June 2016 at 22:15, Jens Alfke <[email protected]> wrote: > > On Jun 20, 2016, at 8:32 AM, Nick Pomfret <[email protected]> wrote: > > I'm trying to get couchbase lite (on iOS for now) to sync documents when > its awoken in the background from a push notification. So far I can accept > and process a notification while the app is in the background. And I have > given it 10 seconds before the completionHandler gets called. But during > that 10 seconds I can't see any activity. > > > Did you set the CBLReplication's `suspended` property to NO? > > */** Suspends/resumes a replication.* > * On iOS a replication will suspend itself when the app goes into the > background, and resume* > * when the app is re-activated. If your app receives a push > notification while suspended and needs* > * to run the replication to download new data, your handler should set > suspended to NO to resume* > * replication, and then set the property back to YES when it's done. */* > *@property* *BOOL* suspended; > > —Jens > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Couchbase Mobile" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/mobile-couchbase/EOkrycvMnas/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mobile-couchbase/08713E41-25DD-4203-8647-A49A4E3F7407%40couchbase.com > <https://groups.google.com/d/msgid/mobile-couchbase/08713E41-25DD-4203-8647-A49A4E3F7407%40couchbase.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CACfBfNv-AX0nLmuD4oEOh6cRuanGwU3qwLxO73DoH%2B1KvsfO9Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
