Skip to content

[firebase_auth 4.20.0]: Use Anonymously, currentUser is null #13008

@Chau14022000

Description

@Chau14022000

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

Auth

Which platforms are affected?

iOS

Description

Even though I was logged in before and my code only performed logout before logging in, some time later that user used the app again without knowing the word minimized or starting from scratch and I don't know what that user did. but FirebaseAuth.instance.currentUser was null, surely the user did not clear the cache because this is an iOS device that does not have this feature.
I still don't know if this error is due to the user's device or the library, can anyone explain to me?
What is the _delegate value, is it lost?

Reproducing the issue

I can't reproduce it, but my users are mainly on high versions of IOS, there is an API (called when starting the app) that rarely happens. so I guess that happens when the app is minimized

Firebase Core version

2.32.0

Flutter Version

3.19.5

Relevant Log Output

No response

Flutter dependencies

Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs AttentionThis issue needs maintainer attention.platform: iosIssues / PRs which are specifically for iOS.plugin: authresolution: userThis was a user issue, e.g. invalid configuration or code.type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions