@react-native-firebase/app-check 14.1.0 → 14.2.3
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,24 @@
|
|
|
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
|
+
## [14.2.3](https://github.com/invertase/react-native-firebase/compare/v14.2.2...v14.2.3) (2022-01-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @react-native-firebase/app-check
|
|
9
|
+
|
|
10
|
+
## [14.2.2](https://github.com/invertase/react-native-firebase/compare/v14.2.1...v14.2.2) (2022-01-06)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @react-native-firebase/app-check
|
|
13
|
+
|
|
14
|
+
## [14.2.1](https://github.com/invertase/react-native-firebase/compare/v14.2.0...v14.2.1) (2021-12-31)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
- **app-check:** getToken returns `{token: string}` not `string` matching firebase-js-sdk ([#5979](https://github.com/invertase/react-native-firebase/issues/5979)) ([6a089f3](https://github.com/invertase/react-native-firebase/commit/6a089f310b0ce6170b1d02fe57a4feb3c114e8c6))
|
|
19
|
+
|
|
20
|
+
# [14.2.0](https://github.com/invertase/react-native-firebase/compare/v14.1.0...v14.2.0) (2021-12-31)
|
|
21
|
+
|
|
22
|
+
**Note:** Version bump only for package @react-native-firebase/app-check
|
|
23
|
+
|
|
6
24
|
# [14.1.0](https://github.com/invertase/react-native-firebase/compare/v14.0.1...v14.1.0) (2021-12-18)
|
|
7
25
|
|
|
8
26
|
**Note:** Version bump only for package @react-native-firebase/app-check
|
package/android/src/main/java/io/invertase/firebase/appcheck/ReactNativeFirebaseAppCheckModule.java
CHANGED
|
@@ -82,7 +82,9 @@ public class ReactNativeFirebaseAppCheckModule extends ReactNativeFirebaseModule
|
|
|
82
82
|
getExecutor(),
|
|
83
83
|
(task) -> {
|
|
84
84
|
if (task.isSuccessful()) {
|
|
85
|
-
|
|
85
|
+
WritableMap tokenResultMap = Arguments.createMap();
|
|
86
|
+
tokenResultMap.putString("token", task.getResult().getToken());
|
|
87
|
+
promise.resolve(tokenResultMap);
|
|
86
88
|
} else {
|
|
87
89
|
Log.e(
|
|
88
90
|
TAG,
|
|
@@ -98,7 +98,9 @@ RCT_EXPORT_METHOD(getToken
|
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
NSMutableDictionary *tokenResultDictionary = [NSMutableDictionary new];
|
|
102
|
+
tokenResultDictionary[@"token"] = token.token;
|
|
103
|
+
resolve(tokenResultDictionary);
|
|
102
104
|
}];
|
|
103
105
|
}
|
|
104
106
|
|
package/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// generated by genversion
|
|
2
|
-
module.exports = '14.
|
|
2
|
+
module.exports = '14.2.3';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-firebase/app-check",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.2.3",
|
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
|
5
5
|
"description": "React Native Firebase - App Check",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"appCheck"
|
|
24
24
|
],
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@react-native-firebase/app": "14.
|
|
26
|
+
"@react-native-firebase/app": "14.2.3"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "eb58323969bc7803b0695bd90cdb7dc3436179e1"
|
|
32
32
|
}
|