title: Upload image to server with XMLHttpRequest and FormData in React-Native
body: <p>I am trying to upload image to server with progress by using the example provided by:</p>
  
  <p><code>https://gist.github.com/Tamal/9231005f0c62e1a3f23f60dc2f46ae35</code></p>
  
  <p>I checked some tutorials, the code should works. But the uri in Android show uri</p>
  
  <p><code>uri: content://media/external/images/media/4985</code></p>
  
  <p>The URI come from the component</p>
  
  <p><code>https://github.com/jeanpan/react-native-camera-roll-picker</code></p>
  
  <p>The URI should be</p>
  
  <p><code>file://....</code></p>
  
  <p>So, why the upload code not working.</p>
  
  <p>How can I convert the </p>
  
  <p><code>content://...</code> to <code>file://....</code> to make it possible to upload image to server in React-native? or does my assumed is correct?</p>