Results 1 to 6 of 6

Thread: How can I Prevent web app from reloading every time link is pressed

  1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    69
    Vote Rating
    0
      0  

    Default Unanswered: How can I Prevent web app from reloading every time link is pressed

    I have a web app, and placed a link to it on the iphone desktop.
    Everytime I press the icon it starts the web app.
    But how can I prevent it from reloading the page if page is already loaded?

    In my case when pressing the icon the app page is opened and shows the view where I last left the app, but it reloads the page emediatly wich is just time consuming as all code already is in the displayed page.

  2. #2
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,149
    Answers
    132
    Vote Rating
    101
      0  

    Default

    This has already been discussed: http://www.sencha.com/forum/showthread.php?140520-iPad-Home-Screen-App-refreshes-on-every-open

    I believe this is an answer, but I haven't tried it.

    You can also look into this: http://www.sencha.com/learn/taking-s...-apps-offline/

  3. #3
    Sencha User
    Join Date
    Sep 2010
    Posts
    69
    Vote Rating
    0
      0  

    Default

    I tried the offline, witch caching, but the did not work in iPhone
    Its a bit anoying, as web apps, are a very nice way to provide apps, as it do not require packaging and distribution via appstore

  4. #4
    Sencha User jerome76's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,149
    Answers
    132
    Vote Rating
    101
      0  

    Default

    I just use web apps and deal with it not being on the homescreen. I will keep looking for a way, though.

  5. #5
    Ext Premium Member
    Join Date
    Jan 2010
    Posts
    32
    Vote Rating
    0
      0  

    Default may be a solution

    look for 'apple-mobile-web-app-capable' in sdk code, and comment this lines.
    within this comment, the app is launched in Safari and keep the last state.

  6. #6
    Ext Premium Member
    Join Date
    Jan 2010
    Posts
    32
    Vote Rating
    0
      0  

    Default another way

    If you don't want comment SDK code, you can use this method :
    http://www.sencha.com/forum/showthre...l=1#post876045

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •