Open tom-adsfund opened 11 years ago
If the normal way can't work, that version of Android does provide history for anchors.
Hmm. I don't have a android to test on.
history.pushState
etc work?Have you tried using the HTML5-History-API polyfill? (see: https://github.com/tmeasday/meteor-router#internet-explorer-8-support; you won't need to use the ie-support
branch however).
If you can suggest a site that uses page.js I can check.
I used this site (http://html5.gingerhost.com/), which claims to use pushState, and it works on Android 2.*. (I clicked Seattle, and it had desired location and history effect.)
I am using the branch and the polyfill.
So the URLs change on that gingerhost site? Without using anchors?
If so it sounds like pushState works and my best guess is going to be a problem with page.js.
It wouldn't be too hard to create a very simple test page that use page.js and see if successfully does pushState etc. If you can figure out exactly which library is failing, then it'll be easier to find a fix.
Yes, without using anchors.
I can't dedicate time to testing for libs.
But what about sharing links...? That's quite important. (As mentioned in https://github.com/tmeasday/meteor-router/issues/33#issuecomment-13917835)
Bug caused by ie-support branch.
Which device did you find this behaviour on?
I just tested the IE support branch (deployed at simple-routed-app.meteor.com) in 2.2 and 2.3 on browserstack.com and didn't see any problems.
My physical device (Moto Droid), running 2.2.1: click first link on simple... and look at the location bar -- hasn't changed; press back button, will return to previous app or website (should return to first page of simple...)
How bizarre,
I've tested http://simple-routed-app.meteor.com (using browserstack (an emulator) as I don't have an actual device) on
And all of them work fine given the reproduction steps you've outlined.
I don't really know what I can do from here. Is there any kind of error console you can look at?
No console. Oh well. If someone else is concerned they can follow it up
Meteor router seems to route fine for me, but the Meteor.Router.to
function has throws an error somewhere/doesnt work, its a bit difficult to debug since its only on the device & I have to hook into it using jsconsole. I'll have to check up and put a bit more on about it
Back button returns to previous page before entering website