Why does Firebase pendingAuthResult return null when the app is killed?
@malcolmdeck y travaille déjà.
Depuis le 20/5/2020.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
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
- Langage dominant
- Kotlin
- Étoiles
- 9.3k
- Forks
- 7.4k
- Merge moyen
- 7 j 9 h
- PR mergées (30 j)
- 6
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de firebase/quickstart-android
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
firebase/quickstart-android#2756 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
firebase/quickstart-android#2754 · 5 commentaires · 1 réaction ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 32/100
firebase/quickstart-android#2668 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
firebase/quickstart-android#2663 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
firebase/quickstart-android#1669 · 3 commentaires ·
Toutes les issues de firebase/quickstart-android
Issues similaires
-
android:plan main:plan packages:learn
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
Les mainteneurs répondent en général sous 1 jour
-
Needs Triage
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
ankidroid/Anki-Android#23453 ·
Les mainteneurs répondent en général sous 1 jour
-
afk-ok area:data-quality importer size:S
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
enorm-labs/event-junkie#5278 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
bazel-contrib/rules_kotlin#1846 ·
Les mainteneurs répondent en général sous 2 jours