CapacitorGoogleAuth icon indicating copy to clipboard operation
CapacitorGoogleAuth copied to clipboard

2 Problems GoogleAuth

Open DaniFaro opened this issue 4 years ago • 2 comments

I follow this guide https://devdactic.com/capacitor-google-sign-in/ and I have two problems.

The first is on iOS device

When I try to call GoogleAuth:

const googleUser = await GoogleAuth.signIn() as any;

I have this error: error-ios

The second is on Android device

I have this error: GoogleAuth.init() is not implemented on android.

DaniFaro avatar Aug 25 '21 21:08 DaniFaro

Working on Android device. I had the same error. The GoogleAuth.inti() is not implemented on android so I use only the GoogleAuth.signIn(). Then I had the issue #110, which I solved by following the solution https://github.com/CodetrixStudio/CapacitorGoogleAuth/issues/110#issuecomment-864494481 was proposed by @jonit-dev.

dpgiakatos avatar Aug 30 '21 10:08 dpgiakatos

Thanks @dpgiakatos for the reply: now working well on Android!

I still have the problem on iOS.

DaniFaro avatar Aug 30 '21 19:08 DaniFaro