@react-native-firebase/messaging 23.7.0 → 23.8.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.
Files changed (109) hide show
  1. package/dist/commonjs/index.js +61 -0
  2. package/dist/commonjs/index.js.map +1 -0
  3. package/dist/commonjs/modular.js +439 -0
  4. package/dist/commonjs/modular.js.map +1 -0
  5. package/dist/commonjs/namespaced.js +407 -0
  6. package/dist/commonjs/namespaced.js.map +1 -0
  7. package/dist/commonjs/package.json +1 -0
  8. package/dist/commonjs/remoteMessageOptions.js +87 -0
  9. package/dist/commonjs/remoteMessageOptions.js.map +1 -0
  10. package/dist/commonjs/statics.js +29 -0
  11. package/dist/commonjs/statics.js.map +1 -0
  12. package/dist/commonjs/types/messaging.js +105 -0
  13. package/dist/commonjs/types/messaging.js.map +1 -0
  14. package/dist/commonjs/version.js +9 -0
  15. package/dist/commonjs/version.js.map +1 -0
  16. package/{ios/RNFBMessaging/RNFBMessaging+FIRMessagingDelegate.h → dist/module/index.js} +11 -12
  17. package/dist/module/index.js.map +1 -0
  18. package/{lib/modular/index.js → dist/module/modular.js} +135 -119
  19. package/dist/module/modular.js.map +1 -0
  20. package/{lib/index.js → dist/module/namespaced.js} +70 -193
  21. package/dist/module/namespaced.js.map +1 -0
  22. package/dist/module/package.json +1 -0
  23. package/{lib → dist/module}/remoteMessageOptions.js +10 -27
  24. package/dist/module/remoteMessageOptions.js.map +1 -0
  25. package/dist/module/statics.js +25 -0
  26. package/dist/module/statics.js.map +1 -0
  27. package/dist/module/types/messaging.js +124 -0
  28. package/dist/module/types/messaging.js.map +1 -0
  29. package/dist/module/version.js +5 -0
  30. package/dist/module/version.js.map +1 -0
  31. package/dist/typescript/commonjs/lib/index.d.ts +6 -0
  32. package/dist/typescript/commonjs/lib/index.d.ts.map +1 -0
  33. package/{lib/modular/index.d.ts → dist/typescript/commonjs/lib/modular.d.ts} +86 -164
  34. package/dist/typescript/commonjs/lib/modular.d.ts.map +1 -0
  35. package/dist/typescript/commonjs/lib/namespaced.d.ts +12 -0
  36. package/dist/typescript/commonjs/lib/namespaced.d.ts.map +1 -0
  37. package/dist/typescript/commonjs/lib/remoteMessageOptions.d.ts +14 -0
  38. package/dist/typescript/commonjs/lib/remoteMessageOptions.d.ts.map +1 -0
  39. package/dist/typescript/commonjs/lib/statics.d.ts +20 -0
  40. package/dist/typescript/commonjs/lib/statics.d.ts.map +1 -0
  41. package/dist/typescript/commonjs/lib/types/messaging.d.ts +673 -0
  42. package/dist/typescript/commonjs/lib/types/messaging.d.ts.map +1 -0
  43. package/dist/typescript/commonjs/lib/version.d.ts +2 -0
  44. package/dist/typescript/commonjs/lib/version.d.ts.map +1 -0
  45. package/dist/typescript/commonjs/package.json +1 -0
  46. package/dist/typescript/module/lib/index.d.ts +6 -0
  47. package/dist/typescript/module/lib/index.d.ts.map +1 -0
  48. package/dist/typescript/module/lib/modular.d.ts +247 -0
  49. package/dist/typescript/module/lib/modular.d.ts.map +1 -0
  50. package/dist/typescript/module/lib/namespaced.d.ts +12 -0
  51. package/dist/typescript/module/lib/namespaced.d.ts.map +1 -0
  52. package/dist/typescript/module/lib/remoteMessageOptions.d.ts +14 -0
  53. package/dist/typescript/module/lib/remoteMessageOptions.d.ts.map +1 -0
  54. package/dist/typescript/module/lib/statics.d.ts +20 -0
  55. package/dist/typescript/module/lib/statics.d.ts.map +1 -0
  56. package/dist/typescript/module/lib/types/messaging.d.ts +673 -0
  57. package/dist/typescript/module/lib/types/messaging.d.ts.map +1 -0
  58. package/dist/typescript/module/lib/version.d.ts +2 -0
  59. package/dist/typescript/module/lib/version.d.ts.map +1 -0
  60. package/dist/typescript/module/package.json +1 -0
  61. package/{ios/RNFBMessaging/RNFBMessaging+UNUserNotificationCenter.h → lib/index.ts} +28 -21
  62. package/lib/modular.ts +447 -0
  63. package/lib/namespaced.ts +583 -0
  64. package/lib/remoteMessageOptions.ts +110 -0
  65. package/lib/{statics.js → statics.ts} +6 -3
  66. package/lib/types/messaging.ts +815 -0
  67. package/lib/version.ts +2 -0
  68. package/package.json +64 -8
  69. package/tsconfig.json +21 -0
  70. package/CHANGELOG.md +0 -1181
  71. package/RNFBMessaging.podspec +0 -50
  72. package/android/.editorconfig +0 -10
  73. package/android/build.gradle +0 -149
  74. package/android/lint.xml +0 -5
  75. package/android/settings.gradle +0 -1
  76. package/android/src/main/AndroidManifest.xml +0 -43
  77. package/android/src/main/java/io/invertase/firebase/messaging/JsonConvert.java +0 -127
  78. package/android/src/main/java/io/invertase/firebase/messaging/ReactNativeFirebaseMessagingHeadlessService.java +0 -30
  79. package/android/src/main/java/io/invertase/firebase/messaging/ReactNativeFirebaseMessagingModule.java +0 -332
  80. package/android/src/main/java/io/invertase/firebase/messaging/ReactNativeFirebaseMessagingPackage.java +0 -41
  81. package/android/src/main/java/io/invertase/firebase/messaging/ReactNativeFirebaseMessagingReceiver.java +0 -66
  82. package/android/src/main/java/io/invertase/firebase/messaging/ReactNativeFirebaseMessagingSerializer.java +0 -225
  83. package/android/src/main/java/io/invertase/firebase/messaging/ReactNativeFirebaseMessagingService.java +0 -37
  84. package/android/src/main/java/io/invertase/firebase/messaging/ReactNativeFirebaseMessagingStore.java +0 -15
  85. package/android/src/main/java/io/invertase/firebase/messaging/ReactNativeFirebaseMessagingStoreHelper.java +0 -23
  86. package/android/src/main/java/io/invertase/firebase/messaging/ReactNativeFirebaseMessagingStoreImpl.java +0 -97
  87. package/android/src/main/res/values/colors.xml +0 -143
  88. package/app.plugin.js +0 -1
  89. package/ios/RNFBMessaging/RNFBMessaging+AppDelegate.h +0 -54
  90. package/ios/RNFBMessaging/RNFBMessaging+AppDelegate.m +0 -251
  91. package/ios/RNFBMessaging/RNFBMessaging+FIRMessagingDelegate.m +0 -70
  92. package/ios/RNFBMessaging/RNFBMessaging+NSNotificationCenter.h +0 -29
  93. package/ios/RNFBMessaging/RNFBMessaging+NSNotificationCenter.m +0 -173
  94. package/ios/RNFBMessaging/RNFBMessaging+UNUserNotificationCenter.m +0 -185
  95. package/ios/RNFBMessaging/RNFBMessagingModule.h +0 -26
  96. package/ios/RNFBMessaging/RNFBMessagingModule.m +0 -431
  97. package/ios/RNFBMessaging/RNFBMessagingSerializer.h +0 -32
  98. package/ios/RNFBMessaging/RNFBMessagingSerializer.m +0 -235
  99. package/ios/RNFBMessaging.xcodeproj/project.pbxproj +0 -384
  100. package/ios/RNFBMessaging.xcodeproj/xcshareddata/IDETemplateMacros.plist +0 -24
  101. package/lib/index.d.ts +0 -1233
  102. package/lib/version.js +0 -2
  103. package/plugin/build/android/index.d.ts +0 -2
  104. package/plugin/build/android/index.js +0 -5
  105. package/plugin/build/android/setupFirebaseNotifationIcon.d.ts +0 -8
  106. package/plugin/build/android/setupFirebaseNotifationIcon.js +0 -62
  107. package/plugin/build/index.d.ts +0 -3
  108. package/plugin/build/index.js +0 -16
  109. package/plugin/tsconfig.tsbuildinfo +0 -1
@@ -1,3 +1,5 @@
1
+ "use strict";
2
+
1
3
  /*
2
4
  * Copyright (c) 2016-present Invertase Limited & Contributors
3
5
  *
@@ -15,23 +17,12 @@
15
17
  *
16
18
  */
17
19
 
18
- import {
19
- generateFirestoreId,
20
- hasOwnProperty,
21
- isInteger,
22
- isNumber,
23
- isObject,
24
- isString,
25
- isUndefined,
26
- } from '@react-native-firebase/app/lib/common';
27
-
20
+ import { generateFirestoreId, hasOwnProperty, isInteger, isNumber, isObject, isString, isUndefined } from '@react-native-firebase/app/lib/common';
28
21
  export default function remoteMessageOptions(messagingSenderId, remoteMessage) {
29
22
  const out = {};
30
-
31
23
  if (isUndefined(remoteMessage) || !isObject(remoteMessage)) {
32
24
  throw new Error("'remoteMessage' expected an object value");
33
25
  }
34
-
35
26
  if (!remoteMessage.to) {
36
27
  out.to = `${messagingSenderId}@fcm.googleapis.com`;
37
28
  } else if (!isString(remoteMessage.to)) {
@@ -39,7 +30,6 @@ export default function remoteMessageOptions(messagingSenderId, remoteMessage) {
39
30
  } else {
40
31
  out.to = remoteMessage.to;
41
32
  }
42
-
43
33
  if (!remoteMessage.messageId) {
44
34
  out.messageId = generateFirestoreId();
45
35
  } else if (!isString(remoteMessage.messageId)) {
@@ -47,7 +37,6 @@ export default function remoteMessageOptions(messagingSenderId, remoteMessage) {
47
37
  } else {
48
38
  out.messageId = remoteMessage.messageId;
49
39
  }
50
-
51
40
  if (!hasOwnProperty(remoteMessage, 'ttl')) {
52
41
  out.ttl = 3600;
53
42
  } else {
@@ -59,7 +48,6 @@ export default function remoteMessageOptions(messagingSenderId, remoteMessage) {
59
48
  }
60
49
  out.ttl = remoteMessage.ttl;
61
50
  }
62
-
63
51
  if (!remoteMessage.data) {
64
52
  out.data = {};
65
53
  } else if (!isObject(remoteMessage.data)) {
@@ -67,34 +55,29 @@ export default function remoteMessageOptions(messagingSenderId, remoteMessage) {
67
55
  } else {
68
56
  // Serialize all objects to strings
69
57
  out.data = {};
70
- for (let key in remoteMessage.data) {
71
- if (remoteMessage.data.hasOwnProperty(key)) {
72
- if (
73
- typeof remoteMessage.data[key] === 'object' &&
74
- !Array.isArray(remoteMessage.data[key]) &&
75
- remoteMessage.data[key] !== null
76
- ) {
77
- out.data[key] = JSON.stringify(remoteMessage.data[key]);
58
+ for (const key in remoteMessage.data) {
59
+ if (hasOwnProperty(remoteMessage.data, key)) {
60
+ const value = remoteMessage.data[key];
61
+ if (typeof value === 'object' && !Array.isArray(value) && value !== null) {
62
+ out.data[key] = JSON.stringify(value);
78
63
  } else {
79
- out.data[key] = remoteMessage.data[key];
64
+ out.data[key] = String(value);
80
65
  }
81
66
  }
82
67
  }
83
68
  }
84
-
85
69
  if (remoteMessage.collapseKey) {
86
70
  if (!isString(remoteMessage.collapseKey)) {
87
71
  throw new Error("'remoteMessage.collapseKey' expected a string value");
88
72
  }
89
73
  out.collapseKey = remoteMessage.collapseKey;
90
74
  }
91
-
92
75
  if (remoteMessage.messageType) {
93
76
  if (!isString(remoteMessage.messageType)) {
94
77
  throw new Error("'remoteMessage.messageType' expected a string value");
95
78
  }
96
79
  out.messageType = remoteMessage.messageType;
97
80
  }
98
-
99
81
  return out;
100
82
  }
83
+ //# sourceMappingURL=remoteMessageOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["generateFirestoreId","hasOwnProperty","isInteger","isNumber","isObject","isString","isUndefined","remoteMessageOptions","messagingSenderId","remoteMessage","out","Error","to","messageId","ttl","data","key","value","Array","isArray","JSON","stringify","String","collapseKey","messageType"],"sourceRoot":"../../lib","sources":["remoteMessageOptions.ts"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ // shared between namespaced and modular API
4
+
5
+ // Export as objects for runtime use (matching the old statics.js pattern)
6
+ export const AuthorizationStatus = {
7
+ NOT_DETERMINED: -1,
8
+ DENIED: 0,
9
+ AUTHORIZED: 1,
10
+ PROVISIONAL: 2,
11
+ EPHEMERAL: 3
12
+ };
13
+ export const NotificationAndroidPriority = {
14
+ PRIORITY_MIN: -2,
15
+ PRIORITY_LOW: -1,
16
+ PRIORITY_DEFAULT: 0,
17
+ PRIORITY_HIGH: 1,
18
+ PRIORITY_MAX: 2
19
+ };
20
+ export const NotificationAndroidVisibility = {
21
+ VISIBILITY_SECRET: -1,
22
+ VISIBILITY_PRIVATE: 0,
23
+ VISIBILITY_PUBLIC: 1
24
+ };
25
+ //# sourceMappingURL=statics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["AuthorizationStatus","NOT_DETERMINED","DENIED","AUTHORIZED","PROVISIONAL","EPHEMERAL","NotificationAndroidPriority","PRIORITY_MIN","PRIORITY_LOW","PRIORITY_DEFAULT","PRIORITY_HIGH","PRIORITY_MAX","NotificationAndroidVisibility","VISIBILITY_SECRET","VISIBILITY_PRIVATE","VISIBILITY_PUBLIC"],"sourceRoot":"../../lib","sources":["statics.ts"],"mappings":";;AAAA;;AAEA;AACA,OAAO,MAAMA,mBAAmB,GAAG;EACjCC,cAAc,EAAE,CAAC,CAAC;EAClBC,MAAM,EAAE,CAAC;EACTC,UAAU,EAAE,CAAC;EACbC,WAAW,EAAE,CAAC;EACdC,SAAS,EAAE;AACb,CAAU;AAEV,OAAO,MAAMC,2BAA2B,GAAG;EACzCC,YAAY,EAAE,CAAC,CAAC;EAChBC,YAAY,EAAE,CAAC,CAAC;EAChBC,gBAAgB,EAAE,CAAC;EACnBC,aAAa,EAAE,CAAC;EAChBC,YAAY,EAAE;AAChB,CAAU;AAEV,OAAO,MAAMC,6BAA6B,GAAG;EAC3CC,iBAAiB,EAAE,CAAC,CAAC;EACrBC,kBAAkB,EAAE,CAAC;EACrBC,iBAAiB,EAAE;AACrB,CAAU","ignoreList":[]}
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+
3
+ /*
4
+ * Copyright (c) 2016-present Invertase Limited & Contributors
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this library except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ *
18
+ */
19
+
20
+ // ============ Types ============
21
+
22
+ /**
23
+ * The `RemoteMessage` interface describes an outgoing & incoming message from the remote FCM server.
24
+ */
25
+
26
+ /**
27
+ * Represents the priority of a RemoteMessage
28
+ *
29
+ * Note: this is an android-specific property of RemoteMessages
30
+ */
31
+ export let MessagePriority = /*#__PURE__*/function (MessagePriority) {
32
+ /**
33
+ * Unknown priority, this will be returned as the default on non-android platforms
34
+ */
35
+ MessagePriority[MessagePriority["PRIORITY_UNKNOWN"] = 0] = "PRIORITY_UNKNOWN";
36
+ /**
37
+ * High priority - Activities may start foreground services if they receive high priority messages
38
+ */
39
+ MessagePriority[MessagePriority["PRIORITY_HIGH"] = 1] = "PRIORITY_HIGH";
40
+ /**
41
+ * Normal priority - Activities have restrictions and may only perform unobtrusive actions on receipt
42
+ */
43
+ MessagePriority[MessagePriority["PRIORITY_NORMAL"] = 2] = "PRIORITY_NORMAL";
44
+ return MessagePriority;
45
+ }({});
46
+
47
+ /**
48
+ * Options for features provided by the FCM SDK for Web.
49
+ */
50
+
51
+ /**
52
+ * Options for `getToken()` and `deleteToken()`
53
+ */
54
+
55
+ /**
56
+ * Options for `getToken()`
57
+ */
58
+
59
+ /**
60
+ * NotificationPayload is an alias for Notification. This is to keep it the same as
61
+ * Firebase Web JS SDK v9 and to make it backwards compatible.
62
+ */
63
+
64
+ /**
65
+ * Represents a critical sound configuration that can be included in the
66
+ * `aps` dictionary of an APNs payload.
67
+ */
68
+
69
+ /**
70
+ * The type representing a notification priority.
71
+ *
72
+ * Note; on devices which have channel support (Android 8.0 (API level 26) +),
73
+ * this value will be ignored. Instead, the channel "importance" level is used.
74
+ */
75
+
76
+ // PRIORITY_MAX - The priority highest level a notification can be set at.
77
+
78
+ /**
79
+ * The type representing the visibility of a notification.
80
+ */
81
+
82
+ // VISIBILITY_PUBLIC - Show this notification in its entirety on all lock-screens.
83
+
84
+ /**
85
+ * An interface representing all the available permissions that can be requested by your app via
86
+ * the `requestPermission` API.
87
+ */
88
+
89
+ /**
90
+ * A type representing the notification authorization status for this app on the device.
91
+ *
92
+ * Value is truthy if authorized, compare against an exact status (e.g. iOS PROVISIONAL) for a more
93
+ * granular status.
94
+ */
95
+
96
+ // EPHEMERAL - The app is authorized to create notifications for a limited amount of time. Used in App Clips. @platform ios iOS >= 14
97
+
98
+ /**
99
+ * An event that is received when a message fails to send.
100
+ */
101
+
102
+ // ============ Module Interface ============
103
+
104
+ /**
105
+ * The Firebase Messaging service interface.
106
+ *
107
+ * > This module is available for the default app only.
108
+ */
109
+
110
+ // ============ Statics Interface ============
111
+
112
+ /**
113
+ * Static properties available on firebase.messaging
114
+ */
115
+
116
+ // ============ Module Augmentation ============
117
+ /* eslint-disable @typescript-eslint/no-namespace */
118
+
119
+ // ============ Backwards Compatibility Namespace ============
120
+
121
+ /* eslint-disable @typescript-eslint/no-namespace */
122
+ export let FirebaseMessagingTypes;
123
+ /* eslint-enable @typescript-eslint/no-namespace */
124
+ //# sourceMappingURL=messaging.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["MessagePriority","FirebaseMessagingTypes"],"sourceRoot":"../../../lib","sources":["types/messaging.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AASA;;AAEA;AACA;AACA;;AA6FA;AACA;AACA;AACA;AACA;AACA,WAAYA,eAAe,0BAAfA,eAAe;EACzB;AACF;AACA;EAHYA,eAAe,CAAfA,eAAe;EAMzB;AACF;AACA;EARYA,eAAe,CAAfA,eAAe;EAWzB;AACF;AACA;EAbYA,eAAe,CAAfA,eAAe;EAAA,OAAfA,eAAe;AAAA;;AAiB3B;AACA;AACA;;AAaA;AACA;AACA;;AAiBA;AACA;AACA;;AAqBA;AACA;AACA;AACA;;AAiJA;AACA;AACA;AACA;;AAqBA;AACA;AACA;AACA;AACA;AACA;;AAMO;;AAEP;AACA;AACA;;AAIO;;AAEP;AACA;AACA;AACA;;AAiEA;AACA;AACA;AACA;AACA;AACA;;AAMO;;AAEP;AACA;AACA;;AAaA;;AAEA;AACA;AACA;AACA;AACA;;AAiQA;;AAEA;AACA;AACA;;AASA;AACA;;AAYA;;AAEA;AAAA,WAiBiBC,sBAAsB;AAiBvC","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ // Generated by genversion.
4
+ export const version = '23.8.0';
5
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["version"],"sourceRoot":"../../lib","sources":["version.ts"],"mappings":";;AAAA;AACA,OAAO,MAAMA,OAAO,GAAG,QAAQ","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ export type { Messaging, RemoteMessage, MessagePriority, FcmOptions, NativeTokenOptions, GetTokenOptions, Notification, NotificationIOSCriticalSound, IOSPermissions, SendErrorEvent, FirebaseMessagingTypes, } from './types/messaging';
2
+ export { AuthorizationStatus, NotificationAndroidPriority, NotificationAndroidVisibility, } from './statics';
3
+ export * from './modular';
4
+ export * from './namespaced';
5
+ export { default } from './namespaced';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/index.ts"],"names":[],"mappings":"AAkBA,YAAY,EACV,SAAS,EACT,aAAa,EACb,eAAe,EACf,UAAU,EACV,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,4BAA4B,EAC5B,cAAc,EACd,cAAc,EACd,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,mBAAmB,EACnB,2BAA2B,EAC3B,6BAA6B,GAC9B,MAAM,WAAW,CAAC;AAGnB,cAAc,WAAW,CAAC;AAG1B,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}