2 ms·
Some mobile web app "stores", like http://openappmkt.com/ http://openappmkt.com/ , provide all the JS and HTML to force users to install the app to the homescre
by pak 16y ago
Some mobile web app "stores", like http://openappmkt.com/ http://openappmkt.com/ , provide all the JS and HTML to force users to install the app to the homescreen first, in the interest of preserving their user experience.
Try installing an app that is based on OpenAppMkt like http://khanapp.com http://khanapp.com and notice that it asks you nicely to add it first to the home screen before running.
As an iOS web developer you can use the navigator.standalone JS var to detect if the app is running straight from the home screen, and ask the user nicely to install it if they haven't done so.
Why would you prefer users to do this? Because it removes the location bar chrome, which can result in a near-seamless fullscreen interface that more closely resembles a native app.