devote / HTML5-History-API

HTML5 History API expansion for browsers not supporting pushState, replaceState
http://spb-piksel.ru
MIT License
1.02k stars 182 forks source link

iOS 7 web apps lack History support #36

Closed hlambert closed 11 years ago

hlambert commented 11 years ago

First of all, Thanks for this great plugin for enabling old browsers to get up to speed on the History API.

Right now, iOS 7 is rolled out, and as many people have discovered, Apple has chosen to disable the History state management in web apps pinned to the home screen. See this link:

http://www.mobilexweb.com/blog/safari-ios7-html5-problems-apis-review

(Under HOME-SCREEN WEBAPPS)

Would it be possible to get this plugin to take over for that functionality?

devote commented 11 years ago

Hi, I can not install the new iOS at the moment. Tell me how worked a library is currently in the new Safari?

Thank you in advance!

hlambert commented 11 years ago

If you have Xcode, you can download the new iOS 7 simulator there. That is the only place I have been testing it.

The API is there, it is just not functioning.

history.state will return undefined history.length will return 1 no matter what history.back() does not do anything

Somehow it is like the state stack is not being populated when the state changes.

devote commented 11 years ago

Hi, I updated my iPad 4 to iOS7 and did not notice the problems with the work of my library.

hlambert commented 11 years ago

Hi

I have now been looking more at the bug, and it is an iOS 7 bug. The effect of the bug is issues with history on sites using application cache.