I had the same problem happens with me, i was able to reproduce by editing 
scheme, from options select `launch due to background fetch event`, then 
run the app while device is locked, trying to change fileProtection 
to NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication didn't 
help, even after i switched to ForestDB i see this error `WARNING: ForestDB 
error FORESTDB ERROR -2`

On Wednesday, October 1, 2014 at 11:10:46 PM UTC+2, Jens Alfke wrote:
>
>
> On Oct 1, 2014, at 8:41 AM, Frederic Yesid Peña Sánchez <
> [email protected] <javascript:>> wrote:
>
> I'm still having these problems, seems related to having passcode on iPad 
> and the app or replicator trying to access encrypted data.
>
>
> Sounds like the replicator is still running after the device locks. Do you 
> have reliable steps to reproduce this?
>
> A workaround is to loosen up the file protection attribute of the database 
> directory so it remains accessible after the device locks. Set the 
> CBLManagerOptions.fileProtection to 
> NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication when 
> creating the CBLManager.
>
> —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/a690e273-ee89-41a6-9f9c-cd00bb12c435%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to