Android Firebase Saving Data To Realtime Database
In android app I create a firebase user authenticated by phone number and it works fine then I update this user adding display name and this is fine too; in the end I want to save
Solution 1:
Try to add push() before setValue(): It will add new sub-node containing all the fields from object of User class:
mRootRef.child("users").child(currentUser.getUid()).push().setValue(and so on...
Post a Comment for "Android Firebase Saving Data To Realtime Database"