title: React native search for documents(.pdf, .doc, .xlsx) in device
body: <p>I am working on an app to get all documents like <code>.pdf .doc .docx .ppt .pptx .xls .txt .xlsx</code>. ihave tried <code>rn-fetch-blob</code> and <code>react-native-fs</code> but there are giving only directory status.</p>
  <pre><code>useEffect(() =&gt; {
    const fetchdocuments = async () =&gt; {
      RNFetchBlob.fs.lstat(RNFetchBlob.fs.dirs.SDCardDir).then((data) =&gt; {
        data.forEach(element =&gt; {
            console.log(element)
        });
      }).catch((error) =&gt; {
        console.log(error)
      })
    }
    fetchdocuments()
  },[])
  </code></pre>
  <p>I also tried this library <code>react-native-get-music-files</code> but it returns only the <code>mediastore file API for android</code> but don't know how to implement this in react-native. any help will be really appreciated.</p>