mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-22 18:02:55 +08:00
feat(firebase-x): add MessagePayloadAps prop (#4344)
* feat(types): add aps for MessagePayload * fix(types): fix firebase-x on ios
This commit is contained in:
parent
b6a44e3a8a
commit
dc1ee8c530
@ -112,18 +112,25 @@ export interface FirebaseUser {
|
||||
*/
|
||||
name?: string;
|
||||
}
|
||||
export interface MessagePayloadAps {
|
||||
alert?: {
|
||||
title: string;
|
||||
body: string;
|
||||
}
|
||||
}
|
||||
export interface MessagePayload {
|
||||
title: string;
|
||||
body: string;
|
||||
collapse_key: string;
|
||||
from: string;
|
||||
id: string;
|
||||
messageType: string;
|
||||
notification_foreground: string;
|
||||
sent_time: string;
|
||||
show_notification: string;
|
||||
ttl: string;
|
||||
title?: string;
|
||||
body?: string;
|
||||
collapse_key?: string;
|
||||
from?: string;
|
||||
id?: string;
|
||||
messageType?: string;
|
||||
notification_foreground?: string;
|
||||
sent_time?: string;
|
||||
show_notification?: string;
|
||||
ttl?: string;
|
||||
tap?: 'background' | 'foreground';
|
||||
aps?: MessagePayloadAps;
|
||||
}
|
||||
/**
|
||||
* @name Firebase X
|
||||
|
Loading…
Reference in New Issue
Block a user