Javascript Notification.alert不工作cordova版本4+;
我正在尝试使用notification.alert,但不起作用。 使用此链接作为基础: 我的cordova版本4.2 错误信息:Javascript Notification.alert不工作cordova版本4+;,javascript,android,cordova,plugins,Javascript,Android,Cordova,Plugins,我正在尝试使用notification.alert,但不起作用。 使用此链接作为基础: 我的cordova版本4.2 错误信息: TypeError:无法调用未定义的方法“alert” 您想要navigator.notification.alert()vsnotification.alert()
TypeError:无法调用未定义的方法“alert”
您想要navigator.notification.alert()
vsnotification.alert()