This question is locked. New answers and comments are not allowed.
So I have found this plugin:
https://github.com/cranberrygame/cordova-plugin-pushnotification-parsepushnotification
and I have imported it as it's written here
However, the object window.parsepushnotification is still undefined inside device ready.
document.addEventListener('deviceready', function () { navigator.splashscreen.hide(); app = new kendo.mobile.Application($(document.body), { initial: "#home" }); window.parsepushnotification.setUp(applicationId, clientKey); window.parsepushnotification.onRegisterAsPushNotificationClientSucceeded = function() { alert('onRegisterAsPushNotificationClientSucceeded'); }; window.parsepushnotification.onRegisterAsPushNotificationClientFailed = function() { alert('onRegisterAsPushNotificationClientFailed'); }; }, false);I am not including any js file, but since plugin.xml contains <js-module> tag I dont see what is wrong, and why is object undefined.
<js-module src="www/parsepushnotification.js"> <clobbers target="window.parsepushnotification" /></js-module>
Thanks