Why does Firebase pendingAuthResult return null when the app is killed?
@malcolmdeck ci sta già lavorando.
Dal 20/5/2020.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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
- Lingua principale
- Kotlin
- Stelle
- 9.3k
- Fork
- 7.4k
- Merge medio
- 7g 9h
- PR unite (30g)
- 6
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di firebase/quickstart-android
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
firebase/quickstart-android#2756 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
firebase/quickstart-android#2754 · 5 commenti · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 32/100
firebase/quickstart-android#2668 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
firebase/quickstart-android#2663 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
firebase/quickstart-android#1669 · 3 commenti ·
Tutte le issue di firebase/quickstart-android
Issue simili
-
android:plan main:plan packages:learn
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
Needs Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ankidroid/Anki-Android#23453 ·
I maintainer di solito rispondono entro 1 giorno
-
afk-ok area:data-quality importer size:S
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
enorm-labs/event-junkie#5278 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
bazel-contrib/rules_kotlin#1846 ·
I maintainer di solito rispondono entro 2 giorni