Hybrid View

  1. #1
    Ext JS Premium Member tangix's Avatar
    Join Date
    Mar 2010
    Location
    Stockholm, Sweden
    Posts
    499
    Vote Rating
    46
    tangix has a spectacular aura about tangix has a spectacular aura about tangix has a spectacular aura about

      0  

    Default Answered: Offline app updated works perfect on iOS - not so perfect on Android

    Answered: Offline app updated works perfect on iOS - not so perfect on Android


    Created a ST 2.1-RC2 application, compiled it using Sencha Cmd 3.0.0 and uploaded it to the server. Did a change and built it again using Sencha Cmd. Works perfect on iOS devices - the "Application updated - reload" message is shown and then new version is available after page reload. Also works perfect in Chrome on Windows.

    Sadly no luck on android phones from Sony (running both 2.3.6 and 4.0.6) where the app is still showing the old version. Nothing less than clearing the offline cache makes the browser pick up the new version.

    Where should I start looking...?

    /Mattias

  2. I had the same issues.
    Sencha by default names the manifest file cache.appCache.
    Some Android browsers don't like this (Galaxy S3).
    Change the name of the file to 'cache.manifest' . That worked for me.
    Good luck

  3. #2
    Ext JS Premium Member
    Join Date
    Nov 2009
    Location
    Cave
    Posts
    176
    Answers
    2
    Vote Rating
    2
    29er is on a distinguished road

      1  

    Default


    I had the same issues.
    Sencha by default names the manifest file cache.appCache.
    Some Android browsers don't like this (Galaxy S3).
    Change the name of the file to 'cache.manifest' . That worked for me.
    Good luck

  4. #3
    Ext JS Premium Member tangix's Avatar
    Join Date
    Mar 2010
    Location
    Stockholm, Sweden
    Posts
    499
    Vote Rating
    46
    tangix has a spectacular aura about tangix has a spectacular aura about tangix has a spectacular aura about

      1  

    Default


    Thank you for the answer, this works. However I lost the LocalStorage information when launching from the bookmark on the Start screen... It seems like the microloader gets the job done in the browser and LocalStorage is retained between launched. I am an iOS guy so please be patient with me when it comes to Android stuff...

    A quick question - is there a way to control the name through app.json or sencha.cfg. The documentation says the file is named "cache.manifest" but as the documentation is pretty sketchy at best, I can't find anything if it is possible to configure this name.

  5. #4
    Sencha Premium Member
    Join Date
    Nov 2012
    Posts
    12
    Answers
    1
    Vote Rating
    0
    d.kauthen is on a distinguished road

      0  

    Default


    thats a good question, one for the sencha team ??

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar