Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
6.0.0
Description
Steps to reproduce the problem:
- install cordova-cli
- cordova create hello com.example.hello HelloWorld
- cd hello
- cordova platform add ubuntu
- cordova plugin add cordova-plugin-dialogs
- ondeviceready: navigator.notification.alert("test",function(){},"testitle");
- cordova run --debug --device
- the app loads but:
nothing happens
it should display a dialog.
- ondeviceready: document.getElementById("deviceready").textContent = "dialogs: " + window.navigator.notification ;
gives undefined for window.navigator.notification
Same problem occurs for cordova-plugin-device and any other plugin i have tried.