@react-native-firebase/auth 18.5.0 → 18.6.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,14 @@
|
|
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
|
+
## [18.6.1](https://github.com/invertase/react-native-firebase/compare/v18.6.0...v18.6.1) (2023-11-01)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @react-native-firebase/auth
|
9
|
+
|
10
|
+
## [18.6.0](https://github.com/invertase/react-native-firebase/compare/v18.5.0...v18.6.0) (2023-10-26)
|
11
|
+
|
12
|
+
**Note:** Version bump only for package @react-native-firebase/auth
|
13
|
+
|
6
14
|
## [18.5.0](https://github.com/invertase/react-native-firebase/compare/v18.4.0...v18.5.0) (2023-09-22)
|
7
15
|
|
8
16
|
### Features
|
package/android/build.gradle
CHANGED
@@ -1159,6 +1159,7 @@ class ReactNativeFirebaseAuthModule extends ReactNativeFirebaseModule {
|
|
1159
1159
|
promise.resolve("yes");
|
1160
1160
|
});
|
1161
1161
|
}
|
1162
|
+
|
1162
1163
|
/**
|
1163
1164
|
* This method is intended to resolve a {@link PhoneAuthCredential} obtained through a
|
1164
1165
|
* multi-factor authentication flow. A credential can either be obtained using:
|
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// Generated by genversion.
|
2
|
-
module.exports = '18.
|
2
|
+
module.exports = '18.6.1';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-native-firebase/auth",
|
3
|
-
"version": "18.
|
3
|
+
"version": "18.6.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,12 +27,12 @@
|
|
27
27
|
"plist": "^3.1.0"
|
28
28
|
},
|
29
29
|
"peerDependencies": {
|
30
|
-
"@react-native-firebase/app": "18.
|
30
|
+
"@react-native-firebase/app": "18.6.1",
|
31
31
|
"expo": ">=47.0.0"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
34
|
-
"@types/plist": "^3.0.
|
35
|
-
"expo": "^
|
34
|
+
"@types/plist": "^3.0.4",
|
35
|
+
"expo": "^49.0.16"
|
36
36
|
},
|
37
37
|
"peerDependenciesMeta": {
|
38
38
|
"expo": {
|
@@ -42,5 +42,5 @@
|
|
42
42
|
"publishConfig": {
|
43
43
|
"access": "public"
|
44
44
|
},
|
45
|
-
"gitHead": "
|
45
|
+
"gitHead": "3d73352fb7434251fe661b426115339cf6d30bc1"
|
46
46
|
}
|
@@ -32,14 +32,13 @@ function getReversedClientId(googleServiceFilePath) {
|
|
32
32
|
// add phone auth support by configuring recaptcha
|
33
33
|
// https://github.com/invertase/react-native-firebase/pull/6167
|
34
34
|
function addUriScheme(config, reversedClientId) {
|
35
|
-
var _a;
|
36
35
|
if (!config.modResults) {
|
37
36
|
config.modResults = {};
|
38
37
|
}
|
39
38
|
if (!config.modResults.CFBundleURLTypes) {
|
40
39
|
config.modResults.CFBundleURLTypes = [];
|
41
40
|
}
|
42
|
-
const hasReverseClientId =
|
41
|
+
const hasReverseClientId = config.modResults.CFBundleURLTypes?.some(urlType => urlType.CFBundleURLSchemes.includes(reversedClientId));
|
43
42
|
if (!hasReverseClientId) {
|
44
43
|
config.modResults.CFBundleURLTypes.push({
|
45
44
|
CFBundleURLSchemes: [reversedClientId],
|
@@ -48,8 +47,7 @@ function addUriScheme(config, reversedClientId) {
|
|
48
47
|
return config;
|
49
48
|
}
|
50
49
|
function setUrlTypesForCaptcha({ config, }) {
|
51
|
-
|
52
|
-
const googleServicesFileRelativePath = (_a = config.ios) === null || _a === void 0 ? void 0 : _a.googleServicesFile;
|
50
|
+
const googleServicesFileRelativePath = config.ios?.googleServicesFile;
|
53
51
|
if (!googleServicesFileRelativePath) {
|
54
52
|
throw new Error(`[@react-native-firebase/auth] Your app.json file is missing ios.googleServicesFile. Please add this field.`);
|
55
53
|
}
|
package/plugin/tsconfig.json
CHANGED