@react-native-firebase/database 16.4.1 → 16.4.3

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
+ ### [16.4.3](https://github.com/invertase/react-native-firebase/compare/v16.4.2...v16.4.3) (2022-11-06)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **database, android:** revert double-emulator protection ([3857439](https://github.com/invertase/react-native-firebase/commit/38574398ea9f03d016d89caa522b17fda805de9e))
11
+
12
+ ### [16.4.2](https://github.com/invertase/react-native-firebase/compare/v16.4.1...v16.4.2) (2022-11-04)
13
+
14
+ **Note:** Version bump only for package @react-native-firebase/database
15
+
6
16
  ### [16.4.1](https://github.com/invertase/react-native-firebase/compare/v16.4.0...v16.4.1) (2022-11-02)
7
17
 
8
18
  **Note:** Version bump only for package @react-native-firebase/database
@@ -47,13 +47,9 @@ public class UniversalFirebaseDatabaseCommon {
47
47
 
48
48
  HashMap emulatorConfig = getEmulatorConfig(appName, dbURL);
49
49
 
50
- if (emulatorConfig != null && emulatorConfig.get("configured") == null) {
50
+ if (emulatorConfig != null) {
51
51
  firebaseDatabase.useEmulator(
52
52
  (String) emulatorConfig.get("host"), (Integer) emulatorConfig.get("port"));
53
- // The underlying SDK may only be configured once, but with hot-reloads in the
54
- // javascript bundle, javascript cannot hold SDK configuration state. Keep track here
55
- // so we only configure once
56
- emulatorConfig.put("configured", "true");
57
53
  }
58
54
 
59
55
  return firebaseDatabase;
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '16.4.1';
2
+ module.exports = '16.4.3';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/database",
3
- "version": "16.4.1",
3
+ "version": "16.4.3",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "React Native Firebase - The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client. React Native Firebase provides native integration with the Android & iOS Firebase SDKs, supporting both realtime data sync and offline capabilities.",
6
6
  "main": "lib/index.js",
@@ -25,10 +25,10 @@
25
25
  "realtome database"
26
26
  ],
27
27
  "peerDependencies": {
28
- "@react-native-firebase/app": "16.4.1"
28
+ "@react-native-firebase/app": "16.4.3"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"
32
32
  },
33
- "gitHead": "542cec866fb2e83b7fc4baf3be287bc2c3408229"
33
+ "gitHead": "fe9e40480d70b0eb6b2a9d4c2c117688c9abcafd"
34
34
  }