@react-native-firebase/installations 18.5.0 → 18.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,10 @@
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
+ ## [18.6.0](https://github.com/invertase/react-native-firebase/compare/v18.5.0...v18.6.0) (2023-10-26)
7
+
8
+ **Note:** Version bump only for package @react-native-firebase/installations
9
+
6
10
  ## [18.5.0](https://github.com/invertase/react-native-firebase/compare/v18.4.0...v18.5.0) (2023-09-22)
7
11
 
8
12
  **Note:** Version bump only for package @react-native-firebase/installations
@@ -26,19 +26,19 @@ describe('installations()', function () {
26
26
  it('returns an instance of Installations', async function () {
27
27
  const installations = getInstallations();
28
28
  expect(installations).toBeDefined();
29
- expect(installations.app).toBeDefined();
29
+ // expect(installations.app).toBeDefined();
30
30
  });
31
31
 
32
- it('supports multiple apps', async function () {
33
- const app = firebase.app();
34
- const secondaryApp = firebase.app('secondaryFromNative');
32
+ // it('supports multiple apps', async function () {
33
+ // const app = firebase.app();
34
+ // const secondaryApp = firebase.app('secondaryFromNative');
35
35
 
36
- const installations = getInstallations();
37
- const installationsForApp = getInstallations(secondaryApp);
36
+ // const installations = getInstallations();
37
+ // const installationsForApp = getInstallations(secondaryApp);
38
38
 
39
- expect(installations.app).toEqual(app);
40
- expect(installationsForApp.app).toEqual(secondaryApp);
41
- });
39
+ // expect(installations.app).toEqual(app);
40
+ // expect(installationsForApp.app).toEqual(secondaryApp);
41
+ // });
42
42
  });
43
43
 
44
44
  describe('onIdChange', function () {
@@ -11,7 +11,7 @@ buildscript {
11
11
  }
12
12
 
13
13
  dependencies {
14
- classpath("com.android.tools.build:gradle:8.1.1")
14
+ classpath("com.android.tools.build:gradle:8.1.2")
15
15
  }
16
16
  }
17
17
  }
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '18.5.0';
2
+ module.exports = '18.6.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/installations",
3
- "version": "18.5.0",
3
+ "version": "18.6.0",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "React Native Firebase - Installations",
6
6
  "main": "lib/index.js",
@@ -22,10 +22,10 @@
22
22
  "installations"
23
23
  ],
24
24
  "peerDependencies": {
25
- "@react-native-firebase/app": "18.5.0"
25
+ "@react-native-firebase/app": "18.6.0"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "gitHead": "c9b695aa8fd75d5a1d070ecbb6bb9ac4e9ff062e"
30
+ "gitHead": "adbbd4171adb1e3c2306da1285520abbaf9313b8"
31
31
  }
package/type-test.ts CHANGED
@@ -1,5 +1,4 @@
1
- import firebase from '@react-native-firebase/app';
2
- import defaultExport, { firebase as firebaseFromModule } from '@react-native-firebase/installations';
1
+ import firebase from '.';
3
2
 
4
3
  // checks module exists at root
5
4
  console.log(firebase.installations().app.name);
@@ -10,17 +9,11 @@ console.log(firebase.app().installations().app.name);
10
9
  // checks statics exist
11
10
  console.log(firebase.installations.SDK_VERSION);
12
11
 
13
- // checks statics exist on defaultExport
14
- console.log(defaultExport.SDK_VERSION);
15
-
16
- // checks root exists
17
- console.log(firebase.SDK_VERSION);
18
-
19
12
  // checks firebase named export exists on module
20
- console.log(firebaseFromModule.SDK_VERSION);
13
+ console.log(firebase.SDK_VERSION);
21
14
 
22
15
  // checks multi-app support exists
23
16
  console.log(firebase.installations(firebase.app()).app.name);
24
17
 
25
18
  // checks default export supports app arg
26
- console.log(defaultExport(firebase.app()).app.name);
19
+ console.log(firebase(firebase.app()).app.name);