Google aut firebase rules problem

firebase rules
“rules”: {
“.read”: “auth != null”,
“.write”: “auth != null”
I cannot read and write data even though I am logged in with google. gives permison denied error

Are you using a built apk?

yes also sha1 and google sevices json using

R u receiving some kind of error?

yes, permissions denied

Try checking by setting read and write true without auth
If not worked then check orher parameters one by one and test them all

Try this

  "rules": {
    ".read" : "auth.uid != null",
    ".write" : "auth.uid != null",

from kodular docs

1 Like