Skip to main content

Posts

Showing posts with the label Firebase Anonymous Authentication

How To Host Apps on Firebase Server?

There are different steps involve to Host the apps on Firebase Server i.e. Steps 1 – Install the below commands globally! npm install - g firebase - tools Steps 2 – Initialize Firebase App! firebase login Run the below commands in the root folder of the app! firebase init Steps 3 – Deploy Firebase App using below commands! firebase deploy Stayed Informed - Firebase Tutorial for Android and IOS I hope you are enjoying with this post! Please share with you friends. Thank you so much!

How To Authenticate users Anonymously in Firebase?

Let's start to authenticated user anonymously; there are two simple steps as following as - Enable Anonymous Auth - To click Auth and open the SignIn method from the Firebase dashboard and enable to anonymous authentication. SignIn Function - To use signInAnonymously () method for the authentication anonymously. Example – var anonymouslyAuth = firebase . auth (). signInAnonymously (); anonymouslyAuth . then ( function () {         console . log ( 'Logged in as Anonymously!' )     })     . catch ( function ( error ) {         console . log ( error . code );         console . log ( error . message ); }); Stayed Informed - Firebase Tutorial for Android and IOS I hope you are enjoying with this post! Please share with you friends. Thank you so much!