cordova-plugin-firebase-authentication 7.0.0 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/package.json +2 -1
- package/plugin.xml +2 -2
- package/types/FirebaseAuthentication.d.ts +6 -0
- package/www/FirebaseAuthentication.js +6 -0
package/README.md
CHANGED
|
@@ -275,6 +275,11 @@ ___
|
|
|
275
275
|
|
|
276
276
|
Uses Apples's <code>idToken</code> and <code>rawNonce</code> to sign-in into firebase account. For getting _idToken_ (_rawNonce_ is optional) you can use `cordova-plugin-sign-in-with-apple` (or any other cordova plugin for Apple Sign-In).
|
|
277
277
|
|
|
278
|
+
**`See`**
|
|
279
|
+
|
|
280
|
+
- https://firebase.google.com/docs/auth/android/apple
|
|
281
|
+
- https://firebase.google.com/docs/auth/ios/apple
|
|
282
|
+
|
|
278
283
|
**`Example`**
|
|
279
284
|
|
|
280
285
|
```ts
|
|
@@ -395,6 +400,11 @@ ___
|
|
|
395
400
|
|
|
396
401
|
Uses Google's <code>idToken</code> and <code>accessToken</code> to sign-in into firebase account.
|
|
397
402
|
|
|
403
|
+
**`See`**
|
|
404
|
+
|
|
405
|
+
- https://firebase.google.com/docs/auth/android/google-signin
|
|
406
|
+
- https://firebase.google.com/docs/auth/ios/google-signin
|
|
407
|
+
|
|
398
408
|
**`Example`**
|
|
399
409
|
|
|
400
410
|
```ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cordova-plugin-firebase-authentication",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"description": "Cordova plugin for Firebase Authentication",
|
|
5
|
+
"types": "./types/index.d.ts",
|
|
5
6
|
"cordova": {
|
|
6
7
|
"id": "cordova-plugin-firebase-authentication",
|
|
7
8
|
"platforms": [
|
package/plugin.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
2
2
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
3
|
id="cordova-plugin-firebase-authentication"
|
|
4
|
-
version="7.0.
|
|
4
|
+
version="7.0.1">
|
|
5
5
|
|
|
6
6
|
<name>cordova-plugin-firebase-authentication</name>
|
|
7
7
|
<description>Cordova plugin for Firebase Authentication</description>
|
|
@@ -59,7 +59,7 @@ xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
59
59
|
<preference name="GradlePluginGoogleServicesVersion" value="4.3.13" />
|
|
60
60
|
</config-file>
|
|
61
61
|
|
|
62
|
-
<dependency id="cordova-support-android-plugin" version="~2.0.
|
|
62
|
+
<dependency id="cordova-support-android-plugin" version="~2.0.4"/>
|
|
63
63
|
|
|
64
64
|
<framework src="platform('com.google.firebase:firebase-bom:$ANDROID_FIREBASE_BOM_VERSION')" />
|
|
65
65
|
<framework src="com.google.firebase:firebase-auth" />
|
|
@@ -76,6 +76,9 @@ export function signInAnonymously(): Promise<void>;
|
|
|
76
76
|
* @param {string} accessToken Google Access token
|
|
77
77
|
* @returns {Promise<void>} Callback when operation is completed
|
|
78
78
|
*
|
|
79
|
+
* @see https://firebase.google.com/docs/auth/android/google-signin
|
|
80
|
+
* @see https://firebase.google.com/docs/auth/ios/google-signin
|
|
81
|
+
*
|
|
79
82
|
* @example
|
|
80
83
|
* // Below we use cordova-plugin-googleplus to trigger Google Login UI
|
|
81
84
|
* window.plugins.googleplus.login({
|
|
@@ -120,6 +123,9 @@ export function signInWithTwitter(token: string, secret: string): Promise<void>;
|
|
|
120
123
|
* @param {string} rawNonce Apple's raw token string
|
|
121
124
|
* @returns {Promise<void>} Callback when operation is completed
|
|
122
125
|
*
|
|
126
|
+
* @see https://firebase.google.com/docs/auth/android/apple
|
|
127
|
+
* @see https://firebase.google.com/docs/auth/ios/apple
|
|
128
|
+
*
|
|
123
129
|
* @example
|
|
124
130
|
* // below we use cordova-plugin-sign-in-with-apple to trigger Apple Login UI
|
|
125
131
|
* cordova.plugins.SignInWithApple.signin({
|
|
@@ -133,6 +133,9 @@ exports.signInWithGoogle =
|
|
|
133
133
|
* @param {string} accessToken Google Access token
|
|
134
134
|
* @returns {Promise<void>} Callback when operation is completed
|
|
135
135
|
*
|
|
136
|
+
* @see https://firebase.google.com/docs/auth/android/google-signin
|
|
137
|
+
* @see https://firebase.google.com/docs/auth/ios/google-signin
|
|
138
|
+
*
|
|
136
139
|
* @example
|
|
137
140
|
* // Below we use cordova-plugin-googleplus to trigger Google Login UI
|
|
138
141
|
* window.plugins.googleplus.login({
|
|
@@ -195,6 +198,9 @@ exports.signInWithApple =
|
|
|
195
198
|
* @param {string} rawNonce Apple's raw token string
|
|
196
199
|
* @returns {Promise<void>} Callback when operation is completed
|
|
197
200
|
*
|
|
201
|
+
* @see https://firebase.google.com/docs/auth/android/apple
|
|
202
|
+
* @see https://firebase.google.com/docs/auth/ios/apple
|
|
203
|
+
*
|
|
198
204
|
* @example
|
|
199
205
|
* // below we use cordova-plugin-sign-in-with-apple to trigger Apple Login UI
|
|
200
206
|
* cordova.plugins.SignInWithApple.signin({
|