facebook

Test center caching JS files

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #329956 Reply

    flin
    Member

    Hi,

    I’ve been using mobione in these lasts days and something that is bothering me is that the Test Center keeps caching javascript files. I have to re-open the entire ide a few times until it updates.
    If I generate the build to my iPhone, it works as I coded, but in the test center it keeps loading an older version of the file.

    How to fix this?

    #329963 Reply

    Hi Flin,

    Sorry to hear that you are getting this issue with mobione. Does this happen with all your designs? Could you provide us a scenario/use case to replicate it? We really apreciate your collaboration, thank you.

    #329966 Reply

    flin
    Member

    I have only 1 design 🙂

    The case is simple, I just wrote an alert(‘hi’); at the mytest_custom.js

    phoneui.documentReadyHandler = function() {
    alert(‘hi’);

    }

    After this I change to alert(‘bye’); but I keep getting Hi at test center and bye at the iphone.

    #329971 Reply

    Hi,

    I’ve been trying to replicate this issue but I have no success. Could you tell me if Local Server is enabled in Mobione settings? on Test Center: Window Menu > Right side appears the settings chose Local WebServer. Also please tell me if your design has enabled the appcache support. See image:

    And just to confirm, are you using the newest version of mobione 2.1.2?

    #329972 Reply

    support-michael
    Keymaster

    @Flin

    An additional comment: are you using the View Source editor in the Test Center when making your changes? If yes, then after saving your file please hit the “Reload” button on the toolbar and see if that has any effect if.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Test center caching JS files

You must be logged in to post in the forum log in