const theuser = firebase.auth().currentUser;
console.log(theuser.email)
theuser.updateProfile({
displayName: firstName + lastName,
photoURL: uploadUri,
})
var user = firebase.auth().currentUser;user.updateProfile({ displayName: "Jane Q. User", photoURL: "https://example.com/jane-q-user/profile.jpg"}).then(function() { // Update successful.}).catch(function(error) { // An error happened.});
Code Example |
---|
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
Javascript :: |
:: |
:: |
:: |
:: |
:: |
:: |
Javascript :: |
Javascript :: |
:: |
:: |