I'm calling data from a Firebase Realtime Database into Android, and I get the following error: "W/SyncTree: Listen at /Datas failed: DatabaseError: Permission denied"
My rules are set to:
{"rules": {
".read": "auth == null",
".write": false}}
Changing "auth == null" to true also throws the same permission error.
I do not want to give user permission to write the db, just read.
I have already:
Connected the app to Firebase
Set dependencies
Written to the database
Any ideas?
Thanks