问题
I have to implement firebase email authentication and want to store data with a field of firebaseUser.uid in that. I want to know if there is any case when the user's uid will be changed so that I don't mess up with the user data as I will be referring it based on the user's uid. So if any user signs up using an email id, it's uid should never change unless he logs in again with a different email.
回答1:
The UID for a user is assigned randomly and never changes within that project.
来源:https://stackoverflow.com/questions/61761846/does-the-firebase-user-uid-change-if-the-user-is-signed-out-of-the-app-when-usin