Add username, profile picture, etc to sign up with Firebase (Swift 2)

2.4k Views Asked by At

Hey guys I've been watching some courses of making social apps and all of them were made with Parse, so now that I can't use it for the future because is shutting down I'm using Firebase.

The thing is Firebase has some information about authenticate user with email and password and I don't know how to send the username, profile picture, bio, etc's user information to Firebase. Any help? Thank you.

1

There are 1 best solutions below

0
GJZ On BEST ANSWER

You can authenticate the user https://firebase.google.com/docs/auth/ios/password-auth, then store the user information under the user's uid key in the realtime database https://firebase.google.com/docs/database/ios/save-data.

This is the documentation on structuring databases: https://firebase.google.com/docs/database/ios/structure-data#how_data_is_structured_its_a_json_tree

Let me know if you would like any more information

I'm also switching from Parse to Firebase and was wondering the same thing.