Configure the plugins of your mobile client
In this topic, you learn how to add Apache Cordova plugins to your mobile client. The plugins you see after first opening are the recommended set of plugins.
Prerequisites
-
You have configured the general information of your mobile client in Configure general information about your mobile client.
Procedure
-
In the Cockpit, go to Administration and click Mobile Client.
Result: The table of existing mobile clients open.
-
Click your mobile client.
Result: The settings of the mobile client open in the General tab.
-
Go to the Plugins tab. There are three ways to add plugins:
-
Click +Add: An empty field opens. You can enter the name of the plugin.
-
Click Add from Library: A new window with the list of available Cordova plugins in the system library opens. Choose the plugin you want and click Select.
-
Click Add from NPM: A new window with the list of available Cordova plugins from the NPM service opens. Choose the plugins you want and click Select.
You can click Reset to return to the default set of plugins that is recommended.
The default plugins are the following:
-
Default plugins |
---|
cordova-plugin-advanced-http |
cordova-plugin-androidx-adapter |
cordova-plugin-camera |
cordova-plugin-device |
cordova-plugin-dialogs |
cordova-plugin-file |
cordova-plugin-file-opener2 |
cordova-plugin-geolocation |
cordova-plugin-inappbrowser |
cordova-plugin-media |
cordova-plugin-media-capture |
cordova-plugin-network-information |
cordova-plugin-secure-key-store |
cordova-plugin-statusbar |
-
Click Save.