File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,10 @@ export function isAndroidWebView() {
5555}
5656
5757
58-
5958export 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
You can’t perform that action at this time.
0 commit comments