Help needed in firebase login

Hey guys i am already using the facebook native plugin and google login but i have only 3 views in whole application that need the login details and hence i think of switching to firebase login

What i want is that if the user has already logged in then enter the view else the login page should showup


Can you share your facebook/google code?
I got the firebase working
You have to feed your native ionic facebook/google credential then into the firebase facebook /google login

i got it working