Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix login #733

Merged
merged 2 commits into from
Dec 11, 2022
Merged

Fix login #733

merged 2 commits into from
Dec 11, 2022

Conversation

bannzai
Copy link
Owner

@bannzai bannzai commented Dec 11, 2022

Abstract

ログインの処理を修正。userStateChangesを最初に監視するとイベントが飛んでこない場合がありそうでずっとローディングになる(可能性がある)
冷静に処理を見返すとsignInの時にcurrentUserのチェックをした後にuserChangesのStreamの確認の流れの関数があり、この処理の流れが本来正しいなと思いそれを直接使用する

Why

Links

Checked

  • Analyticsのログを入れたか
  • Navigator.of(context).pop() の後にContextを使用したメソッドを実行していない
  • 境界値に対してのUnitTestを書いた
  • パターン分岐が発生するWidgetに対してWidgetTestを書いた
  • リリースノートを追加した

@bannzai bannzai merged commit 7e928ca into base/refactor/app/full-scrach Dec 11, 2022
@bannzai bannzai deleted the fix/login/function branch December 11, 2022 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant