Open rezamohamed opened 3 days ago
The SetDataAsync doesn't seem to write any data. It creates the collection and the document, but the fields are empty. No Exceptions or errors are thrown, I get a data successfully written message:
var data = new Dictionary<string, object> { { "StartingTab", 12345 } // Explicit integer value }; try { await CrossFirebaseFirestore.Current .GetCollection("Users") .GetDocument("Testing") .SetDataAsync(data) .ContinueWith(task => { if (task.IsCompletedSuccessfully) { Console.WriteLine("Data successfully written!"); } else { Console.WriteLine("Error writing data: " + task.Exception?.Message); } }); } catch (Exception e) { Console.WriteLine(e); throw; }
The SetDataAsync doesn't seem to write any data. It creates the collection and the document, but the fields are empty. No Exceptions or errors are thrown, I get a data successfully written message: