i was able to use google login on localhost, but when i swich to virtual andoid wtih eas build i get {"type":dismiss} from WebBrowser, wtf is happening. i created web profile and set Hostname to "*", code: `export const signInWithGoogle = async () => { try { const redirecting = Linking.createURL("google", { scheme: "quizapp", isTripleSlashed: false });
const responseData = await account.createOAuth2Token(
OAuthProvider.Google,
redirecting
);
const res = await WebBrowser.openAuthSessionAsync(
responseData.toString(),
redirecting,
);
console.log("googleLogin", res)
if (res.type === "success") {
const data = parseUrl(res.url)
const secret = data?.query?.secret
const userId = data?.query?.userId
const ses = await account.createSession(userId, secret);
return { success: true, session: ses };
}
} catch (error) { console.log(error); return { success: false }; } };`
Recommended threads
- Database Write Limits hit
Hello Appwrite Admins, I'm a GitHub Education user, and about a week ago, my database was really badly optimized, resulting in about 600k writes in a single day...
- Help: Domain krtrim.tech Blocked on Fast...
Hi, I'm trying to add my domain krtrim.tech (and subdomain) in Appwrite, but I'm getting this error: Failed to add domain to Fastly: {"msg":"Bad request","deta...
- [CLOSED] Any known issues curerntly? dat...
Hi, Any known issues curerntly? database tab is not loading for me