title: react native axios request not working in IOS simulator
body: <p>I am trying to getting data from API using <a href="https://github.com/axios/axios" rel="nofollow noreferrer">axios</a>.</p>
  
  <p>This is my code that makes a get request :</p>
  
  <pre><code>export const loadBloodGroups = () =&gt; {
      return (dispatch) =&gt; {
  
          dispatch({ type: LOADING_BLOOD });
  
          const url = `http://www.example.org/api/bloodgroup/getusersbloodgroup`;
          axios.get(url)
          .then(response =&gt; loadingSuccess(dispatch, response))
          .catch(error =&gt; loadingFail(dispatch, error));
      };
  };
  
  const loadingFail = (dispatch, error) =&gt; {
      console.log(error);
      dispatch({ 
          type: LOADING_BLOOD_FAIL,
          payload: error
      });
  };
  
  const loadingSuccess = (dispatch, response) =&gt; {
      dispatch({
          type: LOADING_BLOOD_SUCCESS, 
          payload: response
      });
  }; 
  </code></pre>
  
  <p>info.plist setup for http :</p>
  
  <p><a href="https://i.imgur.com/FNGgYcI.png" rel="nofollow noreferrer"><img src="https://i.imgur.com/FNGgYcI.png" alt="enter image description here"></a></p>
  
  <p><strong>It works fine in android emulator, but IOS simulator is not working.</strong></p>
  
  <p>In my browser debug console it shows :</p>
  
  <p><a href="https://i.stack.imgur.com/KQIEl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KQIEl.png" alt="enter image description here"></a></p>
  
  <p>and Mac terminal it shows :</p>
  
  <p><a href="https://i.stack.imgur.com/zo3vL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zo3vL.png" alt="enter image description here"></a></p>
  
  <p><strong>Can anybody tell me, where I made mistake ? or should I need to do any other configuration for IOS?</strong> </p>
  
  <p><strong>My platform:</strong></p>
  
  <ul>
  <li>OS: Mac 10.13</li>
  <li>node: 10.7</li>
  <li>npm: 6.3.0</li>
  <li>react: 16.4.1</li>
  <li>react-native: 0.55</li>
  </ul>