About this task
You can add any of the following plug-ins to your app.
- cordova-plugin-mfp
- cordova-plugin-mfp-push
- cordova-plugin-mfp-jsonstore
- cordova-plugin-mfp-fips
- cordova-plugin-mfp-encrypt-utils
The
cordova-plugin-mfp provides the
MobileFirst SDK
and is required. See
Cordova plug-ins for MobileFirst features for
information about the function of each of the other plug-ins.
What to do next
You can now start developing the
IBM MobileFirst Platform Foundation capabilities
in your Cordova app.
To further develop your
app with features that depend on the MobileFirst Server,
register your app with the server. For more information, see Registering Cordova applications from the MobileFirst Platform CLI.
Important: (Android
and iOS development only.) If you are developing your app for the
Android or iOS platforms, when you add the platform to your app that
contains the
cordova-plugin-mfp plug-in, an existing
file in your app is replaced by a version of the file that is provided
by MobileFirst Platform Foundation. These files are:
- Android: The file MainActivity.java is replaced.
Your original MainActivity.java file is backed
up and renamed MainActivity.original.
- iOS: File main.m is replaced. Your original main.m file
is backed up and renamed main.m.bak.
If you made any changes to the original versions of these files,
you must merge the changes that you made into the new version of the
file that is provided by
IBM MobileFirst Platform Foundation.