diff --git a/src/web.ts b/src/web.ts index 4be08ee..58bde00 100644 --- a/src/web.ts +++ b/src/web.ts @@ -68,8 +68,10 @@ export class GoogleAuthWeb extends WebPlugin implements GoogleAuthPlugin { platformJsLoaded() { gapi.load('auth2', () => { - const clientConfig: gapi.auth2.ClientConfig = { + // https://github.com/CodetrixStudio/CapacitorGoogleAuth/issues/202#issuecomment-1147393785 + const clientConfig: gapi.auth2.ClientConfig & { plugin_name: string } = { client_id: this.options.clientId, + plugin_name: 'CodetrixStudioCapacitorGoogleAuth', }; if (this.options.scopes.length) {