I have an ionic2 app and am using Firebase and angularFire2. I\'d like to get the current authentication state and current auth object/user from firebase using angularFire2.
now in order to get the user info, you have to subscribe for getting the auth information. Ex
constructor(public af: AngularFire) { this.af.auth.subscribe(auth => console.log(auth));// user info is inside auth object }
auth object will be null if auth state does not exist