f-miyu / Plugin.CloudFirestore

MIT License
121 stars 44 forks source link

Android Error on GetDocument #15

Closed rafaxe closed 4 years ago

rafaxe commented 4 years ago

var document = await CrossCloudFirestore.Current .Instance .GetCollection(collectionName) .GetDocument(id) .GetDocumentAsync();

The app stops working (Android)

rafaxe commented 4 years ago

The app stops working only when I'm debugging the method containing the GetDocument.

lucasfre commented 3 years ago

@rafaxe how did you fix it?

My app always stops working when I use await.

example: var test= await CrossCloudFirestore.Current .Instance .GetCollectionGroup("user") .GetDocumentsAsync();