Denver Coneybeare

Results 317 comments of Denver Coneybeare
trafficstars

That's very odd what you're seeing. Unfortunately, I will be out of the office for the next few days so won't get back to investigating until mid-next week. In the...

I suspect there may be a race condition relating to authentication. From the logs you provided, it appears that some writes to Firestore are done pre-authentication and others are done...

I'm not sure what you mean by "maybe Firestore tries to sync pending writes before the authentication is finished". If you never call `SetAsync()` prior to a successful authentication then...

Hmm, okay I think I may have reproduced what you are describing. Could you confirm? Here is the code: ``` using Firebase.Auth; using Firebase.Extensions; using Firebase.Firestore; using System; using System.Collections.Generic;...

Ok. Then it appears that writes made after calling `DisableNetworkAsync()` are getting lost if the Unity Editor gets restarted before going back online. I'll investigate and reply back. This is...

I haven't found the root cause yet, but I *may* have found a workaround. It appears that adding *any* usage of `FirebaseAuth.DefaultInstance` *before* the first usage of `FirebaseFirestore` fixes the...

Update: I've been able to reproduce this bug in the underlying Firestore C++ SDK. I'm continuing investigation. If interested, here is the "test app" that I wrote to reproduce: https://gist.github.com/dconeybe/b0d72663ffb744d031cd84eab5194115

Update: I've made some progress in the investigation, although I don't have a fix yet. The problem is in the `GetCurrentUser()` function from`credentials_provider_desktop.cc` in the C++ SDK: ``` User GetCurrentUser(App&...

Hmm, there is a bit of a "chicken and egg" problem here. In cl/353905031 (only visible to Googlers) Firestore converted its dependency on Firebase Auth from a "hard" dependency (i.e....

The fix for this bug is, unfortunately, not trivial. Since this bug (1) only affects desktop platforms and not mobile platforms and (2) has an easy workaround, I'm going to...