I create react native app with firebase user auth using, here i try to redirect user to login with facebook:
login(){
const provider = new firebase.auth.FacebookAuthProvider();
firebase.auth().signInWithPopup(provider)
.then(function(result){
Alert.alert(result.user.email);
});
}
but i'm getting this error each time: This operation is not supported in the environment this application is runnung on."location.protocol" must be http, https or chrome-extension and web storage must be enabled. I found this question on this forum it's not exactly my problem but i think it's similar. In my application i use expo, how can i configure expo server or how can i solve it ?