1. #1
    Ext JS Premium Member tangix's Avatar
    Join Date
    Mar 2010
    Location
    Stockholm, Sweden
    Posts
    550
    Vote Rating
    50
    tangix is a jewel in the rough tangix is a jewel in the rough tangix is a jewel in the rough

      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
    178
    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
    550
    Vote Rating
    50
    tangix is a jewel in the rough tangix is a jewel in the rough tangix is a jewel in the rough

      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 ??

  6. #5
    Sencha User
    Join Date
    Mar 2014
    Posts
    2
    Vote Rating
    0
    tdv03790 is on a distinguished road

      0  

    Default Change manifest name during build

    Change manifest name during build


    This is an old thread, but it's still an issue (at least in 2.3.0, cmd version 4.0.0.203)

    Using the helpful information by 29er (thanks!), this was the solution that worked for me after digging around. Before doing the "sencha app build production" command, override the default build properties, by adding the following:

    build.manifest.name=cache.manifest

    To:
    .sencha/app/build.properties in your project


    Quote Originally Posted by 29er View Post
    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

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

      0  

    Default


    goof information thanks!
    my project doesn't even have this file. ( .sencha/app/build.properties ) Did you create the file yourself ?

  8. #7
    Sencha User
    Join Date
    Mar 2014
    Posts
    2
    Vote Rating
    0
    tdv03790 is on a distinguished road

      0  

    Default .sencha/app/build.properties

    .sencha/app/build.properties


    Using the sencha command to generate the project created the .sencha/app/build.properties file along with others.

    (Don't forget like I did, you have to be in the touch folder to run the generate properly). More details here:
    http://stackoverflow.com/questions/1...ssue-in-mac-os

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

      0  

    Default


    thanks that worked !

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."