add
Deprecated (with error)
Replace with
import com.google.firebase.serialization.addData
Content copied to clipboard
addData(data)Content copied to clipboard
Deprecated (with error)
Replace with
import com.google.firebase.serialization.addData
Content copied to clipboard
addData(data)Content copied to clipboard
Completes once the write is acknowledged, as on Android (addDocumentWithData returns the reference before that).
Deprecated (with error)
add maps a custom class with the Android SDK's reflection, which only exists on Android and the JVM; addData maps a @Serializable class, or a plain map, with kotlinx.serialization on every platform
Replace with
import com.google.firebase.serialization.addData
Content copied to clipboard
addData(data)Content copied to clipboard
Adds a new document with an automatically generated id and data (a map of field values).
Deprecated (with error)
Replace with
import com.google.firebase.serialization.addData
Content copied to clipboard
addData(data)Content copied to clipboard
Deprecated (with error)
Replace with
import com.google.firebase.serialization.addData
Content copied to clipboard
addData(data)Content copied to clipboard
Deprecated (with error)
Replace with
import com.google.firebase.serialization.addData
Content copied to clipboard
addData(data)Content copied to clipboard