Closed dantheli closed 4 weeks ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Hi @dantheli, thank you for reaching out. Can you the play-services-auth
version you're using? Does the issue occur on certain devices and/or android versions?
Thanks for your response @lehcar09. I'm not explicitly listing play-services-auth
as a dependency, but should I?
It's occurring on all devices & Android versions we're trying- haven't found one that doesn't reproduce.
Sorry, I was meant to ask for Android Gradle plugin version. The play-service-auth
dependency is required for Firebase Auth Google provider and Email linking. If you're not using them, you don't need to add the dependency.
By any chance, can you share the gradle files you're using?
Hey @dantheli. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Since there haven't been any recent updates here, I am going to close this issue.
@dantheli if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.
[READ] Step 1: Are you in the right place?
Issues filed here should be about bugs in the code in this repository. If you have a general question, need help debugging, or fall into some other category use one of these other channels:
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
With Firebase Auth 23.0.0 and
minifyEnabled
true, after signing in to Firebase Auth, quitting and relaunching the app should show a validcurrentUser
. Instead, instantiation of Firebase Auth fails with a JSON parsing error:This frustratingly only occurs when uploaded to the Play Store—I'm unable to test locally as Firebase Auth expects a proper Play Store-signed app when in release mode.
Turning off
minifyEnabled
resolves this problem.Steps to reproduce:
minifyEnabled
.Relevant Code:
Simply adding a
Firebase.auth.currentUser
in onCreate will reproduce this issue.I tried adding these Proguard rules to no avail.