Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

firebase update users

const theuser = firebase.auth().currentUser;
    console.log(theuser.email)
    theuser.updateProfile({
      displayName: firstName + lastName,
      photoURL: uploadUri,
    })
Comment

firebase auth update current user

 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.}); 
Comment

PREVIOUS NEXT
Code Example
::  
::  
::  
::  
::  
::  
::  
::  
::  
::  
::  
::  
::  
::  
::  
::  
::  
::  
::  
Javascript ::  
::  
::  
::  
::  
::  
::  
Javascript ::  
Javascript ::  
::  
::  
ADD CONTENT
Topic
Content
Source link
Name
3+8 =