Results 1 to 3 of 3

Thread: Production build doesn't update on home screen

  1. #1
    Sencha Premium Member EPV's Avatar
    Join Date
    Dec 2010
    Location
    Sweden
    Posts
    359
    Answers
    37
    Vote Rating
    46
      0  

    Default Answered: Production build doesn't update on home screen

    Have built an app (production) in Sencha command 2B3, from Sencha Touch 2.011.

    I solved the problems with iOS6 regarding AJAX cahing with adding new Date.getTime().

    Now its seems there's a problem updating a production app when it runs in "home-screen" mode.

    - When the app runs in safari update is triggered.
    - When the app runs in home screen mode nothing happens.

    I've applied Jackys fix:
    http://www.sencha.com/forum/showthread.php?194928-Can-t-update-a-production-build

    I've checked the HTTP log and confirmed that no requests are made for the app.js file after app.json has been loaded.

    I'm 99% sure that this procedure worked before iOS6 update. Though, the request for app.js is made via GET and shouldn't be concerned by the caching issue. Or should it?

    Thanks /E

  2. After a lot of remote debugging, testing and yelling at the screen I decided to generate a fresh project att add my code to that. It worked ...

    Possible reasons:
    - I've used Jackys fix for the production microloader. Removed in new build.
    - Something went wrong with the localstorage in the iOS6 update ...? (longshot)
    - ?

    Anyway, is it possible to build a production build without the use of localstorage at all (seems a bit unstable)? That is, a build that only uses the cache.

    Thanks /E

  3. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,026
    Answers
    3976
    Vote Rating
    1367
      0  

    Default

    Use the remote debugger, is the call being made? It should always try to make the call.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  4. #3
    Sencha Premium Member EPV's Avatar
    Join Date
    Dec 2010
    Location
    Sweden
    Posts
    359
    Answers
    37
    Vote Rating
    46
      0  

    Default

    After a lot of remote debugging, testing and yelling at the screen I decided to generate a fresh project att add my code to that. It worked ...

    Possible reasons:
    - I've used Jackys fix for the production microloader. Removed in new build.
    - Something went wrong with the localstorage in the iOS6 update ...? (longshot)
    - ?

    Anyway, is it possible to build a production build without the use of localstorage at all (seems a bit unstable)? That is, a build that only uses the cache.

    Thanks /E

Posting Permissions

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