@react-native-firebase/app 20.5.0 → 21.0.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,20 @@
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.0.0](https://github.com/invertase/react-native-firebase/compare/v20.5.0...v21.0.0) (2024-09-26)
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ - Update Firebase iOS SDK version to v11
11
+
12
+ ### Features
13
+
14
+ - Update Firebase iOS SDK version to v11 ([8bad077](https://github.com/invertase/react-native-firebase/commit/8bad0774a8f1a201d19cf8b4a914bfaf7a30c6c7))
15
+
16
+ ### Bug Fixes
17
+
18
+ - **android, sdk:** adopt firebase-android-sdk 33.3.0 ([37bfd72](https://github.com/invertase/react-native-firebase/commit/37bfd7287dabefbb991a146090b73b7755126f04))
19
+
6
20
  ## [20.5.0](https://github.com/invertase/react-native-firebase/compare/v20.4.0...v20.5.0) (2024-09-11)
7
21
 
8
22
  **Note:** Version bump only for package @react-native-firebase/app
@@ -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 = "20.5.0";
21
+ public static String VERSION = "21.0.0";
22
22
  }
@@ -57,20 +57,11 @@ RCT_EXPORT_MODULE();
57
57
  if ([localFilePath hasPrefix:@"assets-library://"] || [localFilePath hasPrefix:@"ph://"]) {
58
58
  if ([localFilePath hasPrefix:@"assets-library://"]) {
59
59
  NSURL *localFile = [[NSURL alloc] initWithString:localFilePath];
60
- if (@available(macOS 11, iOS 12, *)) {
61
- static BOOL hasWarned = NO;
62
- if (!hasWarned) {
63
- NSLog(@"'assets-library://' & 'ph://' URLs are not supported in Catalyst-based targets "
64
- @"or iOS 12 and higher; returning nil (future warnings will be suppressed)");
65
- hasWarned = YES;
66
- }
67
- } else {
68
- #if (!TARGET_OS_MACCATALYST)
69
- #pragma clang diagnostic push
70
- #pragma clang diagnostic ignored "-Wdeprecated-declarations"
71
- asset = [[PHAsset fetchAssetsWithALAssetURLs:@[ localFile ] options:nil] firstObject];
72
- #pragma clang diagnostic pop
73
- #endif
60
+ static BOOL hasWarned = NO;
61
+ if (!hasWarned) {
62
+ NSLog(@"'assets-library://' & 'ph://' URLs are not supported in Catalyst-based targets "
63
+ @"or iOS 12 and higher; returning nil (future warnings will be suppressed)");
64
+ hasWarned = YES;
74
65
  }
75
66
  } else {
76
67
  NSString *assetId = [localFilePath substringFromIndex:@"ph://".length];
@@ -18,4 +18,4 @@
18
18
  #import <React/RCTVersion.h>
19
19
 
20
20
  // generated file - do not modify or commit
21
- NSString* const RNFBVersionString = @"20.5.0";
21
+ NSString* const RNFBVersionString = @"21.0.0";
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- module.exports = '20.5.0';
2
+ module.exports = '21.0.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/app",
3
- "version": "20.5.0",
3
+ "version": "21.0.0",
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",
@@ -57,12 +57,12 @@
57
57
  "react-native": "*"
58
58
  },
59
59
  "dependencies": {
60
- "firebase": "10.12.2",
60
+ "firebase": "10.13.2",
61
61
  "superstruct": "^0.6.2"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@react-native-async-storage/async-storage": "^1.24.0",
65
- "expo": "^50.0.19"
65
+ "expo": "^50.0.21"
66
66
  },
67
67
  "peerDependenciesMeta": {
68
68
  "expo": {
@@ -74,20 +74,20 @@
74
74
  },
75
75
  "sdkVersions": {
76
76
  "ios": {
77
- "firebase": "10.29.0",
78
- "iosTarget": "11.0",
79
- "macosTarget": "10.13"
77
+ "firebase": "11.2.0",
78
+ "iosTarget": "13.0",
79
+ "macosTarget": "10.15"
80
80
  },
81
81
  "android": {
82
82
  "minSdk": 21,
83
83
  "targetSdk": 34,
84
84
  "compileSdk": 34,
85
- "firebase": "33.1.2",
85
+ "firebase": "33.3.0",
86
86
  "firebaseCrashlyticsGradle": "3.0.2",
87
87
  "firebasePerfGradle": "1.4.2",
88
88
  "gmsGoogleServicesGradle": "4.4.2",
89
89
  "playServicesAuth": "21.2.0"
90
90
  }
91
91
  },
92
- "gitHead": "daf2bc9086c14bbb0e1b02a4d4274b7060263eb1"
92
+ "gitHead": "6965c40db30a832a21c3f9a93f6e5df36f137461"
93
93
  }
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.applyPlugin = exports.withApplyGoogleServicesPlugin = void 0;
3
+ exports.withApplyGoogleServicesPlugin = void 0;
4
+ exports.applyPlugin = applyPlugin;
4
5
  const config_plugins_1 = require("@expo/config-plugins");
5
6
  const constants_1 = require("./constants");
6
7
  /**
@@ -26,4 +27,3 @@ function applyPlugin(appBuildGradle) {
26
27
  }
27
28
  return appBuildGradle;
28
29
  }
29
- exports.applyPlugin = applyPlugin;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.setBuildscriptDependency = exports.withBuildscriptDependency = void 0;
3
+ exports.withBuildscriptDependency = void 0;
4
+ exports.setBuildscriptDependency = setBuildscriptDependency;
4
5
  const config_plugins_1 = require("@expo/config-plugins");
5
6
  const constants_1 = require("./constants");
6
7
  /**
@@ -28,4 +29,3 @@ function setBuildscriptDependency(buildGradle) {
28
29
  return buildGradle;
29
30
  }
30
31
  }
31
- exports.setBuildscriptDependency = setBuildscriptDependency;
@@ -3,7 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.withFirebaseAppDelegate = exports.modifyAppDelegateAsync = exports.modifyObjcAppDelegate = void 0;
6
+ exports.withFirebaseAppDelegate = void 0;
7
+ exports.modifyObjcAppDelegate = modifyObjcAppDelegate;
8
+ exports.modifyAppDelegateAsync = modifyAppDelegateAsync;
7
9
  const config_plugins_1 = require("@expo/config-plugins");
8
10
  const generateCode_1 = require("@expo/config-plugins/build/utils/generateCode");
9
11
  const fs_1 = __importDefault(require("fs"));
@@ -56,7 +58,6 @@ function modifyObjcAppDelegate(contents) {
56
58
  }).contents;
57
59
  }
58
60
  }
59
- exports.modifyObjcAppDelegate = modifyObjcAppDelegate;
60
61
  async function modifyAppDelegateAsync(appDelegateFileInfo) {
61
62
  const { language, path, contents } = appDelegateFileInfo;
62
63
  if (['objc', 'objcpp'].includes(language)) {
@@ -68,7 +69,6 @@ async function modifyAppDelegateAsync(appDelegateFileInfo) {
68
69
  throw new Error(`Cannot add Firebase code to AppDelegate of language "${language}"`);
69
70
  }
70
71
  }
71
- exports.modifyAppDelegateAsync = modifyAppDelegateAsync;
72
72
  const withFirebaseAppDelegate = config => {
73
73
  return (0, config_plugins_1.withDangerousMod)(config, [
74
74
  'ios',
@@ -3,7 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.setGoogleServicesFile = exports.withIosGoogleServicesFile = void 0;
6
+ exports.withIosGoogleServicesFile = void 0;
7
+ exports.setGoogleServicesFile = setGoogleServicesFile;
7
8
  const config_plugins_1 = require("@expo/config-plugins");
8
9
  const fs_1 = __importDefault(require("fs"));
9
10
  const path_1 = __importDefault(require("path"));
@@ -39,4 +40,3 @@ function setGoogleServicesFile({ projectRoot, project, googleServicesFileRelativ
39
40
  }
40
41
  return project;
41
42
  }
42
- exports.setGoogleServicesFile = setGoogleServicesFile;
@@ -0,0 +1 @@
1
+ {"root":["./src/index.ts","./src/android/applyPlugin.ts","./src/android/buildscriptDependency.ts","./src/android/constants.ts","./src/android/copyGoogleServices.ts","./src/android/index.ts","./src/ios/appDelegate.ts","./src/ios/googleServicesPlist.ts","./src/ios/index.ts"],"version":"5.6.2"}