Push Plugin: Add clearAllNotifications
method and return promises/observables
#250
Labels
clearAllNotifications
method and return promises/observables
#250
Hey there!
I started using the Push plugin and noticed that is missing the newer clearAllNotifications method.
I also noticed that the ionic-native wrapper is using the plugin's success and error callbacks instead of returning a promise/observable as it happens with most of the other plugins, which is confusing considering the docs say plugins return either of these.
Any chance to add this missing method and use promises/observables instead of callbacks? I'm guessing there are people already using this plugin so it should keep supporting the callbacks and return a promise/observable if none is specified.
Thanks!
The text was updated successfully, but these errors were encountered: