You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement functionalities to suggest and store usernames during the user sign-up process. The initial username should be a combination of the first three letters of the user's full name (excluding any white spaces) and some digits. Ensure that this username is unique by checking against existing usernames stored in the Firebase Firestore database.
Requirements
Username Generation:
Extract the first three letters from the user's full name, ignoring any white spaces.
Append a random or sequential set of digits to the extracted letters to form an initial username suggestion.
Uniqueness Check:
Check the generated username against the usernames stored in the Firebase Firestore database.
If the username already exists, modify the username by changing the appended digits and recheck until a unique username is found.
Storage:
Once a unique username is generated, store it in the Firebase Firestore database along with the user's other sign-up details.
The text was updated successfully, but these errors were encountered:
Description
Implement functionalities to suggest and store usernames during the user sign-up process. The initial username should be a combination of the first three letters of the user's full name (excluding any white spaces) and some digits. Ensure that this username is unique by checking against existing usernames stored in the Firebase Firestore database.
Requirements
Username Generation:
Uniqueness Check:
Storage:
The text was updated successfully, but these errors were encountered: