Watch didReceiveRemoteNotification on AppDelegate with Cordova plugin

We are working on a little cordova plugin to watch the didReceiveRemoteNotification event.

This event is fired on the AppDelegate.

So this is a problem because we are creating a plugin and want to save it as a plugin without changing the default AppDelegate.

Is there a way to set my plugin as a delegate for notification so that we can reuse our plugin?


source to share

All Articles