Skip to content

FirebaseAuth.getInstance().getCurrentUser().getUid() returning numbers in place of actual user id #1927

@gitton

Description

@gitton

[REQUIRED] Step 2: Describe your environment

com.google.firebase:firebase-auth:19.2.0

[REQUIRED] Step 3: Describe the problem

Using FirebaseAuth.getInstance().getCurrentUser().getUid() to get the user id of the user. This method is returning numbers instead of the actual user id in some case. Also, we find the users token is still valid but the user id returning from the SDK is of number example: 101528418014522522531

Steps to reproduce:

Sorry, not able to reproduce the issue and was got from Crashlytics for some users

Relevant Code:

 FirebaseAuth.getInstance().getCurrentUser().getUid()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions