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?
- i generated apk application app version 1.0.
- with modifications in ui generated 1 more apk version 1.1.
- 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:
- create app, add environment
- build , deploy
- launch app on device
- change web resources in app (images, html, javascript)
- re-build , deploy app
- 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
Post a Comment