We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add missing "critical" in TS typings
const push = PushNotification.init({ ios: { critical: true } });
The above code should compile when used in a TS project.
TS compiler complains about critical not being a valid option at that location.
critical
See "Expected Behaviour" above.
n/a
cordova info
Cordova Packages:
cli: 12.0.0 common: 5.0.0 create: 5.0.0 lib: 12.0.1 common: 5.0.0 fetch: 4.0.0 serve: 4.0.1
Project Installed Platforms:
ios: 6.3.0
Project Installed Plugins:
@havesource/cordova-plugin-push: 4.0.0
Environment:
OS: macOS Sonoma 14.4.1 (23E224) (darwin 23.4.0) arm64 Node: v16.20.2 npm: 8.19.4
ios Environment:
xcodebuild:
Xcode 15.4 Build version 15F31d
Project Setting Files:
config.xml:
package.json:
--- Start of Cordova JSON Snippet --- { "plugins": { "@havesource/cordova-plugin-push": {} }, "platforms": [ "ios" ] } --- End of Cordova JSON Snippet ---
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
Add missing "critical" in TS typings
Expected Behaviour
The above code should compile when used in a TS project.
Actual Behaviour
TS compiler complains about
critical
not being a valid option at that location.Reproduce Scenario (including but not limited to)
Steps to Reproduce
See "Expected Behaviour" above.
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
n/a
(Android) Device Vendor (e.g. Samsung, HTC, Sony...)
n/a
cordova info
PrintoutCordova Packages:
Project Installed Platforms:
Project Installed Plugins:
Environment:
ios Environment:
Xcode 15.4
Build version 15F31d
Project Setting Files:
--- Start of Cordova JSON Snippet ---
{
"plugins": {
"@havesource/cordova-plugin-push": {}
},
"platforms": [
"ios"
]
}
--- End of Cordova JSON Snippet ---
Sample Push Data Payload
n/a
Sample Code that illustrates the problem
See "Expected Behaviour" above.
Logs taken while reproducing problem
n/a
The text was updated successfully, but these errors were encountered: