Further configure your mobile client

In this topic, you learn how to further configure your mobile client.

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. You can use the Custom Config editor to add XML code to edit your mobile application. Here’s an example:

    <plugin name="cordova-plugin-device" source="npm" />
    <plugin name="cordova-plugin-camera" source="npm" />
    <platform name="ios">
        <preference name="BackupWebStorage" value="none" />
        <preference name="DisallowOverscroll" value="true" />
        <!-- Add more iOS-specific preferences as needed -->
    </platform>
    <edit-config target="NSMicrophoneUsageDescription" file="*-Info.plist" mode="merge">
        <string>Need microphone access to record sounds</string>
    </edit-config>
    <edit-config target="NSLocationWhenInUseUsageDescription" file="*-Info.plist" mode="merge">
        <string>Need location access to find things nearby</string>
    </edit-config>
  4. In Push:IOS, you can download configuration files from the firebase platform to push your mobile client to IOS devices.

  5. In Push:Android, you can download configuration files from the firebase platform to push your mobile client to Android devices.

  6. In Media, you can enter an icon and a splashscreen for your mobile client that is derived from the media library.

  7. Click Save.

Results

  • You have further configured your mobile client.