Seop
Seop

Reputation: 23

Will the UID of the user deleted from the Firebase be reused for the new user?

I know that the Uid of authenticated user on firebase is unique.

But, I can not be sure that uid of the deleted user will not be re used by the new user.

I could not find an explanation for this.

I need experience or information related to this.

Upvotes: 2

Views: 216

Answers (1)

P.B.UDAY
P.B.UDAY

Reputation: 483

I think the uid will always be unique. It is actually based on the timestamp and other factors so it will be unique.

Info on how firebase generates it : How does Firebase generate the Uid?

And about their uniqueness: https://towardsdatascience.com/are-uuids-really-unique-57eb80fc2a87

If you still want to set your custom uid for a user for any analytics purpose : https://firebase.google.com/docs/analytics/userid

Upvotes: 2

Related Questions