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

Procedure

  1. In the Cockpit, go to Administration and click Mobile Client.

    Result: The table of existing mobile clients open.

  2. Click your mobile client.

    Result: The settings of the mobile client open in the General tab.

  3. Go to the Plugins tab. There are three ways to add plugins:

    1. Click +Add: An empty field opens. You can enter the name of the plugin.

    2. 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.

    3. 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.

Results

  • You have configured the device settings of your mobile client.