From 6c88d04f876c6cde4957ad9447a39ef4a94f678f Mon Sep 17 00:00:00 2001 From: Ryan Lepinski Date: Fri, 19 Apr 2024 09:51:27 -0700 Subject: [PATCH] Update type --- cordova-airship/types/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cordova-airship/types/index.d.ts b/cordova-airship/types/index.d.ts index 74a39ae1..06f47a9e 100644 --- a/cordova-airship/types/index.d.ts +++ b/cordova-airship/types/index.d.ts @@ -31,6 +31,11 @@ export interface PushTokenReceivedEvent { */ export interface PushReceivedEvent { pushPayload: PushPayload; + + /** + * Indicates whether the push was received when the application was in the background or foreground. + */ + isForeground: boolean; } /**