Skip to content

Commit f9ccd36

Browse files
committed
Add logs
1 parent abef2b3 commit f9ccd36

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

web/lib/firebase/users.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {getAuth, GoogleAuthProvider, OAuthProvider, signInWithCredential, signIn
66
import {safeLocalStorage} from '../util/local'
77
import {app} from './init'
88
import {SocialLogin} from "@capgo/capacitor-social-login";
9+
import {Capacitor} from "@capacitor/core";
910

1011
dayjs.extend(utc)
1112

@@ -55,6 +56,10 @@ export async function googleNativeLogin() {
5556
}
5657
});
5758
console.log('Done initializing SocialLogin')
59+
60+
console.log('Platform:', Capacitor.getPlatform())
61+
console.log('URL origin:', window.location.origin)
62+
5863
// Run the native Google OAuth
5964
const result: any = await SocialLogin.login({provider: 'google', options: {}})
6065

0 commit comments

Comments
 (0)