diff --git a/types/index.d.ts b/types/index.d.ts index 77c2b8484..d6e35f3ae 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -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. */