Closed jdevuono54 closed 2 months ago
Hi, can you check, if you really use the master version of the plugin? Because this was 2 days ago fixed in the master. Please remove the plugin, add it again and check if the problem persists. Regards
Hey ! Indeed, I wasn't using the latest version, and it seems to be working again, thanks ! I'm not pointing directly to the master branch but to a specific SHA to avoid any unwanted changes while waiting for a new version to be released.
Ok, good to hear, that it works now 🙂
I encountered an issue while trying to clear a specific notification using the clear() method. In my main project, the notification is not removed when using clear(), but it is removed when using clearAll().
To troubleshoot, I created a new, minimal Cordova project with only the basic setup and the Cordova Local Notification plugin. However, I still encountered the same issue: the notification is not cleared when using clear(), but clearAll() works as expected.
Your Environment
cordova -v
): 12.0.0cordova platform ls
): android 13.0.0Expected Behavior
The notification with id: 6546 should be cleared when using clear([6546]).
Actual Behavior
The notification is not cleared when using clear([6546]), but it is cleared when using clearAll().
Steps to Reproduce
Create a new Cordova project and install the Local Notification plugin. Schedule a notification using the following code:
Attempt to clear the notification after a delay using the clear() method: