From ae6e28de88487ae9f101e0e8bf05d0db8a81611b Mon Sep 17 00:00:00 2001 From: mino922 Date: Sat, 19 May 2018 06:15:22 -0400 Subject: [PATCH] feat(local-notifications): added support for foreground option in version 0.9.0-beta.3 of cordova-plugin-local-notifications (#2506) --- src/@ionic-native/plugins/local-notifications/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/local-notifications/index.ts b/src/@ionic-native/plugins/local-notifications/index.ts index 8ee9b025..3975db2d 100755 --- a/src/@ionic-native/plugins/local-notifications/index.ts +++ b/src/@ionic-native/plugins/local-notifications/index.ts @@ -125,7 +125,7 @@ export interface ILocalNotificationAction { /** * Specifies whether the action causes the app to launch in the foreground */ - launch?: boolean; + foreground?: boolean; /** * If the value is 'decline' the action is displayed with special highlighting to indicate that it performs a destructive task @@ -397,6 +397,7 @@ export interface ILocalNotification { * Set the token for the media session */ mediaSession?: string; + } /**