title: React native firebase permission denied
body: <p>I am currently trying to read/write to a firebase database. I have in firebase made authentication open to all. </p>
  
  <p><a href="https://i.stack.imgur.com/hAc1F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hAc1F.png" alt="enter image description here"></a></p>
  
  <p>In my code </p>
  
  <p><a href="https://i.stack.imgur.com/A2axD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A2axD.png" alt="enter image description here"></a></p>
  
  <p>Where I console log firebase I see in 
  <a href="https://i.stack.imgur.com/uyVLT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uyVLT.png" alt="enter image description here"></a></p>
  
  <p>so it looks like I am connecting to firebase. However in my code in where I try to add to the database:</p>
  
  <pre><code>    firebase.database().ref().set(
    {
      month: 'January',
      quote: 'test'
    }
  ).then(() =&gt; {
    console.log('INSERTED !');
  });
  </code></pre>
  
  <p>I get an error of permission denied in my console. </p>
  
  <p>------------------------------Got it working
  Have to select realtime database and fix permissions there. I was fixing permissions in the wrong place!</p>
  
  <p><a href="https://i.stack.imgur.com/fRcBp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fRcBp.png" alt="enter image description here"></a></p>