localwiki / localwiki-backend-server

Primary LocalWiki backend server environment
GNU General Public License v2.0
48 stars 16 forks source link

Responsive: mobile web app capable #43

Open philipn opened 9 years ago

philipn commented 9 years ago

From @philipn on December 30, 2012 23:9

Copied from original issue: localwiki/localwiki#427

philipn commented 9 years ago

By adding certain meta tags - http://developer.apple.com/library/ios/#documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html - we can allow the site to be homescreen'ed on iOS devices and appear as an independent app (e.g. shows up in app picker, hides mobile safari address bar and bottom navigation bar).

We can detect when this is the case using http://www.bennadel.com/blog/1950-Detecting-iPhone-s-App-Mode-Full-Screen-Mode-For-Web-Applications.htm and then prevent links from opening in mobile safari using http://www.bennadel.com/blog/2302-Preventing-Links-In-Standalone-iPhone-Applications-From-Opening-In-Mobile-Safari.htm.

But the remaining issue is that the 'back' button is kind of useful in localwiki, so we may want to do something about that.

philipn commented 9 years ago

Moving out of responsive milestone - can wait until after first release.