You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make current_user() a block call waiting for persistent cache to load on desktop.
* Each platform has its own implementation of current_user()
* Avoid calling current_user() internally, except during listener event, since it can potentially be a block call.
* Flip persistent_cache_load_pending in the beginning of AUTH_NOTIFY_LISTENERS() macro so that the user can call current_user() during OnAuthStateChanged() or OnIdTokenChanged().
Integration test: cl/247698227
PiperOrigin-RevId: 251526674
0 commit comments