@react-native-firebase/app 14.2.2 → 14.3.1

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,28 @@
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
+ ## [14.3.1](https://github.com/invertase/react-native-firebase/compare/v14.3.0...v14.3.1) (2022-02-07)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **app:** specify hyphenated package name in import advice ([5e898ec](https://github.com/invertase/react-native-firebase/commit/5e898ecb49bb73999c7ea5172f8f17753a71a90a)), closes [#6009](https://github.com/invertase/react-native-firebase/issues/6009)
11
+
12
+ # [14.3.0](https://github.com/invertase/react-native-firebase/compare/v14.2.4...v14.3.0) (2022-01-26)
13
+
14
+ **Note:** Version bump only for package @react-native-firebase/app
15
+
16
+ ## [14.2.4](https://github.com/invertase/react-native-firebase/compare/v14.2.3...v14.2.4) (2022-01-24)
17
+
18
+ ### Bug Fixes
19
+
20
+ - **android, sdk:** bump firebase-android-sdk + versions in docs ([8bda4be](https://github.com/invertase/react-native-firebase/commit/8bda4be52bd4b19b2d330c8f95d132d7a5b5885a))
21
+
22
+ ## [14.2.3](https://github.com/invertase/react-native-firebase/compare/v14.2.2...v14.2.3) (2022-01-20)
23
+
24
+ ### Bug Fixes
25
+
26
+ - **ios, sdk:** bump firebase-ios-sdk to 8.11.0 ([40322e2](https://github.com/invertase/react-native-firebase/commit/40322e2d97719d4e32146beb30ad561ea86ea3e8))
27
+
6
28
  ## [14.2.2](https://github.com/invertase/react-native-firebase/compare/v14.2.1...v14.2.2) (2022-01-06)
7
29
 
8
30
  ### Bug Fixes
@@ -18,5 +18,5 @@ package io.invertase.firebase.app;
18
18
  */
19
19
  // generated file - do not modify or commit
20
20
  public class ReactNativeFirebaseVersion {
21
- public static String VERSION = "14.2.2";
21
+ public static String VERSION = "14.3.1";
22
22
  }
@@ -18,4 +18,4 @@
18
18
  #import "RCTVersion.h"
19
19
 
20
20
  // generated file - do not modify or commit
21
- NSString* const RNFBVersionString = @"14.2.2";
21
+ NSString* const RNFBVersionString = @"14.3.1";
@@ -194,11 +194,16 @@ function firebaseRootModuleProxy(firebaseNamespace, moduleNamespace) {
194
194
  return getOrCreateModuleForRoot(moduleNamespace);
195
195
  }
196
196
 
197
+ moduleWithDashes = moduleNamespace
198
+ .split(/(?=[A-Z])/)
199
+ .join('-')
200
+ .toLowerCase();
201
+
197
202
  throw new Error(
198
203
  [
199
204
  `You attempted to use 'firebase.${moduleNamespace}' but this module could not be found.`,
200
205
  '',
201
- `Ensure you have installed and imported the '@react-native-firebase/${moduleNamespace}' package.`,
206
+ `Ensure you have installed and imported the '@react-native-firebase/${moduleWithDashes}' package.`,
202
207
  ].join('\r\n'),
203
208
  );
204
209
  }
@@ -215,11 +220,16 @@ export function firebaseAppModuleProxy(app, moduleNamespace) {
215
220
  return getOrCreateModuleForApp(app, moduleNamespace);
216
221
  }
217
222
 
223
+ moduleWithDashes = moduleNamespace
224
+ .split(/(?=[A-Z])/)
225
+ .join('-')
226
+ .toLowerCase();
227
+
218
228
  throw new Error(
219
229
  [
220
230
  `You attempted to use "firebase.app('${app.name}').${moduleNamespace}" but this module could not be found.`,
221
231
  '',
222
- `Ensure you have installed and imported the '@react-native-firebase/${moduleNamespace}' package.`,
232
+ `Ensure you have installed and imported the '@react-native-firebase/${moduleWithDashes}' package.`,
223
233
  ].join('\r\n'),
224
234
  );
225
235
  }
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // generated by genversion
2
- module.exports = '14.2.2';
2
+ module.exports = '14.3.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/app",
3
- "version": "14.2.2",
3
+ "version": "14.3.1",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "A well tested, feature rich Firebase implementation for React Native, supporting iOS & Android. Individual module support for Admob, Analytics, Auth, Crash Reporting, Cloud Firestore, Database, Dynamic Links, Functions, Messaging (FCM), Remote Config, Storage and more.",
6
6
  "main": "lib/index.js",
@@ -56,7 +56,7 @@
56
56
  "react-native": "*"
57
57
  },
58
58
  "dependencies": {
59
- "@expo/config-plugins": "^4.0.15",
59
+ "@expo/config-plugins": "^4.0.16",
60
60
  "opencollective-postinstall": "^2.0.1",
61
61
  "superstruct": "^0.6.2"
62
62
  },
@@ -65,19 +65,19 @@
65
65
  },
66
66
  "sdkVersions": {
67
67
  "ios": {
68
- "firebase": "8.10.0"
68
+ "firebase": "8.11.0"
69
69
  },
70
70
  "android": {
71
71
  "minSdk": 19,
72
72
  "targetSdk": 31,
73
73
  "compileSdk": 31,
74
74
  "buildTools": "30.0.3",
75
- "firebase": "29.0.3",
75
+ "firebase": "29.0.4",
76
76
  "firebaseCrashlyticsGradle": "2.8.1",
77
- "firebasePerfGradle": "1.4.0",
77
+ "firebasePerfGradle": "1.4.1",
78
78
  "gmsGoogleServicesGradle": "4.3.10",
79
- "playServicesAuth": "20.0.0"
79
+ "playServicesAuth": "20.0.1"
80
80
  }
81
81
  },
82
- "gitHead": "7b0de31e45be9ca7571583e77d1b06c3088df053"
82
+ "gitHead": "211b7531b731a1fd7feb11ee1d1822470a31eac2"
83
83
  }