@react-native-firebase/messaging 23.8.4 → 23.8.5
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,12 @@
|
|
|
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
|
+
## [23.8.5](https://github.com/invertase/react-native-firebase/compare/v23.8.4...v23.8.5) (2026-01-31)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **messaging, ios:** prioritize delegate call order in willPresentNotification ([#8786](https://github.com/invertase/react-native-firebase/issues/8786)) ([d6f403a](https://github.com/invertase/react-native-firebase/commit/d6f403adcd0333cf9cd8876578aba200be20e8bd))
|
|
11
|
+
|
|
6
12
|
## [23.8.4](https://github.com/invertase/react-native-firebase/compare/v23.8.3...v23.8.4) (2026-01-24)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
package/dist/module/version.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Messaging, Statics } from './types/messaging';
|
|
2
2
|
import type { ReactNativeFirebase } from '@react-native-firebase/app';
|
|
3
|
-
export declare const SDK_VERSION = "23.8.
|
|
3
|
+
export declare const SDK_VERSION = "23.8.5";
|
|
4
4
|
type MessagingNamespace = ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<Messaging, Statics> & {
|
|
5
5
|
messaging: ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<Messaging, Statics>;
|
|
6
6
|
firebase: ReactNativeFirebase.Module;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "23.8.
|
|
1
|
+
export declare const version = "23.8.5";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -130,22 +130,24 @@ struct {
|
|
|
130
130
|
if (notification.request.content.userInfo[@"gcm.message_id"]) {
|
|
131
131
|
NSDictionary *notificationDict = [RNFBMessagingSerializer notificationToDict:notification];
|
|
132
132
|
|
|
133
|
-
// Don't send an event if contentAvailable is true -
|
|
134
|
-
// will send the event for us, we
|
|
133
|
+
// Don't send an event if contentAvailable is true -
|
|
134
|
+
// application:didReceiveRemoteNotification will send the event for us, we
|
|
135
|
+
// don't want to duplicate them
|
|
135
136
|
if (!notificationDict[@"contentAvailable"]) {
|
|
136
137
|
[[RNFBRCTEventEmitter shared] sendEventWithName:@"messaging_message_received"
|
|
137
138
|
body:notificationDict];
|
|
138
139
|
}
|
|
139
|
-
completionHandler(presentationOptions);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
if (_originalDelegate != nil && originalDelegateRespondsTo.willPresentNotification) {
|
|
143
143
|
[_originalDelegate userNotificationCenter:center
|
|
144
144
|
willPresentNotification:notification
|
|
145
145
|
withCompletionHandler:completionHandler];
|
|
146
|
-
} else {
|
|
147
|
-
completionHandler(presentationOptions);
|
|
148
146
|
}
|
|
147
|
+
|
|
148
|
+
// Don't consume completionHandler before the _originalDelegate has been
|
|
149
|
+
// processed
|
|
150
|
+
completionHandler(presentationOptions);
|
|
149
151
|
}
|
|
150
152
|
|
|
151
153
|
- (void)userNotificationCenter:(UNUserNotificationCenter *)center
|
package/lib/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '23.8.
|
|
2
|
+
export const version = '23.8.5';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-firebase/messaging",
|
|
3
|
-
"version": "23.8.
|
|
3
|
+
"version": "23.8.5",
|
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
|
5
5
|
"description": "React Native Firebase - React Native Firebase provides native integration of Firebase Cloud Messaging (FCM) for both Android & iOS. FCM is a cost free service, allowing for server-device and device-device communication. The React Native Firebase Messaging module provides a simple JavaScript API to interact with FCM.",
|
|
6
6
|
"main": "./dist/module/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"messaging"
|
|
26
26
|
],
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@react-native-firebase/app": "23.8.
|
|
28
|
+
"@react-native-firebase/app": "23.8.5",
|
|
29
29
|
"expo": ">=47.0.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"node_modules/",
|
|
74
74
|
"dist/"
|
|
75
75
|
],
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "93815b11aef9f02c24649212771ecaaf1b230ae7"
|
|
77
77
|
}
|