镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

[fix #321] Fixes the crash when the user opens the app while offline - #322

Open
alialamine wants to merge 1 commit into
fullstackreact:masterfrom
alialamine:fix-crash-on-offline
Open

alialamine wants to merge 1 commit into
fullstackreact:masterfrom
alialamine:fix-crash-on-offline

Conversation

@alialamine

Copy link
Copy Markdown

This bug happens because firebase tries to login 3 times if the user is offline. Because of this the callback will be called several times (2 times more than it should).

This will catch the exception from it so that the callback doesn't crash if this happens (just show the error)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant