Colton Idle
04/26/2022, 8:39 PMfun doThing() {
viewModelScope.launch {
repository.getDocument()
...
suspend fun getDocument() {
return FirebaseFirestore.getInstance()
.collection("mycollec")
.document("mydoc")
.get()
.await()
.toObject<MyDoc>()
}
Any idea why the stacktrace I get doesn't point to the code above at all?Richard Gomez
04/26/2022, 8:42 PMColton Idle
04/26/2022, 8:43 PMColton Idle
04/26/2022, 8:48 PMColton Idle
04/26/2022, 8:51 PMJoffrey
04/26/2022, 9:12 PMRidwan Farouki
04/28/2022, 8:42 AMColton Idle
04/28/2022, 12:54 PM