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
@ionic-native/local-notifications getAllScheduled and getAllTriggered not working #2778
@ionic-native/local-notifications getAllScheduled and getAllTriggered not working #2778
Comments
Loks like they remove this two functions. |
Yes, getAllTriggered() was basically an alias for getTriggered(). |
@danielcregg Tested and works as expected. Thanks for fixing and releasing so quickly. |
I get the same issue with the following version of IONIC Ionic: ionic (Ionic CLI) : 4.12.0 (/usr/lib/node_modules/ionic) Cordova: cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1) System: Android SDK Tools : 26.1.1 (/mnt/ssd/Android/Sdk) local-notifications plugin version is 0.9.0-beta.2 Thanks for your help ! |
I'm submitting a ... (check one with "x")
[ x ] bug report
Current behavior:
When calling
localNotifications.getAllScheduled()
orlocalNotifications.getAllTriggered()
, the following error shows up in console:This looks like an issue with the Ionic plugin, since the plugin is installed correctly and other methods work as expected.
Expected behavior:
Function should return Promise<Array> as documented.
Other information:
Support for these functions was recently added by @danielsogl, but perhapt not fully tested: 10d222d#diff-b485ec70d7e39ac4e9507e7f1db111a2R730
The old cordova-plugin-local-notifications 0.8 itself had a function
getAllTriggered()
, which is replaced bygetTriggered()
in 0.9 (https://github.com/katzer/cordova-plugin-local-notifications#methods).The text was updated successfully, but these errors were encountered: