簡體   English   中英

Notification.alert無法正常工作Cordova 4+

[英]Notification.alert not working cordova version 4+

我正在嘗試使用notification.alert,但無法正常工作。 將此鏈接用作基礎: http : //docs.phonegap.com/en/edge/cordova_notification_notification.md.html

我的科爾多瓦4.2版

錯誤消息:

TypeError: Cannot call method 'alert' of undefined

您想要navigator.notification.alert()notification.alert()

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM