Hi,
Whenever I try to fetch from the CBL 1.4.1 database when my iPhone is
locked via a message sent from my Apple Watch app, I get the following
error in the device's console log:
Jan 1 22:18:22 iPhone-X Tap Forms[11762] <Notice>: Error opening Tap Forms
database: Error Domain=*CBLHTTP Code=400* "Invalid
database/document/revision ID" UserInfo={NSLocalizedFailureReason=Invalid
database/document/revision ID, NSLocalizedDescription=Invalid
database/document/revision ID}
I have Data Protection on in my entitlements and configured to be using
NSFileProtectionCompleteUntilFirstUserAuthentication
I also have it set to that in iTunes Connect for my App ID.
If the device is on then I can query the database and I get results.
Does anyone know how to get this to work? I'm using WatchOS 4.2 and the app
doing the fetching from CBL is running on iOS 11.2.1.
P.S. I did read through the other threads about accessing data from an
Apple Watch app, but it was inconclusive. I thought just using
NSFileProtectionCompleteUntilFirstUserAuthentication for the Data
Protection mode would suffice, but it doesn't appear to be so.
Thanks,
Brendan
--
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/1c13534a-a818-4daf-a810-f564dd1f08e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.