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

Android Browser Keeps Reloading #1061

Closed

Description

@pbininda

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.

Activity

  1. rabidgremlin commented on Jun 16, 2012

    @rabidgremlin

    Seems to happen on Android 4.0 based browser too

  2. voortwis commented on Jun 16, 2012

    @voortwis

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

  3. voortwis commented on Jun 16, 2012

    @voortwis

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

  4. IgorMinar commented on Jun 22, 2012

    @IgorMinar
    Contributor

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

  5. pbininda commented on Jun 22, 2012

    @pbininda
    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.

  6. IgorMinar commented on Jun 22, 2012

    @IgorMinar
    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).

  7. pbininda commented on Jun 22, 2012

    @pbininda
    Author

    I'll be happy to try it.

  8. pbininda commented on Jun 22, 2012

    @pbininda
    Author

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

  9. IgorMinar commented on Jun 22, 2012

    @IgorMinar
    Contributor

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

  10. IgorMinar commented on Jun 22, 2012

    @IgorMinar
    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

  11. IgorMinar commented on Jun 22, 2012

    @IgorMinar
    Contributor

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

  12. pbininda commented on Jun 22, 2012

    @pbininda
    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.

  13. pbininda commented on Jun 22, 2012

    @pbininda
    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.

  14. pbininda commented on Jun 22, 2012

    @pbininda
    Author

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

  15. voortwis commented on Jun 22, 2012

    @voortwis

    Ics browser on updated nexus works like a charm

  16. pbininda commented on Jun 22, 2012

    @pbininda
    Author

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

  17. IgorMinar commented on Jun 22, 2012

    @IgorMinar
    Contributor

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

  18. pbininda commented on Jun 22, 2012

    @pbininda
    Author

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

  19. voortwis commented on Jun 22, 2012

    @voortwis

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

  20. IgorMinar commented on Jun 22, 2012

    @IgorMinar
    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.

  21. voortwis commented on Jun 22, 2012

    @voortwis

    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.

  22. IgorMinar commented on Jun 22, 2012

    @IgorMinar
    Contributor

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

  23. pbininda commented on Jun 22, 2012

    @pbininda
    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.

  24. rabidgremlin commented on Jun 23, 2012

    @rabidgremlin

    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.

  25. pbininda commented on Jun 23, 2012

    @pbininda
    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 .

  26. pbininda commented on Jun 23, 2012

    @pbininda
    Author

    This also fixes #1054

  27. IgorMinar commented on Jun 25, 2012

    @IgorMinar
    Contributor

    can you confirm if 1.0.1 fixed this issue?

  28. voortwis commented on Jun 25, 2012

    @voortwis

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

  29. IgorMinar commented on Jun 25, 2012

    @IgorMinar
    Contributor

    perfect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions