IBM MobileFirst Platform is not triggering Remote disable message on iOS for Hybrid app -
we have hybrid application doesn't show remote disable message once change state "active" "access disabled" though app getting disabled can't use anymore.
worklight.properties:
wl.remotedisable.cache.enabled=true wl.remotedisable.cache.refreshintervalinseconds=1
initoption.js (i have added console.log see error in between):
onerrorremotedisabledenial : function (message, downloadlink) { console.log("onerrorremotedisabledenial ......... triggered"); wl.simpledialog.show( appstoreupdatetitle, message, [{text: notnowbutton, handler: function() {wl.app.close();}}, {text: downloadnewversionbtn, handler: function() {wl.app.openurl(downloadlink, "_blank");}}] ); console.log("onerrorremotedisabledenial ......... endded"); },
console.log (from xcode):
2017-03-28 10:51:57.312 grsmobile[73598:5607189] onerrorremotedisabledenial ......... triggered 2017-03-28 10:51:57.315 grsmobile[73598:5607189] warning: attempt present <uialertcontroller: 0x7f9e29e2c000> on <cdvviewcontroller: 0x7f9e29dd0290> view not in window hierarchy! 2017-03-28 10:51:57.315 grsmobile[73598:5607189] onerrorremotedisabledenial ......... endded
the same code works on android not ios.
ibm mobilefirst platform version: 7.1.0.00.20161118-2214
this behavior seems similar apar pi74295, fixed in mobilefirst platform foundation 7.1 builds dated 20170109-1751 (and later). suspect cause same.
i recommend obtain more recent ifix build , apply it, , use build application , confirm if issue resolved.
Comments
Post a Comment