Skip to content

Commit

Permalink
fix(ios): add missing critical to typings
Browse files Browse the repository at this point in the history
  • Loading branch information
BBosman committed Jun 17, 2024
1 parent 3210354 commit e419109
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,14 @@ declare namespace PhonegapPluginPush {
* Action Buttons on iOS - https://github.com/havesource/cordova-plugin-push/blob/master/docs/PAYLOAD.md#action-buttons-1
*/
categories?: CategoryArray
/**
* If `true` the device can show up critical alerts. (Possible since iOS 12 with a special entitlement)
* Default is false|"false".
* Note: the value you set this option to the first time you call the init method will be how the application always acts.
* Once this is set programmatically in the init method it can only be changed manually by the user in Settings > Notifications > `App Name`.
* This is normal iOS behaviour.
*/
critical?: boolean
/**
* Whether to use prod or sandbox GCM setting. Defaults to false.
*/
Expand Down

0 comments on commit e419109

Please sign in to comment.