Skip to content

Conversation

AlvinTCH
Copy link
Contributor

@AlvinTCH AlvinTCH commented Apr 6, 2023

In the same manner as #267, I have moved the load function to a separate function and have configured the app to call the loadSignInClient function using data from

import { GoogleAuth } from '@codetrix-studio/capacitor-google-auth';

// use hook after platform dom ready
GoogleAuth.initialize({
  clientId: 'CLIENT_ID.apps.googleusercontent.com',
  scopes: ['profile', 'email'],
  grantOfflineAccess: true,
});

with fallback from the capacitor config

I will do the updating of the readme file when these two pull requests are merged in

@AlvinTCH AlvinTCH closed this Apr 6, 2023
@AlvinTCH AlvinTCH deleted the iosCustomScope branch April 7, 2023 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant