mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-13 09:35:30 -04:00
Move log
This commit is contained in:
@@ -55,8 +55,10 @@ export function isAndroidWebView() {
|
||||
}
|
||||
|
||||
|
||||
|
||||
export async function googleNativeLogin() {
|
||||
console.log('Platform:', Capacitor.getPlatform())
|
||||
console.log('URL origin:', window.location.origin)
|
||||
|
||||
await SocialLogin.initialize({
|
||||
google: {
|
||||
webClientId: '253367029065-khkj31qt22l0vc3v754h09vhpg6t33ad.apps.googleusercontent.com', // Required for Android and Web
|
||||
@@ -67,9 +69,6 @@ export async function googleNativeLogin() {
|
||||
});
|
||||
console.log('Done initializing SocialLogin')
|
||||
|
||||
console.log('Platform:', Capacitor.getPlatform())
|
||||
console.log('URL origin:', window.location.origin)
|
||||
|
||||
// Run the native Google OAuth
|
||||
const result: any = await SocialLogin.login({provider: 'google', options: {}})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user