Marcus Graf
Hey, can u give me a quick tip how to bring this to live with firebase? Iam doing something like this at the moment, but the profile picture is empty: let displayName: string = ""; let photoUrl: string = ""; let userEmail: string = ""; firebase.auth().onAuthStateChanged((user) => { if (user) { this.authData.persistUser(user); displayName = user.displayName; photoUrl = user.photoURL; userEmail = user.email; } else { this.rootPage = LoginPage; } }); // initialize the menu this.menuOptions = { header: { background: '#ccc url(./assets/menu_bg1.jpg) no-repeat top left / cover', picture: photoUrl, username: displayName, email: userEmail, },
Marcus Graf
That looks aweful, i sent you an email ;)
Iclic Labs
got it :) Always email me at icl1clabs@gmail.com for support requests!
Johan Walhout
Hi, same problem here (fill the menu from Firebase) van you share me the solution please?