{"action":"created","issue":{"url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/412","labels_url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/412/labels{/name}","comments_url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/412/comments","events_url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/412/events","html_url":"https://github.com/OnsenUI/OnsenUI/issues/412","id":55730812,"number":412,"title":"Hybrid web app - browser back button does not influence OnsenUI routing","user":{"login":"ConcurrentHashMap","id":7402908,"avatar_url":"https://avatars.githubusercontent.com/u/7402908?v=3","gravatar_id":"","url":"https://api.github.com/users/ConcurrentHashMap","html_url":"https://github.com/ConcurrentHashMap","followers_url":"https://api.github.com/users/ConcurrentHashMap/followers","following_url":"https://api.github.com/users/ConcurrentHashMap/following{/other_user}","gists_url":"https://api.github.com/users/ConcurrentHashMap/gists{/gist_id}","starred_url":"https://api.github.com/users/ConcurrentHashMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConcurrentHashMap/subscriptions","organizations_url":"https://api.github.com/users/ConcurrentHashMap/orgs","repos_url":"https://api.github.com/users/ConcurrentHashMap/repos","events_url":"https://api.github.com/users/ConcurrentHashMap/events{/privacy}","received_events_url":"https://api.github.com/users/ConcurrentHashMap/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-28T09:10:06Z","updated_at":"2015-01-29T13:56:07Z","closed_at":"2015-01-29T13:54:30Z","body":"Hi there,\r\n\r\nI'm developing mobile (so called \"hybrid\") apps that should (at first) work in the mobile browser and then - if the user wants to - download the app and use it as this. As the Ionic framework seemed to have various bugs, I took more days to compare all the available mobile UI frameworks and decided to work with OnsenUI.\r\n\r\nOne thing, that I found very good on the one hand is your routing behavior with the navigator and push/pop. One thing that makes me cry on the other hand is the fact, that this routing isn't working in normal web and mobile browsers as there is no pushState change. So the back button of the browser stays disabled (on iOS) or will result in closing the tab in mobile Chrome for example.\r\n\r\nIs there any working solution to make `navi.pushPage(...)` work to create a browser history and a history.back result in a `navi.popPage()`?\r\n\r\nThat's really a huge missing thing for Onsen! Does anyone have an idea how to implement this? Creating a history isn't a problem, as there is the `postpush` event, on which I can fire a `history.pushState(...)`. The bigger problem is the way back when the browser back button is clicked - as far as I know there is no native function or event to notice this. So maybe there is an Angular workaround for this?"},"comment":{"url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/comments/72027647","html_url":"https://github.com/OnsenUI/OnsenUI/issues/412#issuecomment-72027647","issue_url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/412","id":72027647,"user":{"login":"Hirbod","id":504909,"avatar_url":"https://avatars.githubusercontent.com/u/504909?v=3","gravatar_id":"","url":"https://api.github.com/users/Hirbod","html_url":"https://github.com/Hirbod","followers_url":"https://api.github.com/users/Hirbod/followers","following_url":"https://api.github.com/users/Hirbod/following{/other_user}","gists_url":"https://api.github.com/users/Hirbod/gists{/gist_id}","starred_url":"https://api.github.com/users/Hirbod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hirbod/subscriptions","organizations_url":"https://api.github.com/users/Hirbod/orgs","repos_url":"https://api.github.com/users/Hirbod/repos","events_url":"https://api.github.com/users/Hirbod/events{/privacy}","received_events_url":"https://api.github.com/users/Hirbod/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T13:56:07Z","updated_at":"2015-01-29T13:56:07Z","body":":+1: \r\n\r\nglad I could help"}}