Skip to content

Commit f5b6037

Browse files
committed
Move log
1 parent 2c4ce6c commit f5b6037

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

web/lib/firebase/users.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ export function isAndroidWebView() {
5555
}
5656

5757

58-
5958
export async function googleNativeLogin() {
59+
console.log('Platform:', Capacitor.getPlatform())
60+
console.log('URL origin:', window.location.origin)
61+
6062
await SocialLogin.initialize({
6163
google: {
6264
webClientId: '253367029065-khkj31qt22l0vc3v754h09vhpg6t33ad.apps.googleusercontent.com', // Required for Android and Web
@@ -67,9 +69,6 @@ export async function googleNativeLogin() {
6769
});
6870
console.log('Done initializing SocialLogin')
6971

70-
console.log('Platform:', Capacitor.getPlatform())
71-
console.log('URL origin:', window.location.origin)
72-
7372
// Run the native Google OAuth
7473
const result: any = await SocialLogin.login({provider: 'google', options: {}})
7574

0 commit comments

Comments
 (0)