On standalone app it showing
You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy for keeping apps secure
this and nothing happening. But in emulator everything is working fine.
my code
import * as GoogleSignIn from 'expo-auth-session/providers/google';
WebBrowser.maybeCompleteAuthSession();
const [request, response, promptAsync] = GoogleSignIn .useAuthRequest({
expoClientId: 'id',
androidClientId: 'id',
});
useEffect(() => {
if (response?.type === 'success') {
const { authentication } = response;
}
}, [response]);