title: Firebase Realtime Database: DatabaseError Permission denied
body: <p>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" </p>
  
  <p>My rules are set to:</p>
  
  <pre><code>{"rules": {
  ".read": "auth == null",
  ".write": false}}
  </code></pre>
  
  <p>Changing "auth == null" to true also throws the same permission error.</p>
  
  <p>I do not want to give user permission to write the db, just read.</p>
  
  <p>I have already: <br>
  Connected the app to Firebase <br>
  Set dependencies<br>
  Written to the database</p>
  
  <p>Any ideas? <br>
  Thanks</p>