Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Android Browser Keeps Reloading #1061

Closed
pbininda opened this issue Jun 16, 2012 · 29 comments
Closed

Android Browser Keeps Reloading #1061

pbininda opened this issue Jun 16, 2012 · 29 comments

Comments

@pbininda
Copy link

When I go to http://angularjs.org on a Froyo Android browser, it keeps reloading the entire page automagically.
On a desktop browser, the location bar gets updated to http://angularjs.org/#/list . This does not happen with the Android browser. If I use the url http://angularjs.org/#/list directly on Android, the reloading cycle does not happen.

@rabidgremlin
Copy link

Seems to happen on Android 4.0 based browser too

@voortwis
Copy link

I also see this happen in IE8, IE9, going to downgrade to RC10 (my previouse version)

@voortwis
Copy link

Latest working version is RC11. (with the templateUrl change), in RC12 it is looping.

@IgorMinar
Copy link
Contributor

I can't reproduce this on Android 4.0.4 Browser (not Chrome). Can someone else reproduce it there?

@pbininda
Copy link
Author

I can reproduce a similar problem with IE9. When I go to http://angularjs.org, the page keeps reloading and the location bar flips back and forth between http://angularjs.org and http://angularjs.org/#/list. Again, when I go directly to http://angularjs.org/#/list, everything is normal.

@IgorMinar
Copy link
Contributor

yes. we can reproduce it with IE9, but that doesn't necessarily mean that both are affected with the same issue.

we have a fix for IE9 btw. I'll push it to angularjs.org and maybe you can then test it on froyo. (we don't have a froyo device around and the issue doesn't occur on ICS).

@pbininda
Copy link
Author

I'll be happy to try it.

@pbininda
Copy link
Author

Did you just push the change? My phone was happily reloading the page and suddenly it stopped!

@IgorMinar
Copy link
Contributor

no. not 18minutes ago. but I did push it about 1minute ago.

@IgorMinar
Copy link
Contributor

IE9 should be fine now (make sure that your browser cached had time to expire or was flushed manually). As I said before, I can't reproduce this issue on android 4.0.4

@IgorMinar
Copy link
Contributor

I had to revert the change as it broke other things. investigating.

@pbininda
Copy link
Author

I can confirm it now works with IE9. Also something is different on my Android phone now. Right before the push, the progress bar would go up on loading the page until the page was rendered once with a bare bones "follow us on twitter" link. Then the progress bar would start from zero again and the page would re-render with the nice twitter button.
Now the progress bar goes smoothly from empty to full without interruption.

@pbininda
Copy link
Author

If you have time, could you try going to http://www.sekas.de/ptr/ptr-0.2.2/src/html/ptr.html with an ICS browser?
This loops for me on IE9 and on Android.

@pbininda
Copy link
Author

Got to go for now, Germany vs. Greece starts soon. I'm from Germany, so... I'll be back in 2 hours :)

@voortwis
Copy link

Ics browser on updated nexus works like a charm

@pbininda
Copy link
Author

Thanks for the info. (Half time. Germany leads 1:0)

@IgorMinar
Copy link
Contributor

we pushed another fix to angularjs.org can you test?

@pbininda
Copy link
Author

Looks good on IE9 and on my phone. (Second half has started, my Kids are yelling for me to come watch)

@voortwis
Copy link

Tested again on ICS, perfect:) Good luck with the match.

@IgorMinar
Copy link
Contributor

so all is good now? http://www.sekas.de/ptr/ptr-0.2.2/src/html/ptr.html looks broken on ICS Browser as well as ICS Chrome.

@voortwis
Copy link

AngularJS.org works perfect in IE9 (since it uses the hashbang in the URL instead of the hash only. It also changes the # ito a #!, I am happy with the change.

@IgorMinar
Copy link
Contributor

cool. what about old android browser? anyone can test please?

@pbininda
Copy link
Author

Germany won 4:2 and http://angularjs.org works perfectly on my Froyo phone. Life is good.
Igor, where can I get the changes you pushed to angularjs.org? I would love to try them out on my http://www.sekas.de/ptr prototype.

@rabidgremlin
Copy link

On my ICS tablet angularjs.org seems to work. Except for the list demo where the form buttons (Save and Delete) don't appear to work.

Loading up http://angular.github.com/angular-phonecat/step-7/app/ goes into an endless loop. I assume it hasnt been updated.

@pbininda
Copy link
Author

I just put the oneliner from ffb2701 into my PTR project and now it works on my Froyo phone and on IE9.
See http://www.sekas.de/ptr/ptr-0.2.2b/src/html/ptr.html .

@pbininda
Copy link
Author

This also fixes #1054

@IgorMinar
Copy link
Contributor

can you confirm if 1.0.1 fixed this issue?

@voortwis
Copy link

@IgorMinar, yes I just changed to 1.0.1 and it fixes the issue. Excellent.

@IgorMinar
Copy link
Contributor

perfect

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants