Topic
6 replies Latest Post - ‏2012-11-12T06:47:34Z by SystemAdmin
SystemAdmin
SystemAdmin
300 Posts
ACCEPTED ANSWER

Pinned topic how to disable WL direct update

‏2012-11-09T09:24:26Z |
Hi,
I already changed:
wlInitOptions = {
connectOnStartup : false
}
  • SystemAdmin
    SystemAdmin
    300 Posts
    ACCEPTED ANSWER

    Re: how to disable WL direct update

    ‏2012-11-09T09:32:33Z  in response to SystemAdmin
    Sorry, miss more infor:
    wlInitOptions = {
    connectOnStartup : false
    }

    but still got update popup after calling WL.Client.connect

    so, anyway to disable WL direct update ?
  • IdanAdar
    IdanAdar
    49 Posts
    ACCEPTED ANSWER

    Re: how to disable WL direct update

    ‏2012-11-09T09:41:04Z  in response to SystemAdmin
    I am not in front of my work machine at the moment, but if I recall correctly, you need to go to Worklight Console and tick the option "lock this version".
    Any subsequent deployments will not trigger Direct Update on the client side.

    There is no "switch" to turn it off or on.

    May I ask why you would want to disable it?

    Idan Adar
    QA Engineer
    IBM Worklight Mobile Platform
    • SystemAdmin
      SystemAdmin
      300 Posts
      ACCEPTED ANSWER

      Re: how to disable WL direct update

      ‏2012-11-09T13:32:08Z  in response to IdanAdar
      Thanks!

      I want to disable it, bcs seem it only work with html/js update, when I update native plugin code (objective-c), it seem app was not updated. Is it right ?
      • SystemAdmin
        SystemAdmin
        300 Posts
        ACCEPTED ANSWER

        Re: how to disable WL direct update

        ‏2012-11-09T15:19:16Z  in response to SystemAdmin
        That is correct, when you update native code you have to recompile the apk or ipa and resubmit it to your store.

        Ralph Pina
      • SystemAdmin
        SystemAdmin
        300 Posts
        ACCEPTED ANSWER

        Re: how to disable WL direct update

        ‏2012-11-09T17:52:05Z  in response to SystemAdmin
        hoailt,

        Take a look at Getting Started Module 17 - Direct Update, if you haven't already. Charts 8 and 11 help clarify differences between web vs. native updates.

        Barbara Hampson, Manager, IBM Worklight
        • SystemAdmin
          SystemAdmin
          300 Posts
          ACCEPTED ANSWER

          Re: how to disable WL direct update

          ‏2012-11-12T06:47:34Z  in response to SystemAdmin
          Thank you all for clearify!