When calling getAllTriggered, plugin only throws a warning saying that the cordova plugin is not installed (it obviously is installed and working fine apart of this very issue).
Console output: Native: tried calling LocalNotifications.getAllTriggered, but the LocalNotifications plugin is not installed.
My code: console.log('All triggered', this.localNotifications.getAllTriggered()); (object this.localNotifications is got as parameter in the constructor and is an instance of LocalNotifications).
When calling getAllTriggered, plugin only throws a warning saying that the cordova plugin is not installed (it obviously is installed and working fine apart of this very issue).
Console output:
Native: tried calling LocalNotifications.getAllTriggered, but the LocalNotifications plugin is not installed.
My code:console.log('All triggered', this.localNotifications.getAllTriggered());
(object this.localNotifications is got as parameter in the constructor and is an instance of LocalNotifications).My Environment
Plugin version: 5.14.0
Platform: Android
OS version: 10
Device manufacturer / model: Xiaomi A2
Cordova version 9.0.0 (cordova-lib@9.0.1)
Cordova platform version Installed platforms: android 8.0.0 browser 6.0.0 ios 5.0.1
Plugin config: default
Ionic Version: 4
Expected Behavior
I expected to get all triggered notifications on the console.
Actual Behavior
I get a warning in the console and it seems that the plugin is not recognized by this function.
Steps to Reproduce
Just install the plugin, set one notification, wait until it triggers (so you know it works) and then call the method getAllTriggered().
Context
Get all the Id's in order to be able to deactivate all repeating alarms "in case of fire"
Debug logs
Include iOS / Android logs