简体   繁体   中英

Firebase Android-Studio when login email cannot write data into db

Now, I had finished email login system, but when I login an email account, I can't write data into my database. When I logout the account it can write data into my database.

Double check your database rules. Make sure your write permission is not set to null. ".write": "auth != null"

Make write true in firebase and put the write code after login is success. ie inside task is sucessful

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM