Google Sign In with Firebase in React Native
I'm trying to login with Google but it throws me this error: 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." This is the code: const provider = new firebase.auth.GoogleAuthProvider(); provider.addScope('profile'); provider.addScope('email'); firebase.auth().signInWithPopup(provider) .then((result) => { console.log(result); }) .catch((error) => { console.log(error); }) Aditional Information: "firebase"