Page 4 of 4

How to really fix header and footer postion?

Posted: Sat Jul 19, 2014 7:08 pm
by RobertJay

I believe the ability to run a pure-web app on iPhone Safari - in a way that makes it look native - is a huge deal for appery web-only developers. So I believe the ability to use the home screen option is therefore critically important. And therefore I'm hoping the following fix could be interpreted in "appery language" so a mid-level developer like me can incorporate it. Thanks in advance.

**********

When your page loads, add your token/data to a query string parameter in the URL using JavaScript (window.location.search). When the user saves the site to their Home Screen, the URL is used as the key. Your JavaScript can easily extract the query string parameter you sneaked in earlier if you detect that you are in Home Screen mode (window.standalone). This should work forever, except the value in the URL will also be there forever.


How to really fix header and footer postion?

Posted: Tue Jul 22, 2014 10:48 am
by Maryna Brodina

Hello!

I have just tested your app on iPad (iOS 7.1.2). Tried to open app link in Safari and also open web app from Home screen - same result, footer stays in the bottom of the screen.

Image

Is it still reproducible for you?


How to really fix header and footer postion?

Posted: Tue Jul 22, 2014 4:27 pm
by RobertJay

Hi Maryna - happily (and to me inexplicably) no... it is not still reproducible on my end. I strongly suspect the issue was not an appery issue - it may have been something on the iPhone or perhaps a desktop virus I have been fighting. In any case, please consider the issue solved... and thanks a million for your time.


How to really fix header and footer postion?

Posted: Wed Jul 23, 2014 10:24 am
by Maryna Brodina

Thank you for update!