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

Pinned topic how to disable WL direct update

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

    Re: how to disable WL direct update

    ‏2012-11-09T09:32:33Z  
    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

    Re: how to disable WL direct update

    ‏2012-11-09T09:41:04Z  
    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

    Re: how to disable WL direct update

    ‏2012-11-09T13:32:08Z  
    • IdanAdar
    • ‏2012-11-09T09:40:22Z
    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
    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

    Re: how to disable WL direct update

    ‏2012-11-09T15:19:16Z  
    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 ?
    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

    Re: how to disable WL direct update

    ‏2012-11-09T17:52:05Z  
    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 ?
    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

    Re: how to disable WL direct update

    ‏2012-11-12T06:47:34Z  
    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
    Thank you all for clearify!