There was an error while loading. Please reload this page.
1 parent 2c4ce6c commit f5b6037Copy full SHA for f5b6037
1 file changed
web/lib/firebase/users.ts
@@ -55,8 +55,10 @@ export function isAndroidWebView() {
55
}
56
57
58
-
59
export async function googleNativeLogin() {
+ console.log('Platform:', Capacitor.getPlatform())
60
+ console.log('URL origin:', window.location.origin)
61
+
62
await SocialLogin.initialize({
63
google: {
64
webClientId: '253367029065-khkj31qt22l0vc3v754h09vhpg6t33ad.apps.googleusercontent.com', // Required for Android and Web
@@ -67,9 +69,6 @@ export async function googleNativeLogin() {
67
69
});
68
70
console.log('Done initializing SocialLogin')
71
- console.log('Platform:', Capacitor.getPlatform())
- console.log('URL origin:', window.location.origin)
72
73
// Run the native Google OAuth
74
const result: any = await SocialLogin.login({provider: 'google', options: {}})
75
0 commit comments