, firebase. , , - :
firebase.database().ref('users/' + user.uid).set({
companyName: companyName,
contact: contact,
...
})
firebase :
var user = firebase.auth().currentUser;
user.updateProfile({
displayName: "Jane Q. User",
photoURL: "https://example.com/jane-q-user/profile.jpg"
}).then(function() {
}, function(error) {
});
displayName
photoUrl
.
, , - :
firebase.auth().createUserWithEmailAndPassword(email, password).then(function(){
var user = firebase.auth().currentUser;
user.updateProfile({
displayName: "Jane Q. User",
photoURL: "https://example.com/jane-q-user/profile.jpg"
}).then(function() {
}, function(error) {
});
})