Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Await GoogleAuth to finish initialization #382

Merged
merged 3 commits into from
Oct 19, 2020

Conversation

ranihorev
Copy link
Contributor

Fixes #340
GoogleAuth is defined but not yet initialized completely, we should use the thenable version of it instead.

@ievgennaida
Copy link

I think that there is one more bug with this block of code.
Component can be unmounted already but setLoaded(true) is called when isSignedIn was specified.
At least setLoaded should not be called when the component was unmounted.

@ranihorev
Copy link
Contributor Author

You're right. It was there before but I'll fix it

@ranihorev
Copy link
Contributor Author

ranihorev commented Oct 15, 2020

Pushed a fix

@anthonyjgrove
Copy link
Owner

Ill try to get this reviewed this afternoon.

@anthonyjgrove
Copy link
Owner

Thank you for the PR, i have noticed another bug in the sign out that I will push after i merge this.

@anthonyjgrove anthonyjgrove merged commit a8f39eb into anthonyjgrove:master Oct 19, 2020
@ievgennaida
Copy link

This issue was fixed by this merge:
#389

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

onAutoLoadFinished does not return the correct login status consistently
4 participants