Skip to content

Commit a98a3cc

Browse files
authored
fix(fcm): Support arbitrary custom values in the ApnsPayload (#1097)
1 parent 0d72380 commit a98a3cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

etc/firebase-admin.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ export namespace messaging {
625625
}
626626
export interface ApnsPayload {
627627
// (undocumented)
628-
[customData: string]: object;
628+
[customData: string]: any;
629629
aps: Aps;
630630
}
631631
export interface Aps {

src/messaging/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ export namespace messaging {
299299
* The `aps` dictionary to be included in the message.
300300
*/
301301
aps: Aps;
302-
[customData: string]: object;
302+
[customData: string]: any;
303303
}
304304

305305
/**

0 commit comments

Comments
 (0)