@react-native-firebase/messaging 14.2.4 → 14.3.3

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,24 @@
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.3](https://github.com/invertase/react-native-firebase/compare/v14.3.2...v14.3.3) (2022-02-12)
7
+
8
+ **Note:** Version bump only for package @react-native-firebase/messaging
9
+
10
+ ## [14.3.2](https://github.com/invertase/react-native-firebase/compare/v14.3.1...v14.3.2) (2022-02-10)
11
+
12
+ **Note:** Version bump only for package @react-native-firebase/messaging
13
+
14
+ ## [14.3.1](https://github.com/invertase/react-native-firebase/compare/v14.3.0...v14.3.1) (2022-02-07)
15
+
16
+ **Note:** Version bump only for package @react-native-firebase/messaging
17
+
18
+ # [14.3.0](https://github.com/invertase/react-native-firebase/compare/v14.2.4...v14.3.0) (2022-01-26)
19
+
20
+ ### Bug Fixes
21
+
22
+ - **messaging:** add missing PRIORITY_MIN value in JS to match TS ([#6033](https://github.com/invertase/react-native-firebase/issues/6033)) ([d34112a](https://github.com/invertase/react-native-firebase/commit/d34112aa91b18d1d105adaf52eb98bb197cffaa6))
23
+
6
24
  ## [14.2.4](https://github.com/invertase/react-native-firebase/compare/v14.2.3...v14.2.4) (2022-01-24)
7
25
 
8
26
  **Note:** Version bump only for package @react-native-firebase/messaging
@@ -157,7 +157,8 @@
157
157
  RCTRootView *rctRootView =
158
158
  (RCTRootView *)[UIApplication sharedApplication].delegate.window.rootViewController.view;
159
159
 
160
- if (rctRootView.appProperties != nil && rctRootView.appProperties[@"isHeadless"] == @(YES)) {
160
+ if (rctRootView.appProperties != nil &&
161
+ [rctRootView.appProperties[@"isHeadless"] isEqual:@(YES)]) {
161
162
  NSMutableDictionary *appPropertiesDict = [rctRootView.appProperties mutableCopy];
162
163
  isHeadless = NO;
163
164
  if ([appPropertiesDict objectForKey:@"isHeadless"] != nil &&
@@ -21,7 +21,7 @@ NS_ASSUME_NONNULL_BEGIN
21
21
 
22
22
  @interface RNFBMessagingUNUserNotificationCenter : NSObject <UNUserNotificationCenterDelegate>
23
23
 
24
- @property NSDictionary *initialNotification;
24
+ @property NSDictionary *_Nullable initialNotification;
25
25
  @property BOOL didOpenSettingsForNotification;
26
26
  @property(nonatomic, nullable, weak) id<UNUserNotificationCenterDelegate> originalDelegate;
27
27
 
@@ -19,6 +19,6 @@
19
19
  #import <React/RCTBridgeModule.h>
20
20
 
21
21
  @interface RNFBMessagingModule : NSObject <RCTBridgeModule>
22
- + (NSDictionary *)addCustomPropsToUserProps:(NSDictionary *_Nullable)userProps
23
- withLaunchOptions:(NSDictionary *_Nullable)launchOptions;
22
+ + (NSDictionary *_Nonnull)addCustomPropsToUserProps:(NSDictionary *_Nullable)userProps
23
+ withLaunchOptions:(NSDictionary *_Nullable)launchOptions;
24
24
  @end
package/lib/index.js CHANGED
@@ -41,6 +41,7 @@ const statics = {
41
41
  PROVISIONAL: 2,
42
42
  },
43
43
  NotificationAndroidPriority: {
44
+ PRIORITY_MIN: -2,
44
45
  PRIORITY_LOW: -1,
45
46
  PRIORITY_DEFAULT: 0,
46
47
  PRIORITY_HIGH: 1,
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // generated by genversion
2
- module.exports = '14.2.4';
2
+ module.exports = '14.3.3';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/messaging",
3
- "version": "14.2.4",
3
+ "version": "14.3.3",
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": "lib/index.js",
@@ -22,10 +22,10 @@
22
22
  "messaging"
23
23
  ],
24
24
  "peerDependencies": {
25
- "@react-native-firebase/app": "14.2.4"
25
+ "@react-native-firebase/app": "14.3.3"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "gitHead": "ef4189597f21955266a444e39700b5f0c13ea30a"
30
+ "gitHead": "55dc55c8a844ba8a400e0b99bc342269421ba23c"
31
31
  }