I’m trying to Update a specific document with attachment, but the blob attached remains the same after update. I already pull the specific document and update it using
MutableDocument mutableDocument = database.getDocument(data.get("docId").toString()).toMutable(); then set the new blob
mutableDocument.setBlob("profilePic", (Blob) data.get("profilePic"));. Finally using the replicator I pushed it in the server.
Here’s some snap. The old images is still the one loaded even after update.