azavea / ism-watershed-wellness-snapshot

A tool to collect and display watershed wellness indicators for the International Seaport Museum
1 stars 2 forks source link

Remove ipad address bar #87

Closed alexelash closed 5 years ago

alexelash commented 5 years ago

Overview

This isn't a native app, but we want it to operate as closely as possible to one. The address bar on iOS is very bright in comparison with the app, so removing it would be ideal.

Connects #73

Demo

I don't have my iPad on-hand, so I can't test this

Notes

Testing Instructions

alexelash commented 5 years ago

So, it definitely looks like there is legitimately no way to implement what we were originally imagining. However, there is a way to enter into fullscreen mode on an iPad using javascript, which I found out through this article: https://bubblin.io/blog/fullscreen-api-ipad

On the iPad only, clicking anywhere on the screen will enter into fullscreen mode.

Screen Shot 2019-03-11 at 7 09 45 PM

A user can exit fullscreen by clicking the X, which luckily doesn't overlap anything in the UI.

alexelash commented 5 years ago

@caseycesari discussed this with @mmcfarland offline.

There are some other potential solutions available to the client, such as downloading a kiosk browser onto the iPad or serving up the website as a native app with GoNative.

However, Matt brought up that there are some open questions around how the client will be using the website (is this web app the only thing the iPad will be used for? do they already have a kiosk browser browser that they use? will the iPad home button be covered up?), so we should leave the device-specific questions up to the client and merge this fullscreen solution into the app.