diff --git a/src/@ionic-native/plugins/local-notifications/index.ts b/src/@ionic-native/plugins/local-notifications/index.ts index 75bef40f..0231ff5b 100755 --- a/src/@ionic-native/plugins/local-notifications/index.ts +++ b/src/@ionic-native/plugins/local-notifications/index.ts @@ -122,10 +122,15 @@ export interface ILocalNotificationAction { title?: string; /** - * Specifies whether the action causes the app to launch in the foreground + * Make this notification show when app in foreground. */ foreground?: boolean; + /** + * Specifies whether the action causes the app to launch in the foreground + */ + launch?: boolean; + /** * If the value is 'decline' the action is displayed with special highlighting to indicate that it performs a destructive task */ @@ -143,6 +148,24 @@ export interface ILocalNotificationAction { */ icon?: string; + /** + * ANDROID ONLY + * An array of pre-defined choices for users input + */ + choices?: string[]; + + /** + * ANDROID ONLY + * Specifies whether the user can provide arbitrary text values + */ + editable?: boolean; + + /** + * IOS ONLY + * The title of the text input button that is displayed to the user. + */ + submitTitle?: string; + /** * The type of the action. If omitted 'button' is used. */