How to use anonymous login for firebase?

I have been using Firebase block for connecting to database. However, since my mobile app will be designed for two types of login, including anonymous login and email login. Currently, what I am doing is just change the database read and write rules to true, so it does not require auth (i.e. I treat it as anonymous login).

However, I believe that is not the proper way to deal with the login. Is there any workaround for anonymous login?

Thanks!

1 Like

A post was merged into an existing topic: Can you help me with Firebase?