android phonegap notification status bar shows nothing

匿名 (未验证) 提交于 2019-12-03 01:49:02

问题:

I am trying to display a notification msg on android simulator device by using Phonegap plugin called StatusBarNotification, LINK, I followed the instrucations to the word, but when I deploy my application nothing shows in the status bar,

What's confusing me is I do not know where to put my notficiation syntax call which is:

window.plugins.statusBarNotification.notify("Put your title here", "Put your message here"); 

What should I do to fix this?

回答1:

what about this:

Click me!

Put this code into your web page.



易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!