@reslear/capacitor-google-auth
CapacitorGoogleAuth
Capacitor plugin for Google Auth.
⚠️ This is fork original plugin @codetrix-studio/capacitor-google-auth with new beta features, changes or experiments
Install
npm i -D @reslear/capacitor-google-auth
npx cap sync
WEB
Register plugin and manually initialize
import { GoogleAuth } from '@reslear/capacitor-google-auth';
GoogleAuth.initialize({
client_id: 'xxxxxx-xxxxxxxxxxxxxxxxxx.apps.googleusercontent.com',
scopes: ['profile', 'email'],
grantOfflineAccess: true,
});
see
initializemethod options - descriptions, examples, default values and types indefinition.ts
Use it
GoogleAuth.signIn();
Config, IOS, ANDROID and etc..
see originally instruction CodetrixStudio/CapacitorGoogleAuth
Related Packages
app-tracking-transparency-capacitor-ionic
Capacitor plugin to request user authorization to access app-related data for tr...
1,435
1
Version History
| Version | Released | License |
|---|---|---|
| 3.1.2 | MIT | |
| 3.1.1 | MIT | |
| 3.1.0 | MIT | |
| 1.1.9 | MIT | |
| 1.1.8 | MIT | |
| 1.1.7 | MIT | |
| 1.1.6 | MIT | |
| 1.1.5 | MIT | |
| 1.1.4 | MIT | |
| 1.1.3 | MIT | |
| 1.1.2 | MIT | |
| 1.1.1 | MIT | |
| 1.1.0 | MIT | |
| 1.0.3 | MIT | |
| 1.0.2 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT |
Pre-releases (6)
| Version | Released | License |
|---|---|---|
| 1.0.0-rc.5 | MIT | |
| 1.0.0-rc.4 | MIT | |
| 1.0.0-rc.3 | MIT | |
| 1.0.0-rc.2 | MIT | |
| 1.0.0-rc.1 | MIT | |
| 1.0.0-rc.0 | MIT |