I am seeing this error while integrating signin with google in ionic using angular by referring the link given below.
Referred link: https://devdactic.com/capacitor-google-sign-in/
I have tried debugging the issue and trying to search it in google but didn't find any relevant docs.
Code :
import { Component } from '@angular/core';
import '@codetrix-studio/capacitor-google-auth';
import { Plugins } from '@capacitor/core';
@Component({
selector: 'app-root',
templateUrl: 'app.component.html',
styleUrls: ['app.component.scss'],
})
export class AppComponent {
userInfo = null;
constructor() { }
async googleSignup() {
const googleUser = await Plugins.GoogleAuth.signIn(null) as any;
console.log('my user: ', googleUser);
this.userInfo = googleUser;
}
}
And I would like to know is there any alternative for Plugins which is deprecated in @capactior/core
