I created client id to test it in expo app which apis is written in nodejs like these steps
Application Type: Android Application
Package name: match with the value of android.package in app.json.
Authorized JavaScript origins
URIs:http://localhost:3000
Authorized redirect URIs
http://localhost:3000/googleLogin
and use it in my code
import * as Google from 'expo-google-app-auth';
export default function Signup() {
const googleSignin = async() => {
let result = await Google.logInAsync({
androidClientId: `${CLIENT_ID}`
});
console.log(result)
}
return (
<TouchableOpacity onPress={()=>googleSignin()}>
<Text>LOG IN WITH GOOGLE</Text>
</TouchableOpacity >
)
}
I get that error >> Authorization error Error 400: invalid_request custom scheme URIs are not allowed for "WEB" client type