Hi,
I have a app that make a registration. The users save your preferencies. I can save this information in Firebase and read the information in the Firebase and save in a variable, but I can’t return this value to a txt field in the html code. I don’t know how can I do this.
html code
Javascript code
return firebase.database().ref(‘Mirror/’ + uid).once(‘value’).then(function(snapshot) {
usernames = snapshot.val().NOME;
console.log(usernames);
});