add app
This commit is contained in:
@@ -162,6 +162,13 @@ async function composeNotification(data: pushNotificationData): Promise<[string,
|
|||||||
],
|
],
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
case 'app':
|
||||||
|
return [body.header || body.body , {
|
||||||
|
body: body.header ? body.body : undefined,
|
||||||
|
icon: body.icon,
|
||||||
|
data
|
||||||
|
}];
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user