title: React Native fetch call working in iOS but not Android
body: <p>I can't seem to get the following fetch call to work on Android. It's not hitting the server and doesn't seem to be throwing any errors. The same code works on iOS. Do I have to do something special to enable network requests for Android on React Native? Thanks in advance.</p>
  
  <pre><code>export const login = function(user, success, error) {
          let path='http://localhost:3000/api/session';
          fetch(path, {
              method: 'POST',
              headers: {
                  'Accept': 'application/json',
                  'Content-Type': 'application/json',
              },
              body: JSON.stringify({user: user})
          }).then((response) =&gt; {
              return response.json();
          }).then(success).catch(error);
      };
  </code></pre>