title: Socket.io and React-native seTimeout warning
body: <p>I followed this link to set up socket.io with react: <a href="https://medium.com/dailyjs/combining-react-with-socket-io-for-real-time-goodness-d26168429a34" rel="nofollow noreferrer">https://medium.com/dailyjs/combining-react-with-socket-io-for-real-time-goodness-d26168429a34</a></p>
  
  <p>Installed packages</p>
  
  <ul>
  <li>socket.io-client: 2.0.4</li>
  <li>react-native-cli: 2.0.1 </li>
  <li>react-native: 0.48.3</li>
  </ul>
  
  <p>Now I get the following warning when launching the app on the Android Emulator:
  <a href="https://i.stack.imgur.com/hZRX7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hZRX7.jpg" alt="Emulator"></a></p>
  
  <p>I've tried using the following code:</p>
  
  <pre><code>import openSocket from 'socket.io-client';
  const options = {
    pingTimeout: 3000,
    transports: ['websocket'],
    allowUpgrades: false,
    cookie: false
  };
  const socket = openSocket(url, options);
  </code></pre>