Я работаю с Cloud Firestore от Google и не могу обновить массив ...
Так что, если у кого-то есть решение.
docRef.get()
.then(function(doc) {
if ( doc.exists ) { db.collection("collection")
.doc("document").update({ "array"[0]: true })
.then(function() {
console.log("Changed !");
})
} })