@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 +14 -0
- package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseVersion.java +1 -1
- package/ios/RNFBApp/RNFBUtilsModule.m +5 -14
- package/ios/RNFBApp/RNFBVersion.m +1 -1
- package/lib/version.js +1 -1
- package/package.json +8 -8
- package/plugin/build/android/applyPlugin.js +2 -2
- package/plugin/build/android/buildscriptDependency.js +2 -2
- package/plugin/build/ios/appDelegate.js +3 -3
- package/plugin/build/ios/googleServicesPlist.js +2 -2
- package/plugin/tsconfig.tsbuildinfo +1 -0
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
|
@@ -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
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
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];
|
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// Generated by genversion.
|
2
|
-
module.exports = '
|
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": "
|
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.
|
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.
|
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": "
|
78
|
-
"iosTarget": "
|
79
|
-
"macosTarget": "10.
|
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.
|
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": "
|
92
|
+
"gitHead": "6965c40db30a832a21c3f9a93f6e5df36f137461"
|
93
93
|
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
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.
|
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 =
|
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.
|
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"}
|