@react-native-firebase/auth 18.9.0 → 19.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/CHANGELOG.md
CHANGED
@@ -3,6 +3,23 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
## [19.0.1](https://github.com/invertase/react-native-firebase/compare/v19.0.0...v19.0.1) (2024-03-07)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @react-native-firebase/auth
|
9
|
+
|
10
|
+
## [19.0.0](https://github.com/invertase/react-native-firebase/compare/v18.9.0...v19.0.0) (2024-02-26)
|
11
|
+
|
12
|
+
### ⚠ BREAKING CHANGES
|
13
|
+
|
14
|
+
- **auth, android:** multifactor error messages were auth/unknown before on android
|
15
|
+
Now they will correctly come through as auth/invalid-verification-code
|
16
|
+
If you were relying on the previous auth/unknown codes you
|
17
|
+
will need to update your error handling code
|
18
|
+
|
19
|
+
### Bug Fixes
|
20
|
+
|
21
|
+
- **auth, android:** correct error messages for finalizeMultiFactorEnrollment ([b0be508](https://github.com/invertase/react-native-firebase/commit/b0be508e3336fc5577795791b727f23e1a9bbbca))
|
22
|
+
|
6
23
|
## [18.9.0](https://github.com/invertase/react-native-firebase/compare/v18.8.0...v18.9.0) (2024-02-21)
|
7
24
|
|
8
25
|
### Bug Fixes
|
@@ -1243,12 +1243,14 @@ class ReactNativeFirebaseAuthModule extends ReactNativeFirebaseModule {
|
|
1243
1243
|
.enroll(assertion, displayName)
|
1244
1244
|
.addOnCompleteListener(
|
1245
1245
|
task -> {
|
1246
|
-
if (
|
1247
|
-
|
1246
|
+
if (task.isSuccessful()) {
|
1247
|
+
Log.d(TAG, "finalizeMultiFactorEnrollment:onComplete:success");
|
1248
|
+
promise.resolve(null);
|
1249
|
+
} else {
|
1250
|
+
Exception exception = task.getException();
|
1251
|
+
Log.e(TAG, "finalizeMultiFactorEnrollment:onComplete:failure", exception);
|
1252
|
+
promiseRejectAuthException(promise, exception);
|
1248
1253
|
}
|
1249
|
-
|
1250
|
-
// Need to reload user to make it all visible?
|
1251
|
-
promise.resolve("yes");
|
1252
1254
|
});
|
1253
1255
|
}
|
1254
1256
|
|
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// Generated by genversion.
|
2
|
-
module.exports = '
|
2
|
+
module.exports = '19.0.1';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-native-firebase/auth",
|
3
|
-
"version": "
|
3
|
+
"version": "19.0.1",
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
5
5
|
"description": "React Native Firebase - The authentication module provides an easy-to-use API to integrate an authentication workflow into new and existing applications. React Native Firebase provides access to all Firebase authentication methods and identity providers.",
|
6
6
|
"main": "lib/index.js",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"plist": "^3.1.0"
|
28
28
|
},
|
29
29
|
"peerDependencies": {
|
30
|
-
"@react-native-firebase/app": "
|
30
|
+
"@react-native-firebase/app": "19.0.1",
|
31
31
|
"expo": ">=47.0.0"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
@@ -42,5 +42,5 @@
|
|
42
42
|
"publishConfig": {
|
43
43
|
"access": "public"
|
44
44
|
},
|
45
|
-
"gitHead": "
|
45
|
+
"gitHead": "fae5966f2220706a5f5375d94dcdafbcc3c37440"
|
46
46
|
}
|