1- # CapacitorGoogleAuth
2-
3- [ ![ npm] ( https://img.shields.io/npm/v/@codetrix-studio/capacitor-google-auth )] ( https://www.npmjs.com/package/@codetrix-studio/capacitor-google-auth )
4- ![ npm] ( https://img.shields.io/npm/dt/@codetrix-studio/capacitor-google-auth )
5- ![ npm] ( https://img.shields.io/npm/dw/@codetrix-studio/capacitor-google-auth )
6- ![ Dependents (via libraries.io)] ( https://img.shields.io/librariesio/dependents/npm/@codetrix-studio/capacitor-google-auth )
7- [ ![ install size] ( https://packagephobia.com/badge?p=@codetrix-studio/capacitor-google-auth )] ( https://packagephobia.com/result?p=@codetrix-studio/capacitor-google-auth )
8-
1+ <h1 align =" center " >CapacitorGoogleAuth</h1 >
2+ <p align =" center " ><strong ><code >@codetrix-studio/capacitor-google-auth</code ></strong ></p >
3+ <br >
4+ <p align =" center " ><strong >CAPACITOR 5</strong ></p >
5+ <p align =" center " >
96Capacitor plugin for Google Auth.
7+ </p >
8+ <br >
9+ <p align =" center " >
10+ <a href =" https://www.npmjs.com/package/@codetrix-studio/capacitor-google-auth " ><img alt =" npm " src =" https://img.shields.io/npm/v/@codetrix-studio/capacitor-google-auth " ></a > <a href =" https://www.npmjs.com/package/@codetrix-studio/capacitor-google-auth " ><img alt =" npm " src =" https://img.shields.io/npm/dt/@codetrix-studio/capacitor-google-auth " ></a > <a href =" https://www.npmjs.com/package/@codetrix-studio/capacitor-google-auth " ><img alt =" npm " src =" https://img.shields.io/npm/dw/@codetrix-studio/capacitor-google-auth " ></a > <a href =" https://libraries.io/npm/@codetrix-studio%2Fcapacitor-google-auth " ><img alt =" Dependents (via libraries.io) " src =" https://img.shields.io/librariesio/dependents/npm/@codetrix-studio/capacitor-google-auth " ></a > <a href =" https://packagephobia.com/result?p=@codetrix-studio/capacitor-google-auth " ><img alt =" install size " src =" https://packagephobia.com/badge?p=@codetrix-studio/capacitor-google-auth " ></a >
11+ </p >
1012
1113## Contributions
1214
@@ -102,13 +104,13 @@ async googleSignIn() {
102104#### Vue 3
103105
104106``` vue
105- <script setup lang="ts">
106- import { defineComponent, onMounted } from 'vue'
107- import { GoogleAuth } from '@codetrix-studio/capacitor-google-auth'
107+ <script setup lang="ts">
108+ import { defineComponent, onMounted } from 'vue';
109+ import { GoogleAuth } from '@codetrix-studio/capacitor-google-auth';
108110
109111onMounted(() => {
110112 GoogleAuth.initialize();
111- })
113+ });
112114
113115async function logIn() {
114116 const response = await GoogleAuth.signIn();
@@ -198,11 +200,21 @@ export default config;
198200
199201## Migration guide
200202
203+ #### Migrate from 3.2.x to 3.3.x
204+
205+ Install version 3.3.x:
206+
207+ ``` sh
208+ npm i --save @codetrix-studio/capacitor-google-auth^3.3
209+ ```
210+
211+ Follow instruction for you project [ Updating from Capacitor 4 to Capacitor 5] ( https://capacitorjs.com/docs/updating/5-0 ) .
212+
201213#### Migrate from 3.2.1 to 3.2.2
202214
203215for ` Android ` in file ` MainActivity.onCreate `
204216
205- ``` diff
217+ ``` diff
206218- this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
207219- add(GoogleAuth.class);
208220- }});
@@ -214,7 +226,7 @@ for `Android` in file `MainActivity.onCreate`
214226Install version 3.2.x:
215227
216228``` sh
217- npm i --save @codetrix-studio/capacitor-google-auth
229+ npm i --save @codetrix-studio/capacitor-google-auth^3.2
218230```
219231
220232Follow instruction for you project [ Updating from Capacitor 3 to Capacitor 4] ( https://capacitorjs.com/docs/updating/4-0 ) .
@@ -231,7 +243,7 @@ Follow instruction for you project [Updating from Capacitor 3 to Capacitor 4](ht
231243Install version 3.x.x:
232244
233245``` sh
234- npm i --save @codetrix-studio/capacitor-google-auth@3
246+ npm i --save @codetrix-studio/capacitor-google-auth^3.0
235247```
236248
237249After [ migrate to Capcitor 3] ( https://capacitorjs.com/docs/updating/3-0 ) updating you projects, see diff:
0 commit comments