opened
manuel-mariani
username_0
How to add a document with a specific Id?
issue
created
manuel-mariani
username_0
Found the solution!
You have to do
`await CrossCloudFirestore.Current.Instance
                                          .GetCollection("<your collection>")
                                          .GetDocument("<custom id>")
                                          .SetDataAsync(<your model with data>, null);`
comment
closed
manuel-mariani
username_0
issue
created
manuel-mariani
username_0
Edit: if that doesn't work or you get duplicates with different id you can use 
`await CrossCloudFirestore.Current.Instance .GetCollection("<your collection>") .GetDocument("<custom id>") .UpdateDataAsync(<your model with data>);`
comment