ibm mobilefirst - IBM Worklight - How to silently update the application's web resources? -


i want silently update web resources of application using direct update feature.

i did not manage find related documentation that.
can give me idea on how proceed?

  1. i generated apk application app version 1.0.
  2. with modifications in ui generated 1 more apk version 1.1.
  3. now again change generated apk third version v 1.2.(latest)

now intention if user has apk 1.0 should update user version deprecated , provide link latest version.
if user has apk version 1.1 has alert user update available.
these things able achieve using direct update. when trying same silent update not working.

the property you're looking for updatesliently set true in initoptions.js.
work, required connectonstartup set true well.

it seems working in worklight 6.0, fail in worklight 5.0.6; have opened defect this.

in case,
steps have described incorrect. these steps direct update, silent or not:

  1. create app, add environment
  2. build , deploy
  3. launch app on device
  4. change web resources in app (images, html, javascript)
  5. re-build , deploy app
  6. re-open app / bring foreground

if changing version id, changes make web resources not reach destination.

changes done version="1.0", reach apps running version "1.0"; if value changes reach apps of new value.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -