When we were developing Watchduino2 we required to forward messages for all notifications we receive in our phone by using the NotificationListenerService available on Android.
We managed to do this in the first version of our companion app on native code, unfortunatelly, we realised this feature was not available yet on Cordova, the new framework we use for building our cool responsive companion app.
The solution? Roll our own Cordova plugin to provide this functionality!