Thanks for your tips Jens.  With them we were able to put up a UI during 
the upgrading of the database.  Cheers.

On Wednesday, September 30, 2015 at 12:24:13 PM UTC-7, Jens Alfke wrote:
>
>
> > On Sep 30, 2015, at 9:19 AM, David Quon <[email protected] 
> <javascript:>> wrote: 
> > 
> > Hi Jens.  I'm okay with showing an indeterminate indicator but are there 
> any hooks that I can use to know that a database upgrade has started and 
> has completed? 
>
> No; it happens when the CBLManager instance is initialized, so you could 
> start a timer (on another thread) when you first access it, and then put up 
> the UI after something like half a second has elapsed. (Without the 
> database upgrade, initializing the CBLManager is basically instantaneous.) 
>
> —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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/80e9b128-e607-4d4c-bfb9-79b244885da3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to