title: uri to real path in react-native
body: <p>I use react-native-document-picker to select images and videos in Android and IOS.
  The problem is that it returns an uri, and I need the real path.</p>
  
  <p>I tried using react-native-fetch-blob with function stat. And react-native-fs with function stat. Both don't work with uris. But if I use for example react-native-fs readFile, it works ok with uris.</p>
  
  <p>react-native-get-real-path works only with Android so is not an option.</p>
  
  <p>EDIT:
  Someone advised me to use rn-fetch-blob, but I had problems installing it:
  <a href="https://github.com/joltup/rn-fetch-blob/issues/289" rel="nofollow noreferrer">https://github.com/joltup/rn-fetch-blob/issues/289</a></p>
  
  <p>I tried to use react-native-get-real-path and distinguish between Android and IOS, but it is problematic too.</p>