'how to get the user ID without firebase authentication?

I'm working on a flutter app that doesn't require an email or password to sign in, it only requires the user to enter his name my question is, how can I deal with the user data and use his user id without firebase authentication?

is that possible?



Solution 1:[1]

If you want to be able to identify a user without requiring the to enter credentials, consider using Firebase's anonymous authentication. You can then store data in your database associated with that anonymous user's UID.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Frank van Puffelen