我正在尝试使用通知。警报,但不工作。使用以下链接作为基础:http://docs.phonegap.com/en/edge/cordova_notification_notification.md.html
我的cordova版本4.2
错误信息:
TypeError: Cannot call method 'alert' of undefined
您想要navigator.notification.alert()
vs notification.alert()