Reputation: 1285
Is it possible to let phonegap-built apps load a page as HTML while the file name is, say, ABC?
Why: on ios alert()
and confirm()
shows the file name. I do not want it show 'index.html'. If I change my single-page app's file name to my app's name (ABC) then alert()
and confirm()
will appear to be showing my app's name.
What I tried: when the file name is ABC, the HTML source is displayed. It is like in desktop web servers not setting MIME type and the web server serves any page as plain text.
Upvotes: 0
Views: 54
Reputation: 1321
If an app name for an alert title is the goal you need to install the cordova dialogs plugin. https://github.com/apache/cordova-plugin-dialogs
Upvotes: 2