Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase realtime database rules resetting itself

I'm wondering if anyone else is having this issue. I created a new project using Android Studio and i went to the Firebase console to edit the realtime database, but it keeps looping back to a menu to choose either locked mode or test mode after i exit the database (and publishing new rules):

"Start in locked mode Make your database private by denying all reads and writes

Start in test mode Get set up quickly by allowing all reads and writes to your database"

At the moment i cant save any database rules, it'll just reset to either choose locked mode or test mode. This is odd because for the pasted month it was working great until this new menu popup.

Image description

like image 1000
Mars Avatar asked Sep 02 '25 09:09

Mars


1 Answers

I just found this issue and was totally confused. I realized it resets every time I deploy because firebase deploy sends a firestore.rules file every time. I just needed to update that firestore.rules rather than online.

like image 176
wejrowski Avatar answered Sep 05 '25 00:09

wejrowski