【发布时间】:2017-03-29 02:42:50
【问题描述】:
我阅读了许多关于状态栏通知的博客和 Stackoverflow 线程,并且大部分博客都使用了一个插件 https://github.com/phonegap/phonegap-plugins/tree/master/Android/StatusBarNotification
但这会产生 404 错误。我没有找到任何其他有效的插件来执行此操作。
我需要让下面的代码工作。我需要使用什么插件?
window.plugins.statusBarNotification.notify("Notification", "Registered with Server");
谢谢
【问题讨论】:
-
尝试报告您所引用的演示站点的链接断开。
-
所有使用 Cordova 发布状态栏通知内容的博客都有相同的链接。我正在寻找任何其他可用的方式。如果我能找到安装 StatusBarNotification 插件或任何其他解决方法的方法会很有帮助。
-
请用您所指的博客更新问题。
标签: android cordova push-notification cordova-plugins statusbar