Search code examples
androidfirebase-realtime-databasefirebase-consolefirebase-security

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


Solution

  • I was able to pass through this by setting up the cloud firestore first. I don't know why they decided to do this.