@react-native-firebase/app 16.1.1 → 16.3.0

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,16 @@
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
+ ## [16.3.0](https://github.com/invertase/react-native-firebase/compare/v16.2.0...v16.3.0) (2022-10-26)
7
+
8
+ ### Features
9
+
10
+ - **auth:** Add multi-factor support for the sign-in flow ([#6593](https://github.com/invertase/react-native-firebase/issues/6593)) ([3c64bf5](https://github.com/invertase/react-native-firebase/commit/3c64bf5987eec73c8cc5d3f9246c4c0185eb7718))
11
+
12
+ ## [16.2.0](https://github.com/invertase/react-native-firebase/compare/v16.1.1...v16.2.0) (2022-10-23)
13
+
14
+ **Note:** Version bump only for package @react-native-firebase/app
15
+
6
16
  ### [16.1.1](https://github.com/invertase/react-native-firebase/compare/v16.1.0...v16.1.1) (2022-10-21)
7
17
 
8
18
  ### Bug Fixes
@@ -18,5 +18,5 @@ package io.invertase.firebase.app;
18
18
  */
19
19
  // generated file - do not modify or commit
20
20
  public class ReactNativeFirebaseVersion {
21
- public static String VERSION = "16.1.1";
21
+ public static String VERSION = "16.3.0";
22
22
  }
@@ -43,6 +43,17 @@ public class ReactNativeFirebaseModule extends ReactContextBaseJavaModule
43
43
  promise.reject(exception, SharedUtils.getExceptionMap(exception));
44
44
  }
45
45
 
46
+ public static void rejectPromiseWithCodeAndMessage(
47
+ Promise promise, String code, String message, ReadableMap resolver) {
48
+ WritableMap userInfoMap = Arguments.createMap();
49
+ userInfoMap.putString("code", code);
50
+ userInfoMap.putString("message", message);
51
+ if (resolver != null) {
52
+ userInfoMap.putMap("resolver", resolver);
53
+ }
54
+ promise.reject(code, message, userInfoMap);
55
+ }
56
+
46
57
  public static void rejectPromiseWithCodeAndMessage(Promise promise, String code, String message) {
47
58
  WritableMap userInfoMap = Arguments.createMap();
48
59
  userInfoMap.putString("code", code);
@@ -18,4 +18,4 @@
18
18
  #import <React/RCTVersion.h>
19
19
 
20
20
  // generated file - do not modify or commit
21
- NSString* const RNFBVersionString = @"16.1.1";
21
+ NSString* const RNFBVersionString = @"16.3.0";
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '16.1.1';
2
+ module.exports = '16.3.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/app",
3
- "version": "16.1.1",
3
+ "version": "16.3.0",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "A well tested, feature rich Firebase implementation for React Native, supporting iOS & Android. Individual module support for Admob, Analytics, Auth, Crash Reporting, Cloud Firestore, Database, Dynamic Links, Functions, Messaging (FCM), Remote Config, Storage and more.",
6
6
  "main": "lib/index.js",
@@ -80,5 +80,5 @@
80
80
  "playServicesAuth": "20.3.0"
81
81
  }
82
82
  },
83
- "gitHead": "a3fc79423f0e2aa9303d01658c3a332abe957e40"
83
+ "gitHead": "b2670ea2537a35ae653cad210b27cac276036a4e"
84
84
  }