Cordova plugin implementing background notifications