Help with loading document from firebase


Hi, I want to load my player name and score from firestore document and display if it is an existing player. But getting a document from firestore doesn’t work for me. I checked the result state by displaying its value in the name. I’m neither getting “ok” nor “error”. Help, please.

Just like the check for document existence, the load from document action is asynchronous, meaning you cannot check immediately for the result. Make those subevents root events.

1 Like

Thank you very much…