Thanks Daniel, Paul and Mahendra.
We tried to uncomment the two functions onShowScreen and onShowNotification (inside onDeviceReady) in order to bypass the logon registration and passcode initialisation screens.
Now the application is popping up for the X.509 certificate and is able to register on SMP correctly, but it is not able to retrieve the Launchpad app.
We are receiving an 404 error and below is the log:
We think the issue might be because of this line. Do you have any ideas on how to address this?
com.sap.mp.cordova.plugins.authProxy.AuthProxyException: Could not get certificate from Logon Manager. Details: null.
Thanks!
--- LOG ---
10-02 10:05:10.092 18593-18845/com.xxx.fiori.client I/SMP_LOGGER﹕ [CONSOLE] "onFlowSuccess"
10-02 10:05:10.092 18593-18593/com.xxx.fiori.client I/chromium﹕ [INFO:CONSOLE(653)] "IAB close, NO_WINDOW", source: file:///android_asset/www/plugins/kapsel-plugin-logger/www/logger.js (653)
10-02 10:05:10.092 18593-18845/com.xxx.fiori.client I/SMP_LOGGER﹕ [CONSOLE] IAB close, NO_WINDOW
10-02 10:05:10.102 18593-18845/com.xxx.fiori.client D/SMP_AUTH_PROXY﹕ AuthProxy native code invoked with action: sendRequest2
10-02 10:05:10.102 18593-18593/com.xxx.fiori.client I/chromium﹕ [INFO:CONSOLE(653)] "FlowRunnerQueue.runNextFlow, remove flow: 3", source: file:///android_asset/www/plugins/kapsel-plugin-logger/www/logger.js (653)
10-02 10:05:10.102 18593-18845/com.xxx.fiori.client I/SMP_LOGGER﹕ [CONSOLE] FlowRunnerQueue.runNextFlow, remove flow: 3
10-02 10:05:10.112 18593-18593/com.xxx.fiori.client I/chromium﹕ [INFO:CONSOLE(653)] "FlowRunnerQueue.runNextFlow, not flow", source: file:///android_asset/www/plugins/kapsel-plugin-logger/www/logger.js (653)
10-02 10:05:10.112 18593-18845/com.xxx.fiori.client I/SMP_LOGGER﹕ [CONSOLE] FlowRunnerQueue.runNextFlow, not flow
10-02 10:05:10.112 18593-18845/com.xxx.fiori.client D/SMP_APPPREFERENCES﹕ getPreferenceValue() called
10-02 10:05:10.112 18593-18845/com.xxx.fiori.client D/SMP_AUTH_PROXY﹕ AuthProxy native code invoked with action: isInterceptingRequests
10-02 10:05:10.112 18593-18845/com.xxx.fiori.client D/SMP_APPPREFERENCES﹕ Set: key: httpsConversionInEffect, value: false
10-02 10:05:10.122 18593-18950/com.xxx.fiori.client D/SMP_AUTH_PROXY﹕ Setting method to GET
10-02 10:05:10.142 18593-18593/com.xxx.fiori.client D/SMP_CACHE_MANAGER﹕ Setting the application URL to http://xxxx.xxx.xxx:8082/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?format=xml
10-02 10:05:10.142 18593-18845/com.xxx.fiori.client D/SMP_APPPREFERENCES﹕ Set: key: fioriURL, value: http://xxxx.xxx.xxx:8082/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?format=xml
10-02 10:05:10.142 18593-18845/com.xxx.fiori.client D/SMP_APPPREFERENCES﹕ Set: key: previousFioriURL, value: http://xxxx.xxx.xxx:8082/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?format=xml
10-02 10:05:10.142 18593-18845/com.xxx.fiori.client D/SMP_AUTH_PROXY﹕ AuthProxy native code invoked with action: isInterceptingRequests
10-02 10:05:10.142 18593-18950/com.xxx.fiori.client D/SMP_LOGON﹕ getLogonCertificate invoked.
10-02 10:05:10.142 18593-18950/com.xxx.fiori.client D/SMP_LOGON﹕ Returning a certificate from Afaria.
10-02 10:05:10.142 18593-18845/com.xxx.fiori.client D/SMP_APPPREFERENCES﹕ getPreferenceValue() called
10-02 10:05:10.142 18593-18950/com.xxx.fiori.client D/SMP_LOGON﹕ LogonManagerKeyManager initialized with appID: null
10-02 10:05:10.142 18593-18950/com.xxx.fiori.client E/SMP_AUTH_PROXY﹕ Getting certificate from Logon Manager failed due to exception: java.lang.reflect.InvocationTargetException
10-02 10:05:10.152 18593-18806/com.xxx.fiori.client D/SMP_CACHE_MANAGER﹕ Checking for cached file.
10-02 10:05:10.152 18593-18950/com.xxx.fiori.client I/System.out﹕ (HTTPLog)-Static: SBServiceAPI: getService class android.os.ServiceManager
10-02 10:05:10.152 18593-18950/com.xxx.fiori.client I/System.out﹕ (HTTPLog)-Static: isShipBuild true
10-02 10:05:10.152 18593-18950/com.xxx.fiori.client I/System.out﹕ (HTTPLog)-Thread-16878-458497242: SmartBonding Enabling is true, SHIP_BUILD is true, log to file is false, DBG is false
10-02 10:05:10.172 18593-18806/com.xxx.fiori.client D/SMP_CACHE_MANAGER﹕ Loading from server: http://xxxx.xxx.xxx:8082/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?smphomebuster=4215972460806370&format=xml
10-02 10:05:10.182 18593-18900/com.xxx.fiori.client D/SMP_AUTH_PROXY﹕ key (java.nio.SelectionKeyImpl@66ec2a) is acceptable.
10-02 10:05:10.202 18593-18900/com.xxx.fiori.client D/SMP_AUTH_PROXY﹕ key is readable.
10-02 10:05:10.212 18593-18599/com.xxx.fiori.client W/art﹕ Suspending all threads took: 6.514ms
10-02 10:05:10.212 18593-18946/com.xxx.fiori.client D/SMP_AUTH_PROXY﹕ Redirecting intercepted request through AuthProxy.
10-02 10:05:10.212 18593-18946/com.xxx.fiori.client D/SMP_AUTH_PROXY﹕ url after https conversion: https://xxxx.xxx.xxx:8082/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?smphomebuster=4215972460806370&format=xml
10-02 10:05:10.212 18593-18946/com.xxx.fiori.client D/SMP_AUTH_PROXY﹕ Configuring request to use all-purpose key manager for certificate if necessary.
10-02 10:05:10.222 18593-18946/com.xxx.fiori.client D/SMP_AUTH_PROXY﹕ Setting method to GET
10-02 10:05:10.222 18593-18946/com.xxx.fiori.client D/SMP_LOGON﹕ getLogonCertificate invoked.
10-02 10:05:10.222 18593-18946/com.xxx.fiori.client D/SMP_LOGON﹕ Returning a certificate from Afaria.
10-02 10:05:10.222 18593-18946/com.xxx.fiori.client D/SMP_LOGON﹕ LogonManagerKeyManager initialized with appID: flight.odata
10-02 10:05:10.232 18593-18946/com.xxx.fiori.client D/SMP_LOGON﹕ LogonManagerKeyManager certInfo: null
10-02 10:05:10.232 18593-18946/com.xxx.fiori.client D/SMP_LOGON﹕ Certificate info of certificate retrieved from Logon Manager is null
10-02 10:05:10.412 18593-18946/com.xxx.fiori.client D/TIMAKeyChain﹕ isTimaKeystoreAndCCMEnabled called
10-02 10:05:10.472 18593-18946/com.xxx.fiori.client D/TIMAKeyChain﹕ isTimaKeystoreAndCCMEnabled called
10-02 10:05:10.472 18593-18950/com.xxx.fiori.client E/SMP_AUTH_PROXY﹕ com.sap.mp.cordova.plugins.authProxy.AuthProxyException: Could not get certificate from Logon Manager. Details: null.
10-02 10:05:10.482 18593-18845/com.xxx.fiori.client E/SMP_LOGGER﹕ [SMP_SETTINGS_JS] Setting Exchange failed calling the error callback funciton
10-02 10:05:10.482 18593-18845/com.xxx.fiori.client D/SMP_LOGGER﹕ [SMP_SETTINGS_JS] Setting Exchange failedExchange Failed
10-02 10:05:10.592 18593-18946/com.xxx.fiori.client D/SMP_AUTH_PROXY﹕ AuthProxy response status: 404
10-02 10:05:10.592 18593-18946/com.xxx.fiori.client D/SMP_AUTH_PROXY﹕ status code of redirected request: 404
10-02 10:05:10.632 18593-18946/com.xxx.fiori.client E/SMP_AUTH_PROXY﹕ AuthoProxyException posts onReceivedError: Error code=-14 Description=File not found. URL=https://xxxx.xxx.xxx:8082/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?smphomebuster=4215972460806370&format=xml ErrorType=Err_Type_FileNotFound
10-02 10:05:10.632 18593-18593/com.xxx.fiori.client I/SMP_ONLINE﹕ file:///android_asset/www/CannotReachHost.html?failingUrl=https%3A%2F%2Fxxxx.xxx.xxx%3A8082%2Fsap%2Fopu%2Fodata%2FIWBEP%2FRMTSAMPLEFLIGHT_2%2F%3Fsmphomebuster%3D4215972460806370%26format%3Dxml&errorType=Err_Type_FileNotFound
10-02 10:05:10.632 18593-18900/com.xxx.fiori.client D/SMP_AUTH_PROXY﹕ key is writable.
10-02 10:05:10.722 18593-18593/com.xxx.fiori.client W/ContextImpl﹕ Failed to ensure directory: /storage/extSdCard/Android/data/com.xxx.fiori.client/files
10-02 10:05:10.722 18593-18593/com.xxx.fiori.client W/ContextImpl﹕ Failed to ensure directory: /storage/extSdCard/Android/data/com.xxx.fiori.client/cache
10-02 10:05:10.752 18593-18593/com.xxx.fiori.client V/StatusBar﹕ StatusBar: initialization
10-02 10:05:10.762 18593-18950/com.xxx.fiori.client D/SMP_ATTACHMENT_VIEWER﹕ FileNotFoundException while reading delete list file, must be no files to delete.
10-02 10:05:10.842 18593-18593/com.xxx.fiori.client W/art﹕ Attempt to remove local handle scope entry from IRT, ignoring
10-02 10:05:10.882 18593-18593/com.xxx.fiori.client W/BindingManager﹕ Cannot call determinedVisibility() - never saw a connection for the pid: 18593