For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Cordova application with MobileFirst start-up flow

In Visual Studio, we can review the start-up process of the Cordova app for Windows with MobileFirst.


Overview

The MobileFirst Cordova plug-in, cordova-plugin-mfp has native asynchronous bootstrap sequence. The bootstrap sequence must be completed before the Cordova application loads the application's main HTML file.

Adding the cordova-plugin-mfp plug-in to a Cordova application adds the index.html file to the application's appxmanifest file. This extends the CordovaActivity native code to perform the MobileFirst initialization.

Parent topic: Developing Cordova apps for Windows