@react-native-firebase/remote-config 21.4.1 → 21.5.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,12 @@
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.5.0](https://github.com/invertase/react-native-firebase/compare/v21.4.1...v21.5.0) (2024-11-16)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **android:** rn74 forward-port onCatalystInstanceDestroy -> invalidate ([83696ea](https://github.com/invertase/react-native-firebase/commit/83696ea4c944b2be0b8fd9f2fc1db212800cbcf8))
11
+
6
12
  ## [21.4.1](https://github.com/invertase/react-native-firebase/compare/v21.4.0...v21.4.1) (2024-11-13)
7
13
 
8
14
  ### Reverts
@@ -19,6 +19,7 @@ package io.invertase.firebase.config;
19
19
 
20
20
  import static com.google.firebase.remoteconfig.FirebaseRemoteConfig.*;
21
21
 
22
+ import android.annotation.SuppressLint;
22
23
  import android.content.Context;
23
24
  import android.content.res.Resources;
24
25
  import android.content.res.XmlResourceParser;
@@ -154,6 +155,7 @@ public class UniversalFirebaseConfigModule extends UniversalFirebaseModule {
154
155
  return configValuesMap;
155
156
  }
156
157
 
158
+ @SuppressLint("DiscouragedApi")
157
159
  private int getXmlResourceIdByName(String name) {
158
160
  String packageName = getApplicationContext().getPackageName();
159
161
  return getApplicationContext().getResources().getIdentifier(name, "xml", packageName);
@@ -45,8 +45,8 @@ public class ReactNativeFirebaseConfigModule extends ReactNativeFirebaseModule {
45
45
  }
46
46
 
47
47
  @Override
48
- public void onCatalystInstanceDestroy() {
49
- super.onCatalystInstanceDestroy();
48
+ public void invalidate() {
49
+ super.invalidate();
50
50
 
51
51
  Iterator<Map.Entry<String, ConfigUpdateListenerRegistration>> configRegistrationsIterator =
52
52
  mConfigUpdateRegistrations.entrySet().iterator();
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '21.4.1';
2
+ module.exports = '21.5.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/remote-config",
3
- "version": "21.4.1",
3
+ "version": "21.5.0",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "React Native Firebase - React Native Firebase provides native integration with Remote Config, allowing you to change the appearance and/or functionality of your app without requiring an app update.",
6
6
  "main": "lib/index.js",
@@ -24,11 +24,11 @@
24
24
  "remote-config"
25
25
  ],
26
26
  "peerDependencies": {
27
- "@react-native-firebase/analytics": "21.4.1",
28
- "@react-native-firebase/app": "21.4.1"
27
+ "@react-native-firebase/analytics": "21.5.0",
28
+ "@react-native-firebase/app": "21.5.0"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"
32
32
  },
33
- "gitHead": "1c4301c4f57fe6fe8235e73e13a523ad1af156ad"
33
+ "gitHead": "ca6b846408d5f1773adb84b94c6dcb8c6a7c658a"
34
34
  }