Hi Experts,
We are trying to execute Kapsel AppUpdate plugin as described in below link:
Getting Started with Kapsel - Part 3 -- AppUpdate
We are using SMP3 SP07 with SP08 SDK. Cordova version is 4.3. When we deploy app to Mobile device it gives error message [ERROR at (line#0)]. We couldn't find what caused that error message to pop up. Would appreciate if could get some helpful hint.
LogCat is showing below relevant messages:
06-24 11:49:42.848: D/CordovaLog(1893): file:///android_asset/www/plugins/com.sap.mp.cordova.plugins.logger/www/logger.js: Line 651 : rule
06-24 11:49:42.848: I/chromium(1893): [INFO:CONSOLE(651)] "rule", source: file:///android_asset/www/plugins/com.sap.mp.cordova.plugins.logger/www/logger.js (651)
06-24 11:49:42.849: I/SMP_LOGGER(1893): [CONSOLE] rule
06-24 11:49:42.850: D/CordovaLog(1893): file:///android_asset/www/plugins/com.sap.mp.cordova.plugins.logger/www/logger.js: Line 651 : {"id":"r3","condition":{"state":{"status":"new"},"context":null}}
06-24 11:49:42.850: I/chromium(1893): [INFO:CONSOLE(651)] "{"id":"r3","condition":{"state":{"status":"new"},"context":null}}", source: file:///android_asset/www/plugins/com.sap.mp.cordova.plugins.logger/www/logger.js (651)
06-24 11:49:42.853: I/SMP_LOGGER(1893): [CONSOLE] {"id":"r3","condition":{"state":{"status":"new"},"context":null}}
06-24 11:49:42.856: D/CordovaLog(1893): file:///android_asset/www/plugins/com.sap.mp.cordova.plugins.logger/www/logger.js: Line 651 : logonCore.getContext
06-24 11:49:42.856: I/chromium(1893): [INFO:CONSOLE(651)] "logonCore.getContext", source: file:///android_asset/www/plugins/com.sap.mp.cordova.plugins.logger/www/logger.js (651)
06-24 11:49:42.857: I/SMP_LOGGER(1893): [CONSOLE] logonCore.getContext
06-24 11:49:42.874: W/SMP_LOGON(1893): LogonCoreException when getting passcode policy: No vault is present!
06-24 11:49:42.875: E/SMP_LOGON(1893): com.sap.maf.tools.logon.core.LogonCoreException: No vault is present!
06-24 11:49:42.875: E/SMP_LOGON(1893): com.sap.maf.tools.logon.core.LogonCore.getSecureStorePasswordPolicy(LogonCore.java:1427)
06-24 11:49:42.875: E/SMP_LOGON(1893): com.sap.maf.html5.android.MAFLogonCoreCDVPlugin.pluginResultWithReturnObject(MAFLogonCoreCDVPlugin.java:1680)
06-24 11:49:42.875: E/SMP_LOGON(1893): com.sap.maf.html5.android.MAFLogonCoreCDVPlugin.getContext(MAFLogonCoreCDVPlugin.java:383)
06-24 11:49:42.875: E/SMP_LOGON(1893): com.sap.maf.html5.android.MAFLogonCoreCDVPlugin.execute(MAFLogonCoreCDVPlugin.java:99)
06-24 11:49:42.876: E/SMP_LOGON(1893): org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:84)
06-24 11:49:42.876: E/SMP_LOGON(1893): org.apache.cordova.PluginManager.exec(PluginManager.java:151)
06-24 11:49:42.876: E/SMP_LOGON(1893): org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:63)
06-24 11:49:42.876: E/SMP_LOGON(1893): org.apache.cordova.ExposedJsApi.exec(ExposedJsApi.java:40)
06-24 11:49:42.876: E/SMP_LOGON(1893): org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
06-24 11:49:42.876: E/SMP_LOGON(1893): org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
06-24 11:49:42.876: E/SMP_LOGON(1893): android.os.Handler.dispatchMessage(Handler.java:102)
06-24 11:49:42.877: E/SMP_LOGON(1893): android.os.Looper.loop(Looper.java:135)
06-24 11:49:42.877: E/SMP_LOGON(1893): android.os.HandlerThread.run(HandlerThread.java:61)
06-24 11:49:42.877: I/ClientHub(1893): ClientHub application not installed on this device
06-24 11:49:42.881: E/MAFLogonCoreCDVPluginLog(1893): CORECDVPlugin: Could not retrieve secure store policy.
06-24 11:49:42.881: I/ClientHub(1893): ClientHub application not installed on this device
06-24 11:49:42.885: W/PluginManager(1893): THREAD WARNING: exec() call to MAFLogonCoreCDVPluginJS.getContext blocked the main thread for 26ms. Plugin should use CordovaInterface.getThreadPool().
06-24 11:49:42.889: D/CordovaLog(1893): file:///android_asset/www/plugins/com.sap.mp.cordova.plugins.logger/www/logger.js: Line 651 : handleCoreResult currentContext
06-24 11:49:42.889: I/chromium(1893): [INFO:CONSOLE(651)] "handleCoreResult currentContext", source: file:///android_asset/www/plugins/com.sap.mp.cordova.plugins.logger/www/logger.js (651)
06-24 11:49:42.890: I/SMP_LOGGER(1893): [CONSOLE] handleCoreResult currentContext
06-24 11:49:42.892: D/CordovaLog(1893): file:///android_asset/www/plugins/com.sap.mp.cordova.plugins.logger/www/logger.js: Line 651 : {"registrationContext":{"password":"","farmId":"0","resourcePath":"","communicatorId":"REST","serverPort":0,"securityConfig":"","https":true,"domain":"","activationCode":null,"serverHost":"","mobileUser":null,"user":""},"policyContext":{},"applicationConnectionId":null,"credentialsByClientHub":false,"applicationEndpointURL":null,"registrationReadOnly":false,"policyReadOnly":true,"afariaRegistration":"automatic"}
Regards,
Affaan