title: Google Sign In with Firebase in React Native
body: <p>I'm trying to login with Google but it throws me this error:</p>
  
  <blockquote>
    <p>code: "auth/operation-not-supported-in-this-environment"
    message: "This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled."</p>
  </blockquote>
  
  <p>This is the code:</p>
  
  <pre><code>const provider = new firebase.auth.GoogleAuthProvider();
  provider.addScope('profile');
  provider.addScope('email');
  firebase.auth().signInWithPopup(provider)
    .then((result) =&gt; {
      console.log(result);
    })
    .catch((error) =&gt; {
      console.log(error);
    })
  </code></pre>
  
  <h3>Aditional Information:</h3>
  
  <ul>
  <li>"firebase": "^3.7.1"</li>
  <li>"react-native": "^0.42.0"</li>
  <li>platform: Android</li>
  </ul>
  
  <p>any ideas?
  thanks in advance!</p>