Skip to content

Commit

Permalink
fix(fcm): Support arbitrary custom values in the ApnsPayload (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiranya911 committed Nov 24, 2020
1 parent 0d72380 commit a98a3cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etc/firebase-admin.api.md
Expand Up @@ -625,7 +625,7 @@ export namespace messaging {
}
export interface ApnsPayload {
// (undocumented)
[customData: string]: object;
[customData: string]: any;
aps: Aps;
}
export interface Aps {
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/index.ts
Expand Up @@ -299,7 +299,7 @@ export namespace messaging {
* The `aps` dictionary to be included in the message.
*/
aps: Aps;
[customData: string]: object;
[customData: string]: any;
}

/**
Expand Down

0 comments on commit a98a3cc

Please sign in to comment.