CodetrixStudio / CapacitorGoogleAuth

Capacitor plugin for Google Auth. Lightweight & no dependencies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with 3.3.2 in Cap5 Android

lucasrleandro opened this issue · comments

Hello, im facing the following issue after upgrading to version 3.3.2:

Android:

It prompts Google interaction but in the end of the process, when its supposed to return user information, i get the error:

Unable to find a Capacitor plugin to handle requestCode, trying Cordova plugins 1397572423
{"save":false,"callbackId":"125535569","pluginId":"GoogleAuth","methodName":"signIn","success":false,"error":{"message":"Something went wrong","code":"10"}}

It was working for CAP4 with previous versions of the plugin, but now im struggling to make it work
My code looks exactly like the example at [https://www.npmjs.com/package/@codetrix-studio/capacitor-google-auth]

Solved: used web client id instead of android specific one...