@notifee/react-native / IOSNotificationCategoryAction
Interface: IOSNotificationCategoryAction
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?
optional
authenticationRequired:boolean
Whether this action should require unlocking before being performed.
destructive?
optional
destructive:boolean
Makes the action red, indicating that the action is destructive.
foreground?
optional
foreground:boolean
Whether this action should cause the application to launch in the foreground.
input?
optional
input:true
|IOSInput
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.