@react-native-firebase/app 21.12.3 → 21.14.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 +17 -0
- package/android/src/reactnative/java/io/invertase/firebase/app/ReactNativeFirebaseVersion.java +1 -1
- package/firebase-schema.json +9 -6
- package/ios/RNFBApp/RNFBVersion.m +1 -1
- package/lib/modular/index.d.ts +2 -2
- package/lib/version.js +1 -1
- package/package.json +4 -4
- package/plugin/build/ios/appDelegate.js +1 -1
- package/plugin/src/ios/appDelegate.ts +2 -2
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,23 @@
|
|
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.14.0](https://github.com/invertase/react-native-firebase/compare/v21.13.0...v21.14.0) (2025-04-14)
|
7
|
+
|
8
|
+
### Features
|
9
|
+
|
10
|
+
- **messaging, android:** notification delegation APIs, firebase.json feature toggle ([c0c5054](https://github.com/invertase/react-native-firebase/commit/c0c505432e95c85fa6621b548b24e755e2894c37))
|
11
|
+
- **messaging, android:** support BigQuery export setting in firebase.json ([fa0e967](https://github.com/invertase/react-native-firebase/commit/fa0e967f9a06719c159a4980749f80c5ff2e2c39))
|
12
|
+
|
13
|
+
### Bug Fixes
|
14
|
+
|
15
|
+
- **app, expo:** update iOS AppDelegate for SDK 53 support ([a3d82c7](https://github.com/invertase/react-native-firebase/commit/a3d82c73e746fe3d2ac4513b15696ced98ecf2ca))
|
16
|
+
- **app:** annotate initializeApp return as a promise ([#8366](https://github.com/invertase/react-native-firebase/issues/8366)) ([5189c32](https://github.com/invertase/react-native-firebase/commit/5189c328e2643cdaf9c96059ce139b34c7651466))
|
17
|
+
- **app:** firebase-ios-sdk 11.11.0 / firebase-android-sdk 33.12.0 ([1bfd3eb](https://github.com/invertase/react-native-firebase/commit/1bfd3eb5558296deff7a368a607163019b1d4d11))
|
18
|
+
|
19
|
+
## [21.13.0](https://github.com/invertase/react-native-firebase/compare/v21.12.3...v21.13.0) (2025-03-31)
|
20
|
+
|
21
|
+
**Note:** Version bump only for package @react-native-firebase/app
|
22
|
+
|
6
23
|
## [21.12.3](https://github.com/invertase/react-native-firebase/compare/v21.12.2...v21.12.3) (2025-03-26)
|
7
24
|
|
8
25
|
**Note:** Version bump only for package @react-native-firebase/app
|
package/firebase-schema.json
CHANGED
@@ -56,12 +56,7 @@
|
|
56
56
|
"app_log_level": {
|
57
57
|
"description": "Set the log level across all modules. Only applies to iOS currently. Can be 'error', 'warn', 'info', 'debug'.\n Logs messages at the configured level or lower.\n Note that if an app is running from AppStore, it will never log above info even if level is set to a higher (more verbose) setting",
|
58
58
|
"type": "string",
|
59
|
-
"enum": [
|
60
|
-
"error",
|
61
|
-
"warn",
|
62
|
-
"info",
|
63
|
-
"debug"
|
64
|
-
]
|
59
|
+
"enum": ["error", "warn", "info", "debug"]
|
65
60
|
},
|
66
61
|
"app_check_token_auto_refresh": {
|
67
62
|
"description": "If this flag is disabled then Firebase App Check will not periodically auto-refresh the app check token.\n This is useful for opt-in-first data flows, for example when dealing with GDPR compliance. \nIf unset it will default to the SDK-wide data collection default enabled setting. This may be overridden dynamically in Javascript.",
|
@@ -100,10 +95,18 @@
|
|
100
95
|
"type": "number",
|
101
96
|
"minimum": 0
|
102
97
|
},
|
98
|
+
"messaging_android_notification_delegation_enabled": {
|
99
|
+
"description": "On Android Q+ and current Play Services, your FCM may be delegated which disables firebase message listeners. Disabled by default. You may re-enable if necessary",
|
100
|
+
"type": "boolean"
|
101
|
+
},
|
103
102
|
"messaging_android_notification_channel_id": {
|
104
103
|
"description": "On Android, any message which displays a Notification use a default Notification Channel (created by FCM called `Miscellaneous`). This channel contains basic notification settings which may not be appropriate for your application. You can change what Channel is used by updating the `messaging_android_notification_channel_id` property.",
|
105
104
|
"type": "string"
|
106
105
|
},
|
106
|
+
"messaging_android_notification_delivery_metrics_export_enabled": {
|
107
|
+
"description": "Determines whether Firebase Cloud Messaging exports message delivery metrics to BigQuery. Defaults to disabled.",
|
108
|
+
"type": "boolean"
|
109
|
+
},
|
107
110
|
"messaging_android_notification_color": {
|
108
111
|
"description": "On Android, any messages which display a Notification do not use a color to tint the content (such as the small icon, title etc). To provide a custom tint color, update the messaging_android_notification_color property with a Android color resource name. \n The library provides a set of predefined colors corresponding to the HTML colors for convenience",
|
109
112
|
"type": "string"
|
package/lib/modular/index.d.ts
CHANGED
@@ -53,9 +53,9 @@ export function getApps(): FirebaseApp[];
|
|
53
53
|
* Initializes a Firebase app with the provided options and name.
|
54
54
|
* @param options - Options to configure the services used in the app.
|
55
55
|
* @param name - The optional name of the app to initialize ('[DEFAULT]' if omitted).
|
56
|
-
* @returns FirebaseApp - The initialized Firebase app.
|
56
|
+
* @returns Promise<FirebaseApp> - The initialized Firebase app.
|
57
57
|
*/
|
58
|
-
export function initializeApp(options: FirebaseAppOptions, name?: string): FirebaseApp
|
58
|
+
export function initializeApp(options: FirebaseAppOptions, name?: string): Promise<FirebaseApp>;
|
59
59
|
|
60
60
|
/**
|
61
61
|
* Retrieves an instance of a Firebase app.
|
package/lib/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
// Generated by genversion.
|
2
|
-
module.exports = '21.
|
2
|
+
module.exports = '21.14.0';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-native-firebase/app",
|
3
|
-
"version": "21.
|
3
|
+
"version": "21.14.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",
|
@@ -73,7 +73,7 @@
|
|
73
73
|
},
|
74
74
|
"sdkVersions": {
|
75
75
|
"ios": {
|
76
|
-
"firebase": "11.
|
76
|
+
"firebase": "11.11.0",
|
77
77
|
"iosTarget": "13.0",
|
78
78
|
"macosTarget": "10.15",
|
79
79
|
"tvosTarget": "13.0"
|
@@ -82,7 +82,7 @@
|
|
82
82
|
"minSdk": 21,
|
83
83
|
"targetSdk": 34,
|
84
84
|
"compileSdk": 34,
|
85
|
-
"firebase": "33.
|
85
|
+
"firebase": "33.12.0",
|
86
86
|
"firebaseCrashlyticsGradle": "3.0.3",
|
87
87
|
"firebasePerfGradle": "1.4.2",
|
88
88
|
"gmsGoogleServicesGradle": "4.4.2",
|
@@ -90,5 +90,5 @@
|
|
90
90
|
"firebaseAppDistributionGradle": "5.1.1"
|
91
91
|
}
|
92
92
|
},
|
93
|
-
"gitHead": "
|
93
|
+
"gitHead": "7c7beaab9cf8a619927a33ef7a15b8000e2874c2"
|
94
94
|
}
|
@@ -64,7 +64,7 @@ function modifySwiftAppDelegate(contents) {
|
|
64
64
|
const methodInvocationLineMatcher = /(?:self\.moduleName\s*=\s*"([^"]*)")/g;
|
65
65
|
// Add import
|
66
66
|
if (!contents.includes('import FirebaseCore')) {
|
67
|
-
contents = contents.replace(/import
|
67
|
+
contents = contents.replace(/import Expo/g, `import Expo
|
68
68
|
import FirebaseCore`);
|
69
69
|
}
|
70
70
|
// To avoid potential issues with existing changes from older plugin versions
|
@@ -75,8 +75,8 @@ export function modifySwiftAppDelegate(contents: string): string {
|
|
75
75
|
// Add import
|
76
76
|
if (!contents.includes('import FirebaseCore')) {
|
77
77
|
contents = contents.replace(
|
78
|
-
/import
|
79
|
-
`import
|
78
|
+
/import Expo/g,
|
79
|
+
`import Expo
|
80
80
|
import FirebaseCore`,
|
81
81
|
);
|
82
82
|
}
|