【发布时间】:2022-12-01 22:27:02
【问题描述】:
Hello friends I'm doing practice about Firestore and Firebase Auth and I wanted to read only one field but I can't do that. It's probably easy but I can't find anything in Internet. Is anyone can help me. Have a good Codes :)
A piece of my code
auth = Firebase.auth
private val db = Firebase.firestore.collection("user")
private fun getPic(){
val pic = db.document(auth.currentUser?.email.toString()).get(..?.) ....?..
}
I wanted to read that URL
【问题讨论】:
标签: android firebase kotlin google-cloud-firestore