Is it possible to overwrite user information in firebase? When the user signs up, they have to choose a profile picture, email, password and phone number. I would like to have users be able to edit all of their information, add a bio and have it save to fire base. I was wondering what code should I call in order to make this possible? Could I just copy the code from my signup screen and also add a bio? Would it over ride it? Or would it just create a new user
Asked
Active
Viewed 459 times
1 Answers
0
There are only a limited number of properties that can be stored in a Firebase Authentication user profile.
For the list of properties that can be changed, see the reference docs. Right now that is limited to displayName
and photoURL
.
There is no property for storing the user's bio in Firebase Authentication, so you'll need to store that elsewhere. The most common places are in the Firebase Realtime Database or in Cloud Firestore. In there you'd create a node/document for each user, based on their UID, and then store the additional properties you want in there.
This topic has been covered quite a lot already, so I highly recommend you check out some of the previous questions on storing user properties, e.g.:

Frank van Puffelen
- 565,676
- 79
- 828
- 807