Hello,
I’ve been trying to use expo-google-app-auth to login in my react-native app (wired-up to firebase for authentication).
This is actually what it looks like
using expo documentation :
try {
const result = await Google.logInAsync({
androidClientId: "<ID>",
scopes: ['profile', 'email'],
});
if (result.type === 'success') {
onSignIn(result);
}
} catch (e) {
console.log("error", e);
}
Is it possible to have a modal instead of a redirection ?
I’ve seen a screenshot on Expo forum where the user has such a result.
Can anyone give me a clue ?
Thanks in advance,
Mat