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!
Angular, React, JavaScript, Java, PHP, SQL, C#, Vue, NodeJs, TypeScript and Interview Questions Answers