1

What is the best way to add properties to a FirebaseUser?

Is there a way to add to the FirebaseUser object?

Or do we need to create a separate /users/ tree in Firebase with each nodes key (for each user) as the users FirebaseUser.getUid() key ?

Nickmccomb
  • 1,467
  • 3
  • 19
  • 34
  • 1
    There is no API in Firebase Authentication to store custom properties for a user. The common solution is indeed to keep a list of users in the Firebase Database under a `/users/` nodes. See http://stackoverflow.com/questions/37415863/firebase-setting-additional-user-properties – Frank van Puffelen Aug 06 '16 at 15:17

0 Answers0