@react-native-firebase/messaging 23.8.8 → 24.1.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 CHANGED
@@ -3,6 +3,16 @@
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
+ ## [24.1.0](https://github.com/invertase/react-native-firebase/compare/v24.0.0...v24.1.0) (2026-06-05)
7
+
8
+ **Note:** Version bump only for package @react-native-firebase/messaging
9
+
10
+ ## [24.0.0](https://github.com/invertase/react-native-firebase/compare/v23.8.6...v24.0.0) (2026-04-01)
11
+
12
+ ### Bug Fixes
13
+
14
+ - **messaging, expo:** retrieve expo-notification config if available, then deprecated notification ([#8663](https://github.com/invertase/react-native-firebase/issues/8663)) ([aa63174](https://github.com/invertase/react-native-firebase/commit/aa63174b997b62176964d9935929cb686b03f8b3))
15
+
6
16
  ## [23.8.8](https://github.com/invertase/react-native-firebase/compare/v23.8.6...v23.8.8) (2026-03-12)
7
17
 
8
18
  ### Bug Fixes
@@ -1 +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":[]}
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;;AAuFA;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;;AAaA;AACA;AACA;;AAiBA;AACA;AACA;AACA;;AAiJA;AACA;AACA;AACA;;AAqBA;AACA;AACA;AACA;AACA;AACA;;AAMO;;AAEP;AACA;AACA;;AAIO;;AAEP;AACA;AACA;AACA;;AA2DA;AACA;AACA;AACA;AACA;AACA;;AAMO;;AAEP;AACA;AACA;;AAaA;;AAEA;AACA;AACA;AACA;AACA;;AA0OA;;AAEA;AACA;AACA;;AASA;AACA;;AAYA;;AAEA;AAAA,WAiBiBC,sBAAsB;AAiBvC","ignoreList":[]}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
 
3
3
  // Generated by genversion.
4
- export const version = '23.8.8';
4
+ export const version = '24.1.0';
5
5
  //# sourceMappingURL=version.js.map
@@ -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.8";
3
+ export declare const SDK_VERSION = "24.1.0";
4
4
  type MessagingNamespace = ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<Messaging, Statics> & {
5
5
  messaging: ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<Messaging, Statics>;
6
6
  firebase: ReactNativeFirebase.Module;
@@ -49,21 +49,15 @@ export interface RemoteMessage {
49
49
  notification?: NotificationPayload;
50
50
  /**
51
51
  * Whether the iOS APNs message was configured as a background update notification.
52
- *
53
- * @platform ios iOS
54
52
  */
55
53
  contentAvailable?: boolean;
56
54
  /**
57
55
  * Whether the iOS APNs `mutable-content` property on the message was set
58
56
  * allowing the app to modify the notification via app extensions.
59
- *
60
- * @platform ios iOS
61
57
  */
62
58
  mutableContent?: boolean;
63
59
  /**
64
60
  * The iOS category this notification is assigned to.
65
- *
66
- * @platform ios iOS
67
61
  */
68
62
  category?: string;
69
63
  /**
@@ -120,15 +114,11 @@ export interface FcmOptions {
120
114
  */
121
115
  export interface NativeTokenOptions {
122
116
  /**
123
- * The app name of the FirebaseApp instance.
124
- *
125
- * @platform android Android
117
+ * On Android, the app name of the FirebaseApp instance.
126
118
  */
127
119
  appName?: string;
128
120
  /**
129
- * The senderID for a particular Firebase project.
130
- *
131
- * @platform ios iOS
121
+ * On iOS, the senderID for a particular Firebase project.
132
122
  */
133
123
  senderId?: string;
134
124
  }
@@ -137,19 +127,15 @@ export interface NativeTokenOptions {
137
127
  */
138
128
  export interface GetTokenOptions {
139
129
  /**
140
- * The VAPID key used to authenticate the push subscribers
130
+ * On Web, the VAPID key used to authenticate the push subscribers
141
131
  * to receive push messages only from sending servers
142
132
  * that hold the corresponding private key.
143
- *
144
- * @platform web
145
133
  */
146
134
  vapidKey?: string;
147
135
  /**
148
- * The service worker registration for receiving push messaging.
136
+ * On Web, the service worker registration for receiving push messaging.
149
137
  * If the registration is not provided explicitly, you need to
150
138
  * have a firebase-messaging-sw.js at your root location.
151
- *
152
- * @platform web
153
139
  */
154
140
  serviceWorkerRegistration?: any;
155
141
  }
@@ -320,11 +306,9 @@ export interface IOSPermissions {
320
306
  */
321
307
  alert?: boolean;
322
308
  /**
323
- * Request permission for Siri to automatically read out notification messages over AirPods.
309
+ * On iOS >= 13, request permission for Siri to automatically read out notification messages over AirPods.
324
310
  *
325
311
  * Defaults to false.
326
- *
327
- * @platform ios iOS >= 13
328
312
  */
329
313
  announcement?: boolean;
330
314
  /**
@@ -346,11 +330,9 @@ export interface IOSPermissions {
346
330
  */
347
331
  carPlay?: boolean;
348
332
  /**
349
- * Request permission to provisionally create non-interrupting notifications.
333
+ * On iOS, equest permission to provisionally create non-interrupting notifications.
350
334
  *
351
335
  * Defaults to false.
352
- *
353
- * @platform ios iOS >= 12
354
336
  */
355
337
  provisional?: boolean;
356
338
  /**
@@ -360,11 +342,9 @@ export interface IOSPermissions {
360
342
  */
361
343
  sound?: boolean;
362
344
  /**
363
- * Request permission to display a button for in-app notification settings.
345
+ * On iOS, request permission to display a button for in-app notification settings.
364
346
  *
365
347
  * Default to false
366
- *
367
- * @platform ios iOS >= 12
368
348
  */
369
349
  providesAppNotificationSettings?: boolean;
370
350
  }
@@ -415,15 +395,11 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
415
395
  /**
416
396
  * When the app is opened from iOS notifications settings from a quit state,
417
397
  * this method will return `true` or `false` if the app was opened via another method.
418
- *
419
- * @ios iOS >= 12
420
398
  */
421
399
  getDidOpenSettingsForNotification(): Promise<boolean>;
422
400
  /**
423
- * Returns whether the root view is headless or not
401
+ * iOS only - Returns whether the root view is headless or not
424
402
  * i.e true if the app was launched in the background (for example, by data-only cloud message)
425
- *
426
- * @platform ios iOS
427
403
  */
428
404
  getIsHeadless(): Promise<boolean>;
429
405
  /**
@@ -472,8 +448,6 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
472
448
  * be received or sent.
473
449
  *
474
450
  * > You can safely call this method on Android without platform checks. It's a no-op on Android and will promise resolve `AuthorizationStatus.AUTHORIZED`.
475
- *
476
- * @ios
477
451
  */
478
452
  requestPermission(permissions?: IOSPermissions): Promise<AuthorizationStatus>;
479
453
  /**
@@ -484,12 +458,10 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
484
458
  */
485
459
  registerDeviceForRemoteMessages(): Promise<void>;
486
460
  /**
487
- * Returns a boolean value whether the user has registered for remote notifications via
461
+ * On iOS, returns a boolean value whether the user has registered for remote notifications via
488
462
  * `registerDeviceForRemoteMessages()`.
489
463
  *
490
464
  * > You can safely access this property on Android without platform checks. Android returns `true` only.
491
- *
492
- * @platform ios
493
465
  */
494
466
  isDeviceRegisteredForRemoteMessages: boolean;
495
467
  /**
@@ -503,11 +475,9 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
503
475
  */
504
476
  isDeliveryMetricsExportToBigQueryEnabled: boolean;
505
477
  /**
506
- * Unregisters the app from receiving remote notifications.
478
+ * On iOS, unregisters the app from receiving remote notifications.
507
479
  *
508
480
  * > You can safely call this method on Android without platform checks. It's a no-op on Android and will promise resolve `void`.
509
- *
510
- * @platform ios
511
481
  */
512
482
  unregisterDeviceForRemoteMessages(): Promise<void>;
513
483
  /**
@@ -515,8 +485,6 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
515
485
  * iOS devices without using the FCM service.
516
486
  *
517
487
  * > You can safely call this method on Android without platform checks. It's a no-op on Android and will promise resolve `null`.
518
- *
519
- * @platform ios
520
488
  */
521
489
  getAPNSToken(): Promise<string | null>;
522
490
  /**
@@ -526,7 +494,6 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
526
494
  *
527
495
  * @param token a hexadecimal string representing your APNS token
528
496
  * @param type optional string specifying 'prod', 'sandbox' or 'unknown' token type
529
- * @platform ios
530
497
  */
531
498
  setAPNSToken(token: string, type?: string): Promise<void>;
532
499
  /**
@@ -534,22 +501,18 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
534
501
  */
535
502
  hasPermission(): Promise<AuthorizationStatus>;
536
503
  /**
537
- * Called when the FCM server deletes pending messages.
504
+ * On Android, called when the FCM server deletes pending messages.
538
505
  *
539
506
  * Returns an unsubscribe function to stop listening for deleted messages.
540
507
  *
541
- * NOTE: Android only
542
- *
543
508
  * @param listener Called when the FCM deletes pending messages.
544
509
  */
545
510
  onDeletedMessages(listener: () => void): () => void;
546
511
  /**
547
- * When sending a `RemoteMessage`, this listener is called when the message has been sent to FCM.
512
+ * On Android, when sending a `RemoteMessage`, this listener is called when the message has been sent to FCM.
548
513
  *
549
514
  * Returns an unsubscribe function to stop listening for sent messages.
550
515
  *
551
- * NOTE: Android only
552
- *
553
516
  * @param listener Called when the FCM sends the remote message to FCM.
554
517
  */
555
518
  onMessageSent(listener: (messageId: string) => any): () => void;
@@ -572,16 +535,12 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
572
535
  */
573
536
  setBackgroundMessageHandler(handler: (message: RemoteMessage) => Promise<any>): void;
574
537
  /**
575
- * Set a handler function which is called when the `${App Name} notifications settings`
538
+ * On iOS, set a handler function which is called when the `${App Name} notifications settings`
576
539
  * link in iOS settings is clicked.
577
- *
578
- * @ios iOS >= 12
579
540
  */
580
541
  setOpenSettingsForNotificationsHandler(handler: (message: RemoteMessage) => any): void;
581
542
  /**
582
- * Send a new `RemoteMessage` to the FCM server.
583
- *
584
- * NOTE: Android only
543
+ * On Android, send a new `RemoteMessage` to the FCM server.
585
544
  *
586
545
  * @param message A `RemoteMessage` interface.
587
546
  */
@@ -612,9 +571,7 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
612
571
  */
613
572
  setNotificationDelegationEnabled(enabled: boolean): Promise<void>;
614
573
  /**
615
- * Checks if all required APIs exist in the browser.
616
- *
617
- * @web
574
+ * On Web, checks if all required APIs exist in the browser.
618
575
  */
619
576
  isSupported(): Promise<boolean>;
620
577
  }
@@ -1 +1 @@
1
- {"version":3,"file":"messaging.d.ts","sourceRoot":"","sources":["../../../../lib/types/messaging.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAA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C;AACxC,KAAK,aAAa,GAAG,YAAY,CAAC;AAClC,KAAK,oBAAoB,GAAG,mBAAmB,CAAC;AAChD,KAAK,6BAA6B,GAAG,4BAA4B,CAAC;AAClE,KAAK,4BAA4B,GAAG,2BAA2B,CAAC;AAChE,KAAK,8BAA8B,GAAG,6BAA6B,CAAC;AACpE,KAAK,eAAe,GAAG,cAAc,CAAC;AACtC,KAAK,oBAAoB,GAAG,mBAAmB,CAAC;AAChD,KAAK,eAAe,GAAG,cAAc,CAAC;AAEtC,yBAAiB,sBAAsB,CAAC;IACtC,KAAY,MAAM,GAAG,UAAU,CAAC;IAChC,KAAY,OAAO,GAAG,iBAAiB,CAAC;IACxC,KAAY,aAAa,GAAG,cAAc,CAAC;IAC3C,KAAY,eAAe,GAAG,gBAAgB,CAAC;IAC/C,KAAY,UAAU,GAAG,WAAW,CAAC;IACrC,KAAY,kBAAkB,GAAG,mBAAmB,CAAC;IACrD,KAAY,eAAe,GAAG,gBAAgB,CAAC;IAC/C,KAAY,YAAY,GAAG,aAAa,CAAC;IACzC,KAAY,mBAAmB,GAAG,oBAAoB,CAAC;IACvD,KAAY,4BAA4B,GAAG,6BAA6B,CAAC;IACzE,KAAY,2BAA2B,GAAG,4BAA4B,CAAC;IACvE,KAAY,6BAA6B,GAAG,8BAA8B,CAAC;IAC3E,KAAY,cAAc,GAAG,eAAe,CAAC;IAC7C,KAAY,mBAAmB,GAAG,oBAAoB,CAAC;IACvD,KAAY,cAAc,GAAG,eAAe,CAAC;CAC9C"}
@@ -1,2 +1,2 @@
1
- export declare const version = "23.8.8";
1
+ export declare const version = "24.1.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -78,23 +78,17 @@ export interface RemoteMessage {
78
78
 
79
79
  /**
80
80
  * Whether the iOS APNs message was configured as a background update notification.
81
- *
82
- * @platform ios iOS
83
81
  */
84
82
  contentAvailable?: boolean;
85
83
 
86
84
  /**
87
85
  * Whether the iOS APNs `mutable-content` property on the message was set
88
86
  * allowing the app to modify the notification via app extensions.
89
- *
90
- * @platform ios iOS
91
87
  */
92
88
  mutableContent?: boolean;
93
89
 
94
90
  /**
95
91
  * The iOS category this notification is assigned to.
96
- *
97
- * @platform ios iOS
98
92
  */
99
93
  category?: string;
100
94
 
@@ -161,16 +155,12 @@ export interface FcmOptions {
161
155
  */
162
156
  export interface NativeTokenOptions {
163
157
  /**
164
- * The app name of the FirebaseApp instance.
165
- *
166
- * @platform android Android
158
+ * On Android, the app name of the FirebaseApp instance.
167
159
  */
168
160
  appName?: string;
169
161
 
170
162
  /**
171
- * The senderID for a particular Firebase project.
172
- *
173
- * @platform ios iOS
163
+ * On iOS, the senderID for a particular Firebase project.
174
164
  */
175
165
  senderId?: string;
176
166
  }
@@ -180,20 +170,16 @@ export interface NativeTokenOptions {
180
170
  */
181
171
  export interface GetTokenOptions {
182
172
  /**
183
- * The VAPID key used to authenticate the push subscribers
173
+ * On Web, the VAPID key used to authenticate the push subscribers
184
174
  * to receive push messages only from sending servers
185
175
  * that hold the corresponding private key.
186
- *
187
- * @platform web
188
176
  */
189
177
  vapidKey?: string;
190
178
 
191
179
  /**
192
- * The service worker registration for receiving push messaging.
180
+ * On Web, the service worker registration for receiving push messaging.
193
181
  * If the registration is not provided explicitly, you need to
194
182
  * have a firebase-messaging-sw.js at your root location.
195
- *
196
- * @platform web
197
183
  */
198
184
  serviceWorkerRegistration?: any; // ServiceWorkerRegistration is a web API type
199
185
  }
@@ -404,11 +390,9 @@ export interface IOSPermissions {
404
390
  alert?: boolean;
405
391
 
406
392
  /**
407
- * Request permission for Siri to automatically read out notification messages over AirPods.
393
+ * On iOS >= 13, request permission for Siri to automatically read out notification messages over AirPods.
408
394
  *
409
395
  * Defaults to false.
410
- *
411
- * @platform ios iOS >= 13
412
396
  */
413
397
  announcement?: boolean;
414
398
 
@@ -434,11 +418,9 @@ export interface IOSPermissions {
434
418
  carPlay?: boolean;
435
419
 
436
420
  /**
437
- * Request permission to provisionally create non-interrupting notifications.
421
+ * On iOS, equest permission to provisionally create non-interrupting notifications.
438
422
  *
439
423
  * Defaults to false.
440
- *
441
- * @platform ios iOS >= 12
442
424
  */
443
425
  provisional?: boolean;
444
426
 
@@ -450,11 +432,9 @@ export interface IOSPermissions {
450
432
  sound?: boolean;
451
433
 
452
434
  /**
453
- * Request permission to display a button for in-app notification settings.
435
+ * On iOS, request permission to display a button for in-app notification settings.
454
436
  *
455
437
  * Default to false
456
- *
457
- * @platform ios iOS >= 12
458
438
  */
459
439
  providesAppNotificationSettings?: boolean;
460
440
  }
@@ -520,16 +500,12 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
520
500
  /**
521
501
  * When the app is opened from iOS notifications settings from a quit state,
522
502
  * this method will return `true` or `false` if the app was opened via another method.
523
- *
524
- * @ios iOS >= 12
525
503
  */
526
504
  getDidOpenSettingsForNotification(): Promise<boolean>;
527
505
 
528
506
  /**
529
- * Returns whether the root view is headless or not
507
+ * iOS only - Returns whether the root view is headless or not
530
508
  * i.e true if the app was launched in the background (for example, by data-only cloud message)
531
- *
532
- * @platform ios iOS
533
509
  */
534
510
  getIsHeadless(): Promise<boolean>;
535
511
 
@@ -584,8 +560,6 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
584
560
  * be received or sent.
585
561
  *
586
562
  * > You can safely call this method on Android without platform checks. It's a no-op on Android and will promise resolve `AuthorizationStatus.AUTHORIZED`.
587
- *
588
- * @ios
589
563
  */
590
564
  requestPermission(permissions?: IOSPermissions): Promise<AuthorizationStatus>;
591
565
 
@@ -598,12 +572,10 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
598
572
  registerDeviceForRemoteMessages(): Promise<void>;
599
573
 
600
574
  /**
601
- * Returns a boolean value whether the user has registered for remote notifications via
575
+ * On iOS, returns a boolean value whether the user has registered for remote notifications via
602
576
  * `registerDeviceForRemoteMessages()`.
603
577
  *
604
578
  * > You can safely access this property on Android without platform checks. Android returns `true` only.
605
- *
606
- * @platform ios
607
579
  */
608
580
  isDeviceRegisteredForRemoteMessages: boolean;
609
581
 
@@ -620,11 +592,9 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
620
592
  isDeliveryMetricsExportToBigQueryEnabled: boolean;
621
593
 
622
594
  /**
623
- * Unregisters the app from receiving remote notifications.
595
+ * On iOS, unregisters the app from receiving remote notifications.
624
596
  *
625
597
  * > You can safely call this method on Android without platform checks. It's a no-op on Android and will promise resolve `void`.
626
- *
627
- * @platform ios
628
598
  */
629
599
  unregisterDeviceForRemoteMessages(): Promise<void>;
630
600
 
@@ -633,8 +603,6 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
633
603
  * iOS devices without using the FCM service.
634
604
  *
635
605
  * > You can safely call this method on Android without platform checks. It's a no-op on Android and will promise resolve `null`.
636
- *
637
- * @platform ios
638
606
  */
639
607
  getAPNSToken(): Promise<string | null>;
640
608
 
@@ -645,7 +613,6 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
645
613
  *
646
614
  * @param token a hexadecimal string representing your APNS token
647
615
  * @param type optional string specifying 'prod', 'sandbox' or 'unknown' token type
648
- * @platform ios
649
616
  */
650
617
  setAPNSToken(token: string, type?: string): Promise<void>;
651
618
 
@@ -655,23 +622,19 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
655
622
  hasPermission(): Promise<AuthorizationStatus>;
656
623
 
657
624
  /**
658
- * Called when the FCM server deletes pending messages.
625
+ * On Android, called when the FCM server deletes pending messages.
659
626
  *
660
627
  * Returns an unsubscribe function to stop listening for deleted messages.
661
628
  *
662
- * NOTE: Android only
663
- *
664
629
  * @param listener Called when the FCM deletes pending messages.
665
630
  */
666
631
  onDeletedMessages(listener: () => void): () => void;
667
632
 
668
633
  /**
669
- * When sending a `RemoteMessage`, this listener is called when the message has been sent to FCM.
634
+ * On Android, when sending a `RemoteMessage`, this listener is called when the message has been sent to FCM.
670
635
  *
671
636
  * Returns an unsubscribe function to stop listening for sent messages.
672
637
  *
673
- * NOTE: Android only
674
- *
675
638
  * @param listener Called when the FCM sends the remote message to FCM.
676
639
  */
677
640
  onMessageSent(listener: (messageId: string) => any): () => void;
@@ -697,17 +660,13 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
697
660
  setBackgroundMessageHandler(handler: (message: RemoteMessage) => Promise<any>): void;
698
661
 
699
662
  /**
700
- * Set a handler function which is called when the `${App Name} notifications settings`
663
+ * On iOS, set a handler function which is called when the `${App Name} notifications settings`
701
664
  * link in iOS settings is clicked.
702
- *
703
- * @ios iOS >= 12
704
665
  */
705
666
  setOpenSettingsForNotificationsHandler(handler: (message: RemoteMessage) => any): void;
706
667
 
707
668
  /**
708
- * Send a new `RemoteMessage` to the FCM server.
709
- *
710
- * NOTE: Android only
669
+ * On Android, send a new `RemoteMessage` to the FCM server.
711
670
  *
712
671
  * @param message A `RemoteMessage` interface.
713
672
  */
@@ -743,9 +702,7 @@ export interface Messaging extends ReactNativeFirebase.FirebaseModule {
743
702
  setNotificationDelegationEnabled(enabled: boolean): Promise<void>;
744
703
 
745
704
  /**
746
- * Checks if all required APIs exist in the browser.
747
- *
748
- * @web
705
+ * On Web, checks if all required APIs exist in the browser.
749
706
  */
750
707
  isSupported(): Promise<boolean>;
751
708
  }
package/lib/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '23.8.8';
2
+ export const version = '24.1.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/messaging",
3
- "version": "23.8.8",
3
+ "version": "24.1.0",
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.8",
28
+ "@react-native-firebase/app": "24.1.0",
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": "d17b898bee0be82259fc1b88f46106a927bf81aa"
76
+ "gitHead": "804a51fd265453f2385adb0ac96a6abf992c0316"
77
77
  }
package/typedoc.json ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "$schema": "https://typedoc.org/schema.json",
3
+ "entryPoints": ["lib/modular.ts", "lib/types/messaging.ts"],
4
+ "tsconfig": "tsconfig.json",
5
+ "intentionallyNotExported": [
6
+ "_AuthorizationStatus",
7
+ "_FcmOptions",
8
+ "_GetTokenOptions",
9
+ "_IOSPermissions",
10
+ "_MessagePriority",
11
+ "_Messaging",
12
+ "_NativeTokenOptions",
13
+ "_Notification",
14
+ "_NotificationAndroidPriority",
15
+ "_NotificationAndroidVisibility",
16
+ "_NotificationIOSCriticalSound",
17
+ "_NotificationPayload",
18
+ "_RemoteMessage",
19
+ "_SendErrorEvent",
20
+ "_MessagingStatics"
21
+ ]
22
+ }