CapacitorGoogleAuth icon indicating copy to clipboard operation
CapacitorGoogleAuth copied to clipboard

Problem with authentication since Angular10

Open monaco05 opened this issue 4 years ago • 1 comments

Hi there,

i´ve the following error since i updated to Angular10:

Property 'authentication' does not exist on type '{ value: string; }'

I used the workaround with "null" on signIn method.

Here is my code:

let googleUser = await Plugins.GoogleAuth.signIn(null); const credential = auth.GoogleAuthProvider.credential(googleUser.authentication.idToken); return this.afAuth.auth.signInAndRetrieveDataWithCredential(credential);

monaco05 avatar Sep 02 '20 07:09 monaco05

Already fixed: https://github.com/CodetrixStudio/CapacitorGoogleAuth/pull/66

atamansv avatar Feb 09 '21 15:02 atamansv