Skip to content

Commit

Permalink
feat(local-notifications): Added local additional local notification …
Browse files Browse the repository at this point in the history
…action fields (#2713)
  • Loading branch information
iAmMrHands authored and danielsogl committed Sep 15, 2018
1 parent 7047920 commit 267149b
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion src/@ionic-native/plugins/local-notifications/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -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.
*/
Expand Down

0 comments on commit 267149b

Please sign in to comment.