Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ios): add missing critical to typings #271

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading