android - Phonegap Build - local notification plugin server request -
i want check if there new messages on server. if yes, display notification. using local-notification plugin. the problem is, code doesn't work when app closed...
my code in index.html
setinterval() { $(".news_div").load ("http://www.website.com/news"); },7000);
and on server
cordova.plugins.notification.local.schedule({ text: "hi user" });
thanks
Comments
Post a Comment