react-native-notify-kit / IOSNotificationCategoryAction
Interface: IOSNotificationCategoryAction
Defined in: packages/react-native/src/types/NotificationIOS.ts:546
The interface used to describe a notification quick action for iOS.
Quick actions allow users to interact with notifications, allowing you to handle events within your application. When an action completes (e.g. pressing an action, or filling out an input box) an event is sent.
View the Quick Actions documentation to learn more.
authenticationRequired?
optionalauthenticationRequired:boolean
Defined in: packages/react-native/src/types/NotificationIOS.ts:580
Whether this action should require unlocking before being performed.
destructive?
optionaldestructive:boolean
Defined in: packages/react-native/src/types/NotificationIOS.ts:570
Makes the action red, indicating that the action is destructive.
foreground?
optionalforeground:boolean
Defined in: packages/react-native/src/types/NotificationIOS.ts:575
Whether this action should cause the application to launch in the foreground.
id
id:
string
Defined in: packages/react-native/src/types/NotificationIOS.ts:547
input?
optionalinput:true|IOSInput
Defined in: packages/react-native/src/types/NotificationIOS.ts:565
If provided, the action accepts custom user input.
If true, the user will be able to provide free text input when the action is pressed.
The placeholder and button text can be customized by providing an object
of type IOSInput.
View the Action Input documentation to learn more.
title
title:
string
Defined in: packages/react-native/src/types/NotificationIOS.ts:552
The title of the action, e.g. "Reply", "Mark as read" etc.
