@react-native-firebase/app-check 22.2.0 → 22.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
+ ## [22.3.0](https://github.com/invertase/react-native-firebase/compare/v22.2.1...v22.3.0) (2025-07-08)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **app-check, expo:** init app-check shared instance before firebase in plugin ([#8559](https://github.com/invertase/react-native-firebase/issues/8559)) ([f0a0292](https://github.com/invertase/react-native-firebase/commit/f0a0292e979f51c39f917859bba19accea04eecc))
11
+
12
+ ## [22.2.1](https://github.com/invertase/react-native-firebase/compare/v22.2.0...v22.2.1) (2025-06-10)
13
+
14
+ **Note:** Version bump only for package @react-native-firebase/app-check
15
+
6
16
  ## [22.2.0](https://github.com/invertase/react-native-firebase/compare/v22.1.0...v22.2.0) (2025-05-12)
7
17
 
8
18
  ### Features
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '22.2.0';
2
+ module.exports = '22.3.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/app-check",
3
- "version": "22.2.0",
3
+ "version": "22.3.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": "22.2.0",
28
+ "@react-native-firebase/app": "22.3.0",
29
29
  "expo": ">=47.0.0"
30
30
  },
31
31
  "devDependencies": {
@@ -40,5 +40,5 @@
40
40
  "access": "public",
41
41
  "provenance": true
42
42
  },
43
- "gitHead": "b302210509ceac8078b5fb9fd0b24e68f0641c6a"
43
+ "gitHead": "c04f2a3b681460edde5518812646cf5e0dd86627"
44
44
  }
@@ -82,14 +82,14 @@ import RNFBAppCheck`);
82
82
  if (contents.includes(firebaseLine)) {
83
83
  // Insert right after Firebase initialization
84
84
  return contents.replace(firebaseLine, `${firebaseLine}
85
- FirebaseApp.configure()
86
85
  RNFBAppCheckModule.sharedInstance()
86
+ FirebaseApp.configure()
87
87
  `);
88
88
  }
89
89
  // If Firebase initialization block not found, add both Firebase and App Check initialization
90
90
  // This is to make sure Firebase is initialized before App Check
91
- const methodInvocationBlock = `FirebaseApp.configure()
92
- RNFBAppCheckModule.sharedInstance()`;
91
+ const methodInvocationBlock = `RNFBAppCheckModule.sharedInstance()
92
+ FirebaseApp.configure()`;
93
93
  const methodInvocationLineMatcher = /(?:factory\.startReactNative\()/;
94
94
  if (!methodInvocationLineMatcher.test(contents)) {
95
95
  config_plugins_1.WarningAggregator.addWarningIOS('@react-native-firebase/app-check', 'Unable to determine correct insertion point in AppDelegate.swift. Skipping App Check addition.');
@@ -101,16 +101,16 @@ import RNFBAppCheck`,
101
101
  return contents.replace(
102
102
  firebaseLine,
103
103
  `${firebaseLine}
104
- FirebaseApp.configure()
105
104
  RNFBAppCheckModule.sharedInstance()
105
+ FirebaseApp.configure()
106
106
  `,
107
107
  );
108
108
  }
109
109
 
110
110
  // If Firebase initialization block not found, add both Firebase and App Check initialization
111
111
  // This is to make sure Firebase is initialized before App Check
112
- const methodInvocationBlock = `FirebaseApp.configure()
113
- RNFBAppCheckModule.sharedInstance()`;
112
+ const methodInvocationBlock = `RNFBAppCheckModule.sharedInstance()
113
+ FirebaseApp.configure()`;
114
114
 
115
115
  const methodInvocationLineMatcher = /(?:factory\.startReactNative\()/;
116
116