'How to login using googe sign on react-native expo

I have a project that requires google sign in and I have installed and followed the instruction on the firebase but I keep getting this error

(0, _auth.signInWithRedirect) is not a function. (In '(0, _auth.signInWithRedirect)(_firebase.auth, provider)', '(0, _auth.signInWithRedirect)' is undefined

I printend the firebase/auth and the result is that there is no signWithRedirect funtion but on their documentation it said that I should take the signWithRedirect from firebase/auth

Anyone know if they change the name of the function or anything?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source