Why does Firebase pendingAuthResult return null when the app is killed?
@malcolmdeck がすでに取り組んでいます。
2020年5月20日 から。
評価
この issue はまだ評価されていません。
説明
Step 1: Describe your environment
- Android device: Xiaomi Mi A1
- Android OS version: Android 8.1.0
- Google Play Services version: 4.3.3
- Firebase-core version: 17.2.1
- Firebase-auth version: 19.2.0
Step 2: Describe the problem:
When the app in the background is killed while performing Apple sign-in in Chrome, the authentication behaves inconsistently.
Steps to reproduce:
- Go to
GenericIdpActivity - Start the Apple sign-in flow
- Before finishing the sign-in flow, terminate the app in Android Studio to simulate system killing the app
- Finish signing in
- Both
auth.currentUserandauth.pendingAuthResultarenullinonStart()
Observed Results:
If I then restart the app, I am suddenly signed in and the pending result is present. And it doesn't disappear no matter what I do.
Expected Results:
The pending result shouldn't be null if the app is killed while in the background. That is the whole point of the pending result. Generally, the current behavior when the app is killed seems really inconsistent and buggy.
Related SO question:
https://stackoverflow.com/questions/59718353/why-does-firebase-pendingauthresult-return-null
- 主要言語
- Kotlin
- スター
- 9.3k
- フォーク
- 7.4k
- 平均マージ
- 7日 9時間
- マージ済み PR(30日)
- 6
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
firebase/quickstart-android のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
firebase/quickstart-android#2756 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
firebase/quickstart-android#2754 · コメント 5 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
firebase/quickstart-android#2668 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
firebase/quickstart-android#2663 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
firebase/quickstart-android#1669 · コメント 3 件 ·
firebase/quickstart-android の issue をすべて見る
似ている issue
-
android:plan main:plan packages:learn
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
afk-ok area:data-quality importer size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
enorm-labs/event-junkie#5278 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
LeanBitLab/LeanType#864 ·
メンテナーはふだん 1 日以内に返信
-
Comment NEW RI+MC+RR
難易度 1/5 1〜3時間 初心者へのやさしさ 70/100