adventures-in / chat_app

A group effort to build a chat app and learn as we go.
18 stars 0 forks source link

User can be signed in with database not yet updated #227

Open nickmeinhold opened 4 years ago

nickmeinhold commented 4 years ago

Describe the bug The user can be signed in but the database hasn't yet been updated due to long cloud function cold starts.

To Reproduce Steps to reproduce the behavior:

  1. Ensure no account already exists for your auth provider
  2. Sign in (so a new account is created)
  3. Observe Avatar image / Go to Profile (observe waiting indicators)
  4. Create a conversation
  5. See error

Expected behavior

Possible Solutions

Test

Additional context

140 switched from using the FirebaseAuth object for user details to using a db entry