Firebase Database Permission denied with read/write permissions set to true

前端 未结 6 1872
予麋鹿
予麋鹿 2020-12-01 18:11

I\'m having trouble writing to my Firebase database in my simple Android app. I\'ve set my database rules to be public:

{
  \"rules\": {
    \".read\": true,         


        
6条回答
  •  佛祖请我去吃肉
    2020-12-01 18:15

    I'm not entirely sure what the problem was, but I just deleted my project from Firebase and recreated it, deleting and installing the new google-services.json and it worked perfectly the second time.

    Luckily this is a test app and my database was empty, but if you're in this situation and have valuable information stored in your account, I would recommend exporting it before trying this solution.

提交回复
热议问题