 4d078fdb03
			
		
	
	
	
	
	4d078fdb03* remove 'basically' from docs * remove 'simply' from docs * remove most uses of 'just' from docs
		
			
				
	
	
	
	
		
			1 KiB
			
		
	
	
	
	
	
	
	
			
		
		
	
	
			1 KiB
			
		
	
	
	
	
	
	
	
NotificationAction Object
- typeString - The type of action, can be- button.
- textString (optional) - The label for the given action.
Platform / Action Support
| Action Type | Platform Support | Usage of text | Default text | Limitations | 
|---|---|---|---|---|
| button | macOS | Used as the label for the button | "Show" (or a localized string by system default if first of such button, otherwise empty) | Only the first one is used. If multiple are provided, those beyond the first will be listed as additional actions (displayed when mouse active over the action button). Any such action also is incompatible with hasReplyand will be ignored ifhasReplyistrue. | 
Button support on macOS
In order for extra notification buttons to work on macOS your app must meet the following criteria.
- App is signed
- App has it's NSUserNotificationAlertStyleset toalertin theInfo.plist.
If either of these requirements are not met the button won't appear.