@react-native-firebase/app-check 21.2.0 → 21.4.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 +14 -0
- package/RNFBAppCheck.podspec +2 -0
- package/ios/RNFBAppCheck/RNFBAppCheckProvider.m +4 -3
- package/lib/version.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
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
|
+
## [21.4.0](https://github.com/invertase/react-native-firebase/compare/v21.3.0...v21.4.0) (2024-11-07)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- Add initial tvOS support to some firebase packages ([ca51b51](https://github.com/invertase/react-native-firebase/commit/ca51b51f86edb9a5e293b463491fad40e4189e53))
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **app-check:** fix platform guard for AppAttest to match upstream ([30a79a4](https://github.com/invertase/react-native-firebase/commit/30a79a4cb3777c51a6edfd7399d0710434994932))
|
|
15
|
+
|
|
16
|
+
## [21.3.0](https://github.com/invertase/react-native-firebase/compare/v21.2.0...v21.3.0) (2024-10-31)
|
|
17
|
+
|
|
18
|
+
**Note:** Version bump only for package @react-native-firebase/app-check
|
|
19
|
+
|
|
6
20
|
## [21.2.0](https://github.com/invertase/react-native-firebase/compare/v21.1.1...v21.2.0) (2024-10-22)
|
|
7
21
|
|
|
8
22
|
**Note:** Version bump only for package @react-native-firebase/app-check
|
package/RNFBAppCheck.podspec
CHANGED
|
@@ -10,6 +10,7 @@ if coreVersionDetected != coreVersionRequired
|
|
|
10
10
|
end
|
|
11
11
|
firebase_ios_target = appPackage['sdkVersions']['ios']['iosTarget']
|
|
12
12
|
firebase_macos_target = appPackage['sdkVersions']['ios']['macosTarget']
|
|
13
|
+
firebase_tvos_target = appPackage['sdkVersions']['ios']['tvosTarget']
|
|
13
14
|
|
|
14
15
|
Pod::Spec.new do |s|
|
|
15
16
|
s.name = "RNFBAppCheck"
|
|
@@ -25,6 +26,7 @@ Pod::Spec.new do |s|
|
|
|
25
26
|
s.social_media_url = 'http://twitter.com/invertaseio'
|
|
26
27
|
s.ios.deployment_target = firebase_ios_target
|
|
27
28
|
s.macos.deployment_target = firebase_macos_target
|
|
29
|
+
s.tvos.deployment_target = firebase_tvos_target
|
|
28
30
|
s.source_files = 'ios/**/*.{h,m}'
|
|
29
31
|
|
|
30
32
|
# React Native dependencies
|
|
@@ -55,18 +55,19 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
if ([providerName isEqualToString:@"appAttest"]) {
|
|
58
|
-
if (@available(iOS 14.0, macCatalyst 14.0, tvOS 15.0, watchOS 9.0, *)) {
|
|
58
|
+
if (@available(iOS 14.0, macOS 11.0, macCatalyst 14.0, tvOS 15.0, watchOS 9.0, *)) {
|
|
59
59
|
self.delegateProvider = [[FIRAppAttestProvider alloc] initWithApp:app];
|
|
60
60
|
} else {
|
|
61
61
|
// This is not a valid configuration.
|
|
62
|
-
DLog(@"AppAttest unavailable: it requires iOS14+, macCatalyst14+ or tvOS15+.
|
|
62
|
+
DLog(@"AppAttest unavailable: it requires iOS14+, macOS 11+, macCatalyst14+ or tvOS15+. "
|
|
63
|
+
@"Installing "
|
|
63
64
|
@"debug provider to guarantee invalid tokens in this invalid configuration.");
|
|
64
65
|
self.delegateProvider = [[FIRAppCheckDebugProvider alloc] initWithApp:app];
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
if ([providerName isEqualToString:@"appAttestWithDeviceCheckFallback"]) {
|
|
69
|
-
if (@available(iOS 14.0, *)) {
|
|
70
|
+
if (@available(iOS 14.0, macOS 11.0, macCatalyst 14.0, tvOS 15.0, watchOS 9.0, *)) {
|
|
70
71
|
self.delegateProvider = [[FIRAppAttestProvider alloc] initWithApp:app];
|
|
71
72
|
} else {
|
|
72
73
|
self.delegateProvider = [[FIRDeviceCheckProvider alloc] initWithApp:app];
|
package/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
module.exports = '21.
|
|
2
|
+
module.exports = '21.4.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-firebase/app-check",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.4.0",
|
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
|
5
5
|
"description": "React Native Firebase - App Check",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"appCheck"
|
|
26
26
|
],
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@react-native-firebase/app": "21.
|
|
28
|
+
"@react-native-firebase/app": "21.4.0",
|
|
29
29
|
"expo": ">=47.0.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "227e1ed54cf668cbc701c0ed2542b8ec66957e1e"
|
|
43
43
|
}
|