Hi,

Will returning nil from propertiesTransformationBlock on a pull replication 
leave the local document untouched or will it clear it out? I'd rather it 
leave it untouched.

I'm implementing encryption and decryption during replication and 
if something were to go wrong with the decryption, I wanted it to not 
affect the local document stored in the database, but throw up an error 
message to the user to let them know there was an error decrypting. This 
could happen if the user were to change the encryption key on the device 
pushing, but not on the device receiving, or vice versa. Or even if there 
was just some other error decrypting the encrypted property in the incoming 
document.

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/dd28d5df-2305-414b-9be8-ff1c222b1459%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to