@aligassan wrote:
hi , l am try to build simple app database connection with firebase . l used authentication email and password for access to my app and he is working fine . And when l post in database he is working fine either . l am tired to find way to show the user name or the email address for who post in database , but unfortunately no way . there is any way to to show the user name or email address for anyone who post in databases ?
l try this code for showing email address but l got the same email only !
ionViewDidLoad() {
this.fire.authState.subscribe(data =>{ console.log(data) if (data.email && data.uid){ this.adderss = data.email }else{ } }) }
my real time databases
any solution please with simple code ?
Posts: 1
Participants: 1