title: How to read contacts - react native
body: <p>I want to read all contacts. I'm using this library:</p>
  
  <p><a href="https://github.com/rt2zz/react-native-contacts" rel="nofollow noreferrer">https://github.com/rt2zz/react-native-contacts</a></p>
  
  <p>I installed it and I added this permission on manifest.xml :</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.READ_CONTACTS" /&gt;
  </code></pre>
  
  <p>but when I want to call getAll function my app is show me <code>Unfortunately, *** has stopped</code></p>
  
  <pre><code> componentDidMount(){
     Contacts.getAll((err, contacts) =&gt; {
    if (err) throw  err
  
      //console.log(contacts)
    })
   }
  </code></pre>