@react-native-firebase/remote-config 21.4.1 → 21.6.0

Sign up to get free protection for your applications and to get access to all the features.
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
+ ## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)
7
+
8
+ **Note:** Version bump only for package @react-native-firebase/remote-config
9
+
10
+ ## [21.5.0](https://github.com/invertase/react-native-firebase/compare/v21.4.1...v21.5.0) (2024-11-16)
11
+
12
+ ### Bug Fixes
13
+
14
+ - **android:** rn74 forward-port onCatalystInstanceDestroy -> invalidate ([83696ea](https://github.com/invertase/react-native-firebase/commit/83696ea4c944b2be0b8fd9f2fc1db212800cbcf8))
15
+
6
16
  ## [21.4.1](https://github.com/invertase/react-native-firebase/compare/v21.4.0...v21.4.1) (2024-11-13)
7
17
 
8
18
  ### 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.6.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.6.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.6.0",
28
+ "@react-native-firebase/app": "21.6.0"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"
32
32
  },
33
- "gitHead": "1c4301c4f57fe6fe8235e73e13a523ad1af156ad"
33
+ "gitHead": "0103e12714de3c106128859eeadaf0fe07f9674c"
34
34
  }