Managing Cordova plug-ins
With MobileFirst Platform Command Line Interface (CLI), you can use any plug-in in the Cordova Plugin Registry. Third-party plug-ins are not supported by IBM®, therefore you use them at your own risk.
Procedure
- Change directories into your Cordova app. Run cd YourCordovaApp.
- Add a plug-in to your app. Run mfp cordova plugin add. For more information, see cordova plugin add.
- To update the assets for your plug-ins, run mfp cordova plugin update. For more information, see cordova plugin update.
- For Android platform only: If you require the Cordova camera plug-in, you must complete the steps in Preparing a project that uses the Cordova camera plug-in with the Android platform.