@react-native-firebase/messaging 23.8.3 → 23.8.4
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 +7 -0
- package/dist/module/modular.js +2 -2
- package/dist/module/modular.js.map +1 -1
- package/dist/module/namespaced.js +2 -2
- package/dist/module/namespaced.js.map +1 -1
- package/dist/module/remoteMessageOptions.js +1 -1
- package/dist/module/remoteMessageOptions.js.map +1 -1
- package/dist/module/version.js +1 -1
- package/dist/typescript/lib/index.d.ts.map +1 -0
- package/dist/typescript/lib/modular.d.ts.map +1 -0
- package/dist/typescript/{commonjs/lib → lib}/namespaced.d.ts +1 -1
- package/dist/typescript/lib/namespaced.d.ts.map +1 -0
- package/dist/typescript/lib/remoteMessageOptions.d.ts.map +1 -0
- package/dist/typescript/lib/statics.d.ts.map +1 -0
- package/dist/typescript/lib/types/messaging.d.ts.map +1 -0
- package/dist/typescript/lib/version.d.ts +2 -0
- package/dist/typescript/lib/version.d.ts.map +1 -0
- package/lib/modular.ts +2 -2
- package/lib/namespaced.ts +2 -2
- package/lib/remoteMessageOptions.ts +1 -1
- package/lib/version.ts +1 -1
- package/package.json +7 -20
- package/tsconfig.json +8 -8
- package/dist/commonjs/index.js +0 -61
- package/dist/commonjs/index.js.map +0 -1
- package/dist/commonjs/modular.js +0 -439
- package/dist/commonjs/modular.js.map +0 -1
- package/dist/commonjs/namespaced.js +0 -407
- package/dist/commonjs/namespaced.js.map +0 -1
- package/dist/commonjs/package.json +0 -1
- package/dist/commonjs/remoteMessageOptions.js +0 -87
- package/dist/commonjs/remoteMessageOptions.js.map +0 -1
- package/dist/commonjs/statics.js +0 -29
- package/dist/commonjs/statics.js.map +0 -1
- package/dist/commonjs/types/messaging.js +0 -105
- package/dist/commonjs/types/messaging.js.map +0 -1
- package/dist/commonjs/version.js +0 -9
- package/dist/commonjs/version.js.map +0 -1
- package/dist/typescript/commonjs/lib/index.d.ts.map +0 -1
- package/dist/typescript/commonjs/lib/modular.d.ts.map +0 -1
- package/dist/typescript/commonjs/lib/namespaced.d.ts.map +0 -1
- package/dist/typescript/commonjs/lib/remoteMessageOptions.d.ts.map +0 -1
- package/dist/typescript/commonjs/lib/statics.d.ts.map +0 -1
- package/dist/typescript/commonjs/lib/types/messaging.d.ts.map +0 -1
- package/dist/typescript/commonjs/lib/version.d.ts +0 -2
- package/dist/typescript/commonjs/lib/version.d.ts.map +0 -1
- package/dist/typescript/commonjs/package.json +0 -1
- package/dist/typescript/module/lib/index.d.ts +0 -6
- package/dist/typescript/module/lib/index.d.ts.map +0 -1
- package/dist/typescript/module/lib/modular.d.ts +0 -247
- package/dist/typescript/module/lib/modular.d.ts.map +0 -1
- package/dist/typescript/module/lib/namespaced.d.ts +0 -12
- package/dist/typescript/module/lib/namespaced.d.ts.map +0 -1
- package/dist/typescript/module/lib/remoteMessageOptions.d.ts +0 -14
- package/dist/typescript/module/lib/remoteMessageOptions.d.ts.map +0 -1
- package/dist/typescript/module/lib/statics.d.ts +0 -20
- package/dist/typescript/module/lib/statics.d.ts.map +0 -1
- package/dist/typescript/module/lib/types/messaging.d.ts +0 -673
- package/dist/typescript/module/lib/types/messaging.d.ts.map +0 -1
- package/dist/typescript/module/lib/version.d.ts +0 -2
- package/dist/typescript/module/lib/version.d.ts.map +0 -1
- /package/dist/typescript/{commonjs/lib → lib}/index.d.ts +0 -0
- /package/dist/typescript/{commonjs/lib → lib}/modular.d.ts +0 -0
- /package/dist/typescript/{commonjs/lib → lib}/remoteMessageOptions.d.ts +0 -0
- /package/dist/typescript/{commonjs/lib → lib}/statics.d.ts +0 -0
- /package/dist/typescript/{commonjs/lib → lib}/types/messaging.d.ts +0 -0
- /package/dist/typescript/{module/package.json → package.json} +0 -0
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.MessagePriority = exports.FirebaseMessagingTypes = void 0;
|
|
7
|
-
/*
|
|
8
|
-
* Copyright (c) 2016-present Invertase Limited & Contributors
|
|
9
|
-
*
|
|
10
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
11
|
-
* you may not use this library except in compliance with the License.
|
|
12
|
-
* You may obtain a copy of the License at
|
|
13
|
-
*
|
|
14
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
15
|
-
*
|
|
16
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
-
* See the License for the specific language governing permissions and
|
|
20
|
-
* limitations under the License.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
// ============ Types ============
|
|
24
|
-
/**
|
|
25
|
-
* The `RemoteMessage` interface describes an outgoing & incoming message from the remote FCM server.
|
|
26
|
-
*/
|
|
27
|
-
/**
|
|
28
|
-
* Represents the priority of a RemoteMessage
|
|
29
|
-
*
|
|
30
|
-
* Note: this is an android-specific property of RemoteMessages
|
|
31
|
-
*/
|
|
32
|
-
let MessagePriority = exports.MessagePriority = /*#__PURE__*/function (MessagePriority) {
|
|
33
|
-
/**
|
|
34
|
-
* Unknown priority, this will be returned as the default on non-android platforms
|
|
35
|
-
*/
|
|
36
|
-
MessagePriority[MessagePriority["PRIORITY_UNKNOWN"] = 0] = "PRIORITY_UNKNOWN";
|
|
37
|
-
/**
|
|
38
|
-
* High priority - Activities may start foreground services if they receive high priority messages
|
|
39
|
-
*/
|
|
40
|
-
MessagePriority[MessagePriority["PRIORITY_HIGH"] = 1] = "PRIORITY_HIGH";
|
|
41
|
-
/**
|
|
42
|
-
* Normal priority - Activities have restrictions and may only perform unobtrusive actions on receipt
|
|
43
|
-
*/
|
|
44
|
-
MessagePriority[MessagePriority["PRIORITY_NORMAL"] = 2] = "PRIORITY_NORMAL";
|
|
45
|
-
return MessagePriority;
|
|
46
|
-
}({});
|
|
47
|
-
/**
|
|
48
|
-
* Options for features provided by the FCM SDK for Web.
|
|
49
|
-
*/
|
|
50
|
-
/**
|
|
51
|
-
* Options for `getToken()` and `deleteToken()`
|
|
52
|
-
*/
|
|
53
|
-
/**
|
|
54
|
-
* Options for `getToken()`
|
|
55
|
-
*/
|
|
56
|
-
/**
|
|
57
|
-
* NotificationPayload is an alias for Notification. This is to keep it the same as
|
|
58
|
-
* Firebase Web JS SDK v9 and to make it backwards compatible.
|
|
59
|
-
*/
|
|
60
|
-
/**
|
|
61
|
-
* Represents a critical sound configuration that can be included in the
|
|
62
|
-
* `aps` dictionary of an APNs payload.
|
|
63
|
-
*/
|
|
64
|
-
/**
|
|
65
|
-
* The type representing a notification priority.
|
|
66
|
-
*
|
|
67
|
-
* Note; on devices which have channel support (Android 8.0 (API level 26) +),
|
|
68
|
-
* this value will be ignored. Instead, the channel "importance" level is used.
|
|
69
|
-
*/
|
|
70
|
-
// PRIORITY_MAX - The priority highest level a notification can be set at.
|
|
71
|
-
/**
|
|
72
|
-
* The type representing the visibility of a notification.
|
|
73
|
-
*/
|
|
74
|
-
// VISIBILITY_PUBLIC - Show this notification in its entirety on all lock-screens.
|
|
75
|
-
/**
|
|
76
|
-
* An interface representing all the available permissions that can be requested by your app via
|
|
77
|
-
* the `requestPermission` API.
|
|
78
|
-
*/
|
|
79
|
-
/**
|
|
80
|
-
* A type representing the notification authorization status for this app on the device.
|
|
81
|
-
*
|
|
82
|
-
* Value is truthy if authorized, compare against an exact status (e.g. iOS PROVISIONAL) for a more
|
|
83
|
-
* granular status.
|
|
84
|
-
*/
|
|
85
|
-
// EPHEMERAL - The app is authorized to create notifications for a limited amount of time. Used in App Clips. @platform ios iOS >= 14
|
|
86
|
-
/**
|
|
87
|
-
* An event that is received when a message fails to send.
|
|
88
|
-
*/
|
|
89
|
-
// ============ Module Interface ============
|
|
90
|
-
/**
|
|
91
|
-
* The Firebase Messaging service interface.
|
|
92
|
-
*
|
|
93
|
-
* > This module is available for the default app only.
|
|
94
|
-
*/
|
|
95
|
-
// ============ Statics Interface ============
|
|
96
|
-
/**
|
|
97
|
-
* Static properties available on firebase.messaging
|
|
98
|
-
*/
|
|
99
|
-
// ============ Module Augmentation ============
|
|
100
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
101
|
-
// ============ Backwards Compatibility Namespace ============
|
|
102
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
103
|
-
let FirebaseMessagingTypes = exports.FirebaseMessagingTypes = void 0;
|
|
104
|
-
/* eslint-enable @typescript-eslint/no-namespace */
|
|
105
|
-
//# sourceMappingURL=messaging.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["MessagePriority","exports","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;AAJA,IAKYA,eAAe,GAAAC,OAAA,CAAAD,eAAA,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,IAiBiBE,sBAAsB,GAAAD,OAAA,CAAAC,sBAAA;AAiBvC","ignoreList":[]}
|
package/dist/commonjs/version.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["version","exports"],"sourceRoot":"../../lib","sources":["version.ts"],"mappings":";;;;;;AAAA;AACO,MAAMA,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,QAAQ","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modular.d.ts","sourceRoot":"","sources":["../../../../lib/modular.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EACV,SAAS,EACT,aAAa,EACb,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,cAAc,EACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,GAAG,CAAC,EAAE,mBAAmB,CAAC,WAAW,GAAG,SAAS,CAM7E;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CACzB,SAAS,EAAE,SAAS,EACpB,YAAY,CAAC,EAAE,kBAAkB,GAChC,OAAO,CAAC,IAAI,CAAC,CAGf;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CACtB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C;AA0etE,eAAO,MAAM,WAAW,WAAU,CAAC;AAyBnC,KAAK,kBAAkB,GAAG,mBAAmB,CAAC,+BAA+B,CAC3E,SAAS,EACT,OAAO,CACR,GAAG;IACF,SAAS,EAAE,mBAAmB,CAAC,+BAA+B,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACnF,QAAQ,EAAE,mBAAmB,CAAC,MAAM,CAAC;IACrC,GAAG,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAAC,WAAW,CAAC;CACrD,CAAC;wBAE8C,kBAAkB;AAAlE,wBAAmE;AAKnE,eAAO,MAAM,QAAQ,EACa,mBAAmB,CAAC,wBAAwB,CAC1E,WAAW,EACX,SAAS,EACT,OAAO,EACP,KAAK,CACN,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remoteMessageOptions.d.ts","sourceRoot":"","sources":["../../../../lib/remoteMessageOptions.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAC1C,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,aAAa,GAC3B,oBAAoB,CAqEtB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"statics.d.ts","sourceRoot":"","sources":["../../../../lib/statics.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB;;;;;;CAMtB,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;CAM9B,C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C;CAC9C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../../lib/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO,WAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"commonjs"}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
import type { Messaging, RemoteMessage, NativeTokenOptions, GetTokenOptions, IOSPermissions, AuthorizationStatus, SendErrorEvent } from './types/messaging';
|
|
2
|
-
import type { ReactNativeFirebase } from '@react-native-firebase/app';
|
|
3
|
-
/**
|
|
4
|
-
* Returns a Messaging instance for the given app.
|
|
5
|
-
* @param app - FirebaseApp. Optional.
|
|
6
|
-
* @returns Messaging instance
|
|
7
|
-
*/
|
|
8
|
-
export declare function getMessaging(app?: ReactNativeFirebase.FirebaseApp): Messaging;
|
|
9
|
-
/**
|
|
10
|
-
* Removes access to an FCM token previously authorized by its scope.
|
|
11
|
-
* Messages sent by the server to this token will fail.
|
|
12
|
-
* @param messaging - Messaging instance.
|
|
13
|
-
* @param tokenOptions - Options to override senderId (iOS) and projectId (Android).
|
|
14
|
-
* @returns Promise that resolves when the token is deleted.
|
|
15
|
-
*/
|
|
16
|
-
export declare function deleteToken(messaging: Messaging, tokenOptions?: NativeTokenOptions): Promise<void>;
|
|
17
|
-
/**
|
|
18
|
-
* Returns an FCM token for this device. Optionally, you can specify custom options for your own use case.
|
|
19
|
-
* @param messaging - Messaging instance.
|
|
20
|
-
* @param options - Options to override senderId (iOS) and appName.
|
|
21
|
-
* @returns Promise that resolves with the FCM token.
|
|
22
|
-
*/
|
|
23
|
-
export declare function getToken(messaging: Messaging, options?: GetTokenOptions & NativeTokenOptions): Promise<string>;
|
|
24
|
-
/**
|
|
25
|
-
* When any FCM payload is received, the listener callback is called with a `RemoteMessage`.
|
|
26
|
-
* > This subscriber method is only called when the app is active (in the foreground).
|
|
27
|
-
* @param messaging - Messaging instance.
|
|
28
|
-
* @param listener - Called with a `RemoteMessage` when a new FCM payload is received from the server.
|
|
29
|
-
* @returns Function to unsubscribe from the message listener.
|
|
30
|
-
*/
|
|
31
|
-
export declare function onMessage(messaging: Messaging, listener: (message: RemoteMessage) => any): () => void;
|
|
32
|
-
/**
|
|
33
|
-
* When the user presses a notification displayed via FCM, this listener will be called if the app
|
|
34
|
-
* has opened from a background state.
|
|
35
|
-
* @param messaging - Messaging instance.
|
|
36
|
-
* @param listener - Called with a `RemoteMessage` when a notification press opens the application.
|
|
37
|
-
* @returns Function to unsubscribe from the notification opened listener.
|
|
38
|
-
*/
|
|
39
|
-
export declare function onNotificationOpenedApp(messaging: Messaging, listener: (message: RemoteMessage) => any): () => void;
|
|
40
|
-
/**
|
|
41
|
-
* Called when a new registration token is generated for the device. For example, this event can happen when a
|
|
42
|
-
* token expires or when the server invalidates the token.
|
|
43
|
-
* > This subscriber method is only called when the app is active (in the foreground).
|
|
44
|
-
* @param messaging - Messaging instance.
|
|
45
|
-
* @param listener - Called with a FCM token when the token is refreshed.
|
|
46
|
-
* @returns Function to unsubscribe from the token refresh listener.
|
|
47
|
-
*/
|
|
48
|
-
export declare function onTokenRefresh(messaging: Messaging, listener: (token: string) => any): () => void;
|
|
49
|
-
/**
|
|
50
|
-
* On iOS, messaging permission must be requested by the current application before messages can
|
|
51
|
-
* be received or sent.
|
|
52
|
-
* @param messaging - Messaging instance.
|
|
53
|
-
* @param iosPermissions - All the available permissions for iOS that can be requested.
|
|
54
|
-
* @returns Promise that resolves with the authorization status.
|
|
55
|
-
*/
|
|
56
|
-
export declare function requestPermission(messaging: Messaging, iosPermissions?: IOSPermissions): Promise<AuthorizationStatus>;
|
|
57
|
-
/**
|
|
58
|
-
* Returns whether messaging auto initialization is enabled or disabled for the device.
|
|
59
|
-
* @param messaging - Messaging instance.
|
|
60
|
-
* @returns Boolean indicating whether auto initialization is enabled.
|
|
61
|
-
*/
|
|
62
|
-
export declare function isAutoInitEnabled(messaging: Messaging): boolean;
|
|
63
|
-
/**
|
|
64
|
-
* Sets whether messaging auto initialization is enabled or disabled for the device.
|
|
65
|
-
* @param messaging - Messaging instance.
|
|
66
|
-
* @param enabled - A boolean value to enable or disable auto initialization.
|
|
67
|
-
* @returns Promise that resolves when the setting is updated.
|
|
68
|
-
*/
|
|
69
|
-
export declare function setAutoInitEnabled(messaging: Messaging, enabled: boolean): Promise<void>;
|
|
70
|
-
/**
|
|
71
|
-
* When a notification from FCM has triggered the application to open from a quit state,
|
|
72
|
-
* this method will return a `RemoteMessage` containing the notification data, or `null` if
|
|
73
|
-
* the app was opened via another method.
|
|
74
|
-
* @param messaging - Messaging instance.
|
|
75
|
-
* @returns Promise that resolves with the initial notification or null.
|
|
76
|
-
*/
|
|
77
|
-
export declare function getInitialNotification(messaging: Messaging): Promise<RemoteMessage | null>;
|
|
78
|
-
/**
|
|
79
|
-
* When the app is opened from iOS notifications settings from a quit state,
|
|
80
|
-
* this method will return `true` or `false` if the app was opened via another method.
|
|
81
|
-
* @param messaging - Messaging instance.
|
|
82
|
-
* @returns Promise that resolves with a boolean indicating if the app was opened from settings.
|
|
83
|
-
*/
|
|
84
|
-
export declare function getDidOpenSettingsForNotification(messaging: Messaging): Promise<boolean>;
|
|
85
|
-
/**
|
|
86
|
-
* Returns whether the root view is headless or not
|
|
87
|
-
* i.e true if the app was launched in the background (for example, by data-only cloud message)
|
|
88
|
-
* @param messaging - Messaging instance.
|
|
89
|
-
* @returns Promise that resolves with a boolean indicating if the app is headless.
|
|
90
|
-
*/
|
|
91
|
-
export declare function getIsHeadless(messaging: Messaging): Promise<boolean>;
|
|
92
|
-
/**
|
|
93
|
-
* On iOS, if your app wants to receive remote messages from FCM (via APNs), you must explicitly register
|
|
94
|
-
* with APNs if auto-registration has been disabled.
|
|
95
|
-
* @param messaging - Messaging instance.
|
|
96
|
-
* @returns Promise that resolves when the device is registered.
|
|
97
|
-
*/
|
|
98
|
-
export declare function registerDeviceForRemoteMessages(messaging: Messaging): Promise<void>;
|
|
99
|
-
/**
|
|
100
|
-
* Returns a boolean value whether the user has registered for remote notifications via
|
|
101
|
-
* `registerDeviceForRemoteMessages()`. For iOS. Android always returns `true`.
|
|
102
|
-
* @param messaging - Messaging instance.
|
|
103
|
-
* @returns Boolean indicating if the device is registered for remote messages.
|
|
104
|
-
*/
|
|
105
|
-
export declare function isDeviceRegisteredForRemoteMessages(messaging: Messaging): boolean;
|
|
106
|
-
/**
|
|
107
|
-
* Unregisters the app from receiving remote notifications.
|
|
108
|
-
* @param messaging - Messaging instance.
|
|
109
|
-
* @returns Promise that resolves when the device is unregistered.
|
|
110
|
-
*/
|
|
111
|
-
export declare function unregisterDeviceForRemoteMessages(messaging: Messaging): Promise<void>;
|
|
112
|
-
/**
|
|
113
|
-
* On iOS, it is possible to get the users APNs token. This may be required if you want to send messages to your
|
|
114
|
-
* iOS devices without using the FCM service.
|
|
115
|
-
* @param messaging - Messaging instance.
|
|
116
|
-
* @returns Promise that resolves with the APNs token or null.
|
|
117
|
-
*/
|
|
118
|
-
export declare function getAPNSToken(messaging: Messaging): Promise<string | null>;
|
|
119
|
-
/**
|
|
120
|
-
* On iOS, This method is used to set the APNs Token received by the application delegate.
|
|
121
|
-
* Note that the token is expected to be a hexadecimal string, as it is an NSData type in
|
|
122
|
-
* the underlying native firebase SDK, and raw data may only be passed as a string if it is
|
|
123
|
-
* hex encoded. Calling code is responsible for correct encoding, you should verify by comparing
|
|
124
|
-
* the results of `getAPNSToken()` with your token parameter to make sure they are equivalent.
|
|
125
|
-
*
|
|
126
|
-
* Messaging uses method swizzling to ensure that the APNs token is set automatically.
|
|
127
|
-
* However, if you have disabled swizzling by setting FirebaseAppDelegateProxyEnabled to NO
|
|
128
|
-
* in your app's Info.plist, you should manually set the APNs token in your application
|
|
129
|
-
* delegate's application(_:didRegisterForRemoteNotificationsWithDeviceToken:) method.
|
|
130
|
-
*
|
|
131
|
-
* If you would like to set the type of the APNs token, rather than relying on automatic
|
|
132
|
-
* detection, provide a type of either 'prod', 'sandbox'. Omitting the type parameter
|
|
133
|
-
* or specifying 'unknown' will rely on automatic type detection based on provisioning profile.
|
|
134
|
-
*
|
|
135
|
-
* At a native level you may also call objective-c `[FIRMessaging setAPNSToken];` as needed.
|
|
136
|
-
*
|
|
137
|
-
* @param messaging - Messaging instance.
|
|
138
|
-
* @param token - A hexadecimal string representing your APNs token.
|
|
139
|
-
* @param type - Optional. A string specifying 'prod', 'sandbox' or 'unknown' token type.
|
|
140
|
-
* @returns Promise that resolves when the APNs token is set.
|
|
141
|
-
*/
|
|
142
|
-
export declare function setAPNSToken(messaging: Messaging, token: string, type?: string): Promise<void>;
|
|
143
|
-
/**
|
|
144
|
-
* Returns a `AuthorizationStatus` as to whether the user has messaging permission for this app.
|
|
145
|
-
* @param messaging - Messaging instance.
|
|
146
|
-
* @returns Promise that resolves with the authorization status.
|
|
147
|
-
*/
|
|
148
|
-
export declare function hasPermission(messaging: Messaging): Promise<AuthorizationStatus>;
|
|
149
|
-
/**
|
|
150
|
-
* Called when the FCM server deletes pending messages.
|
|
151
|
-
* @param messaging - Messaging instance.
|
|
152
|
-
* @param listener - Called when the FCM deletes pending messages.
|
|
153
|
-
* @returns Function to unsubscribe from the deleted messages listener.
|
|
154
|
-
*/
|
|
155
|
-
export declare function onDeletedMessages(messaging: Messaging, listener: () => void): () => void;
|
|
156
|
-
/**
|
|
157
|
-
* When sending a `RemoteMessage`, this listener is called when the message has been sent to FCM.
|
|
158
|
-
* @param messaging - Messaging instance.
|
|
159
|
-
* @param listener - Called when the FCM sends the remote message to FCM.
|
|
160
|
-
* @returns Function to unsubscribe from the message sent listener.
|
|
161
|
-
*/
|
|
162
|
-
export declare function onMessageSent(messaging: Messaging, listener: (messageId: string) => any): () => void;
|
|
163
|
-
/**
|
|
164
|
-
* When sending a `RemoteMessage`, this listener is called when an error is thrown and the
|
|
165
|
-
* message could not be sent.
|
|
166
|
-
* @param messaging - Messaging instance.
|
|
167
|
-
* @param listener - Called when the FCM sends the remote message to FCM.
|
|
168
|
-
* @returns Function to unsubscribe from the send error listener.
|
|
169
|
-
*/
|
|
170
|
-
export declare function onSendError(messaging: Messaging, listener: (evt: SendErrorEvent) => any): () => void;
|
|
171
|
-
/**
|
|
172
|
-
* Set a message handler function which is called when the app is in the background
|
|
173
|
-
* or terminated. In Android, a headless task is created, allowing you to access the React Native environment
|
|
174
|
-
* to perform tasks such as updating local storage, or sending a network request.
|
|
175
|
-
* @param messaging - Messaging instance.
|
|
176
|
-
* @param handler - Called when a message is sent and the application is in a background or terminated state.
|
|
177
|
-
* @returns void
|
|
178
|
-
*/
|
|
179
|
-
export declare function setBackgroundMessageHandler(messaging: Messaging, handler: (message: RemoteMessage) => Promise<any>): void;
|
|
180
|
-
/**
|
|
181
|
-
* Set a handler function which is called when the `${App Name} notifications settings`
|
|
182
|
-
* link in iOS settings is clicked.
|
|
183
|
-
* @param messaging - Messaging instance.
|
|
184
|
-
* @param handler - Called when link in iOS settings is clicked.
|
|
185
|
-
* @returns void
|
|
186
|
-
*/
|
|
187
|
-
export declare function setOpenSettingsForNotificationsHandler(messaging: Messaging, handler: (message: RemoteMessage) => any): void;
|
|
188
|
-
/**
|
|
189
|
-
* Send a new `RemoteMessage` to the FCM server.
|
|
190
|
-
* @param messaging - Messaging instance.
|
|
191
|
-
* @param message - A `RemoteMessage` interface.
|
|
192
|
-
* @returns Promise that resolves when the message is sent.
|
|
193
|
-
*/
|
|
194
|
-
export declare function sendMessage(messaging: Messaging, message: RemoteMessage): Promise<void>;
|
|
195
|
-
/**
|
|
196
|
-
* Apps can subscribe to a topic, which allows the FCM server to send targeted messages to only those
|
|
197
|
-
* devices subscribed to that topic.
|
|
198
|
-
* @param messaging - Messaging instance.
|
|
199
|
-
* @param topic - The topic name.
|
|
200
|
-
* @returns Promise that resolves when the subscription is complete.
|
|
201
|
-
*/
|
|
202
|
-
export declare function subscribeToTopic(messaging: Messaging, topic: string): Promise<void>;
|
|
203
|
-
/**
|
|
204
|
-
* Unsubscribe the device from a topic.
|
|
205
|
-
* @param messaging - Messaging instance.
|
|
206
|
-
* @param topic - The topic name.
|
|
207
|
-
* @returns Promise that resolves when the unsubscription is complete.
|
|
208
|
-
*/
|
|
209
|
-
export declare function unsubscribeFromTopic(messaging: Messaging, topic: string): Promise<void>;
|
|
210
|
-
/**
|
|
211
|
-
* Returns a boolean whether message delivery metrics are exported to BigQuery.
|
|
212
|
-
* @param messaging - Messaging instance.
|
|
213
|
-
* @returns Boolean indicating if message delivery metrics are exported to BigQuery.
|
|
214
|
-
*/
|
|
215
|
-
export declare function isDeliveryMetricsExportToBigQueryEnabled(messaging: Messaging): boolean;
|
|
216
|
-
/**
|
|
217
|
-
* Returns a boolean whether message delegation is enabled. Android only,
|
|
218
|
-
* always returns false on iOS
|
|
219
|
-
* @param messaging - Messaging instance.
|
|
220
|
-
* @returns Boolean indicating if notification delegation is enabled.
|
|
221
|
-
*/
|
|
222
|
-
export declare function isNotificationDelegationEnabled(messaging: Messaging): boolean;
|
|
223
|
-
/**
|
|
224
|
-
* Sets whether message notification delegation is enabled or disabled.
|
|
225
|
-
* The value is false by default. Set this to true to allow delegation of notification to Google Play Services.
|
|
226
|
-
* Note if true message handlers will not function on Android, and it has no effect on iOS
|
|
227
|
-
* @param messaging - Messaging instance.
|
|
228
|
-
* @param enabled - A boolean value to enable or disable delegation of messages to Google Play Services.
|
|
229
|
-
* @returns Promise that resolves when the setting is updated.
|
|
230
|
-
*/
|
|
231
|
-
export declare function setNotificationDelegationEnabled(messaging: Messaging, enabled: boolean): Promise<void>;
|
|
232
|
-
/**
|
|
233
|
-
* Checks if all required APIs exist in the browser.
|
|
234
|
-
* @param messaging - Messaging instance.
|
|
235
|
-
* @returns Promise that resolves with a boolean indicating if the APIs are supported.
|
|
236
|
-
*/
|
|
237
|
-
export declare function isSupported(messaging: Messaging): Promise<boolean>;
|
|
238
|
-
/**
|
|
239
|
-
* Sets whether message delivery metrics are exported to BigQuery is enabled or disabled.
|
|
240
|
-
* The value is false by default. Set this to true to allow exporting of message delivery metrics to BigQuery.
|
|
241
|
-
* @param messaging - Messaging instance.
|
|
242
|
-
* @param enabled - A boolean value to enable or disable exporting of message delivery metrics to BigQuery.
|
|
243
|
-
* @returns Promise that resolves when the setting is updated.
|
|
244
|
-
*/
|
|
245
|
-
export declare function experimentalSetDeliveryMetricsExportedToBigQueryEnabled(messaging: Messaging, enabled: boolean): Promise<void>;
|
|
246
|
-
export { AuthorizationStatus, NotificationAndroidPriority, NotificationAndroidVisibility, } from './statics';
|
|
247
|
-
//# sourceMappingURL=modular.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"modular.d.ts","sourceRoot":"","sources":["../../../../lib/modular.ts"],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G,OAAO,CAAC,OAAO,CAAC,CAGlE;AAED;;;;;;GAMG;AACH,wBAAgB,uDAAuD,CACrE,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,GACf,OAAO,CAAC,IAAI,CAAC,CAOf;AAED,OAAO,EACL,mBAAmB,EACnB,2BAA2B,EAC3B,6BAA6B,GAC9B,MAAM,WAAW,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Messaging, Statics } from './types/messaging';
|
|
2
|
-
import type { ReactNativeFirebase } from '@react-native-firebase/app';
|
|
3
|
-
export declare const SDK_VERSION = "23.8.3";
|
|
4
|
-
type MessagingNamespace = ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<Messaging, Statics> & {
|
|
5
|
-
messaging: ReactNativeFirebase.FirebaseModuleWithStaticsAndApp<Messaging, Statics>;
|
|
6
|
-
firebase: ReactNativeFirebase.Module;
|
|
7
|
-
app(name?: string): ReactNativeFirebase.FirebaseApp;
|
|
8
|
-
};
|
|
9
|
-
declare const _default: MessagingNamespace;
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const firebase: ReactNativeFirebase.FirebaseNamespacedExport<"messaging", Messaging, Statics, false>;
|
|
12
|
-
//# sourceMappingURL=namespaced.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"namespaced.d.ts","sourceRoot":"","sources":["../../../../lib/namespaced.ts"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EACV,SAAS,EACT,OAAO,EAIR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AA0etE,eAAO,MAAM,WAAW,WAAU,CAAC;AAyBnC,KAAK,kBAAkB,GAAG,mBAAmB,CAAC,+BAA+B,CAC3E,SAAS,EACT,OAAO,CACR,GAAG;IACF,SAAS,EAAE,mBAAmB,CAAC,+BAA+B,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACnF,QAAQ,EAAE,mBAAmB,CAAC,MAAM,CAAC;IACrC,GAAG,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,mBAAmB,CAAC,WAAW,CAAC;CACrD,CAAC;wBAE8C,kBAAkB;AAAlE,wBAAmE;AAKnE,eAAO,MAAM,QAAQ,EACa,mBAAmB,CAAC,wBAAwB,CAC1E,WAAW,EACX,SAAS,EACT,OAAO,EACP,KAAK,CACN,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { RemoteMessage } from './types/messaging';
|
|
2
|
-
interface RemoteMessageOptions {
|
|
3
|
-
to: string;
|
|
4
|
-
messageId: string;
|
|
5
|
-
ttl: number;
|
|
6
|
-
data: {
|
|
7
|
-
[key: string]: string;
|
|
8
|
-
};
|
|
9
|
-
collapseKey?: string;
|
|
10
|
-
messageType?: string;
|
|
11
|
-
}
|
|
12
|
-
export default function remoteMessageOptions(messagingSenderId: string, remoteMessage: RemoteMessage): RemoteMessageOptions;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=remoteMessageOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remoteMessageOptions.d.ts","sourceRoot":"","sources":["../../../../lib/remoteMessageOptions.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAC1C,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,aAAa,GAC3B,oBAAoB,CAqEtB"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const AuthorizationStatus: {
|
|
2
|
-
readonly NOT_DETERMINED: -1;
|
|
3
|
-
readonly DENIED: 0;
|
|
4
|
-
readonly AUTHORIZED: 1;
|
|
5
|
-
readonly PROVISIONAL: 2;
|
|
6
|
-
readonly EPHEMERAL: 3;
|
|
7
|
-
};
|
|
8
|
-
export declare const NotificationAndroidPriority: {
|
|
9
|
-
readonly PRIORITY_MIN: -2;
|
|
10
|
-
readonly PRIORITY_LOW: -1;
|
|
11
|
-
readonly PRIORITY_DEFAULT: 0;
|
|
12
|
-
readonly PRIORITY_HIGH: 1;
|
|
13
|
-
readonly PRIORITY_MAX: 2;
|
|
14
|
-
};
|
|
15
|
-
export declare const NotificationAndroidVisibility: {
|
|
16
|
-
readonly VISIBILITY_SECRET: -1;
|
|
17
|
-
readonly VISIBILITY_PRIVATE: 0;
|
|
18
|
-
readonly VISIBILITY_PUBLIC: 1;
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=statics.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"statics.d.ts","sourceRoot":"","sources":["../../../../lib/statics.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB;;;;;;CAMtB,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;CAM9B,CAAC;AAEX,eAAO,MAAM,6BAA6B;;;;CAIhC,CAAC"}
|