Search code examples
ibm-mobilefirstdirect-update

IBM mobileFirst IOS application screen blackout after direct update


Details of Project :

  • Application Framework - Ionic V3.0

  • IBM MobileFirst server(devKit) - Product version: 8.0.0.00-20170911-123510

  • Application Mobilefirst version - config.xml -

    mfp:platformVersion -8.0.0.00-20170218-003050

    plugin name="cordova-plugin-mfp" spec="8.0.2017021815"

It's working fine in android. But in IOS, after finishing of soft update, application screen goes blank (black screen). After killing and restart of application, it's started working fine.

I have implement Direct update feature in mobilefirst 8 application as below :

// Direct Update - Used to trigger a request to the MobileFirst Server, to check for updated web resources. 
WLAuthorizationManager.obtainAccessToken()
.then(
 function () {
   console.log("*** Obtained token successfully.");
 },
 function () {
   console.log("*** Failed obtaining token.");
 }
);

Reference : https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/application-development/direct-update/#secure-direct-update


Solution

  • It's fixed in latest IBM MobileFirst version.