javascript - Phonegap web-based app "Alert" is showing the name of the page -
i have web app iphone, , utilize uiwebview
alternative through phonegap.
when alerting shows name of html page: how can hide (login.html
)?
i utilize alert
function javascript
:
alert("email , password not match.");
yes in ios phonegap pages show page name in alert. need utilize notification plugin avoid that.
here plugin
http://cordova.apache.org/docs/en/3.3.0/cordova_notification_notification.md.html#notification
you need dialog plugin, not vibration
cordova plugin add together org.apache.cordova.dialogs
to utilize it, need
navigator.notification.alert( 'you winner!', // message alertdismissed, // callback 'game over', // title 'done' // buttonname );
javascript ios cordova
No comments:
Post a Comment