cordova - phonegap to load a page as HTML while the file name is not *.htm? -
is possible let phonegap-built apps load page html while file name is, say, abc?
why: on ios alert()
, confirm()
shows file name. not want show 'index.html'. if change single-page app's file name app's name (abc) alert()
, confirm()
appear showing app's name.
what tried: when file name abc, html source displayed. in desktop web servers not setting mime type , web server serves page plain text.
if app name alert title goal need install cordova dialogs plugin. https://github.com/apache/cordova-plugin-dialogs
Comments
Post a Comment