Sign In Anonymously
Use the signInAnonymously method to allow users to sign in to the application without providing any credentials, creating an anonymous account.
Method
final userCredential = await FirebaseApp.firebaseAuth?.signInAnonymously();Parameters
None
Return
UserCredential?: Returns a
UserCredentialobject containing the user's information after signing in anonymously.
This method enables users to access the application as anonymous users, creating a temporary account that can be upgraded later by linking additional authentication providers.
Last updated