Skip to main content

How To Configure Mobile Client Application on iOS

Introduction

Client Configuration Sets contain device-specific configuration data, such as identity information, that is required by some device types at install time. For most devices, such as Fixed POS, this data is installed to the device during the initial setup process.

However, some devices, such as Mobile POS, require a more convenient and reliable method. The preferred approach is for the device to connect to a web service and download its configuration directly from the central configuration repository at install time. By entering a Registration Serial Number obtained against a device, a Mobile POS is enabled to access the service, identify itself, and receive the device-specific configuration download stored in the Client Configuration Set.

The Client Configuration Set identifies a specific Operating System, Device Type, and an Option Set. Option Sets are configuration entities used to define extension properties of an entity.

The purpose of this guide is to demonstrate the steps required to configure a Mobile Client Application on iOS, from creating option sets through to first app startup.


Overview

This guide covers the configuration for the following:

  1. Attribute / Option Sets - Maintain the available settings used to configure the mobile POS devices.
  2. Client Configuration Sets - Set device-specific configurations including OS, device type, and property values.
  3. Devices - Map devices to the appropriate client configuration set and generate a registration serial number.
  4. Mobile POS App Functionality - Start the app on the mobile device and register using the serial number.

Prior Training / Experience

You should be familiar with the following:

  • Estate Manager Configuration
  • Data Broadcasting

Configuration Steps

Attribute / Option Set

Option Sets are used to create user-configurable data entry fields. The purpose and function of the option set is defined by the Option Set Type. Example Client Configuration sets for iOS devices are already provided. These can be maintained and added as required. The configured options provide the properties required for the mobile device (iOS) when installing a new device.

Navigate to the Product Attribute / Option Set Maintenance application:

Configuration > Merchandise > Attribute / Option Sets

The following example uses the IOS_POS_CONFIG_OPTIONS option set.

Select Edit on the IOS POS Config Options entry.

Attribute / Option Set Maintenance list with the IOS POS Config Options entry highlighted

Select Edit on the IOS POS Config Options entry to view and maintain its properties.

Attribute / Option Set editor showing properties for the IOS POS Config Options set

The option set editor displays all configured properties for the selected set. Select Add to include new properties as required.
note

Data types can be added as Boolean checkboxes, String drop-down, text, or numeric fields.

Properties are added to the ordered list and are available for individual selection. Properties with associated value sets are shown with a +/- expand or collapse option to show or hide the values. While the Option Set is selected, further properties may be added. When individual properties are selected, options are available to Edit, Remove, or Change the position of the property in the list.

Attribute / Option Set editor showing properties with expand and collapse controls

Properties can be reordered, edited, or removed using the toolbar buttons above the list.

Attribute / Option Set editor with expanded property values displayed

Expand a property to view its configured values. Use the toolbar options to modify individual entries.

Client Configuration Set

The Client Configuration Set identifies a specific Operating System, Device Type, and an Option Set. Create a new client configuration using the Client Configuration Option Set created above.

Navigate to the Client Configuration Set Maintenance application:

Administration > Devices > Client Configuration Sets

Client Configuration Set Maintenance list showing existing configuration sets

The Client Configuration Set Maintenance page lists all existing configuration sets. Select Create a new Configuration Set to add a new entry.

To create a new Client Configuration Set, select Create a new Configuration Set on the Client Configuration Set Maintenance page.

Client Configuration Set - General Tab

The General tab captures the basic identity information for the Client Configuration Set.

Client Configuration Set editor on the General tab with fields for Description, Operating System, and Device Type

Set the identity fields on the General tab to define the operating system and device type for this configuration set.

Set the appropriate values on the General tab as follows:

ConfigurationDescription
DescriptionEnter a user-friendly identifier for the Client Configuration Set. Alphanumeric, maximum 40 characters. You may enter the store ID for easy identification.
Operating SystemSelect iOS from the dropdown list of configured operating systems.
Device TypeSelect Mobile POS from the dropdown list of configured device types.

Client Configuration Set - Properties Tab

The Properties tab captures all properties of the Client Configuration Set as defined in the Property Set in Attribute / Option Set maintenance.

Client Configuration Set editor on the Properties tab showing configurable device properties

The Properties tab displays all configurable fields from the selected option set. Set each property as required for the target device.

Set the appropriate values on the Properties tab as follows:

Common Settings

Properties listed under common settings are the mandatory properties that must be set by the user.

Server Connection Properties
EntryExample ValueDescription
Property SetIOS POS Config OptionsSelect the desired Property Set from the dropdown list of predefined Option Sets.
Host Name20.49.195.64Enter the hostname or IP address of the PDP server the client will connect to.
Port39901Enter the port of the PDP server the client will connect to.
Use SSLTick to indicate the device should use SSL when connecting.
Start Process IDPos/ThinClientStartUpIdentifies the Application Process that will implement data exports using this export type.
ThemeNextGen1024x768Set the POS application view theme from the available options: Standard, Next Gen, or Gold.
Parent ThemeNextGenSet the parent theme in line with the Theme, Process Set, and Parent Process Set.
Process SetNextGenSet the process set in line with the Theme, Parent Theme, and Parent Process Set.
Parent Process SetNextGenSet the parent process set in line with the Theme, Process Set, and Parent Theme.
View Type IDHTMLPosPDPThis is applicable only for users of HTML (React) POS.
User Interface Properties
EntryDescription
Disable System KeyboardTick to disable the system keyboard. This is mostly applicable for HTML (React) POS users to avoid overlapping of physical and system keyboards.
Screen OrientationSelect the desired screen orientation from the dropdown list: Portrait, Landscape, Reverse Portrait, Reverse Landscape, Sensor Portrait, or Sensor Landscape.

Additional Settings

Additional settings may be applied as required.

Registration Properties
EntryDescription
Registration URLEnter the registration URL the client will use to get configuration data.
Security Properties
EntryDescription
Settings PasswordSet a password required to access the settings of the application.
Show Settings ButtonTick to make the Settings button visible in the reconnection dialog.
Hide Close ButtonTick to hide the Close button in the reconnection dialog.
User Interface Properties
EntryDescription
Default Splash Screen SizeSet a numeric value to define the default splash screen size.
Splash Screen Text ColourSet a value to define the splash screen text colour.
Splash Screen URLEnter a URL for a background image to appear on the splash screen. If entered, the splash screen background will display the image from the provided URL.
Append Theme To Splash Screen URLTick if the background image should be appended to the theme.
Hardware AccelerationTick to enhance hardware performance when using the app.
Override Back ButtonTick to enable back button override.
Font SizeEnter a numeric value to define the font size.
Font Scale MultiplierEnter a numeric value to define the font scale multiplier.
Font Scale AdditionEnter a numeric value to define the font scale addition.
Allow Message PlaybackTick to enable message playback.
Network Properties
EntryDescription
Automatic ResumeTick to enable automatic resume.
Automatic RecoveryTick to enable automatic recovery.
Keep Alive Frequency (ms)Enter a numeric value to define the number of milliseconds between keep-alive messages. If set to zero, keep-alive will be disabled.
Show Network MonitorTick to make the network monitor visible.
Caching Properties
EntryDescription
Save ResourceTick to save resources in the Document directory.
Clear Saved ResourcesTick to delete saved resources in the Document directory every time the app restarts.
Developer Options
EntryDescription
Save MessagesTick to save messages into local storage.
Development ModeTick to run the application in development mode.
Sound EnableTick to enable button click sounds.

Select Save.

This completes the Client Configuration Set configuration.


Devices

Devices, each with a unique Device ID, are differentiated functionally by the software services offered based on Device Type, and individually by the specific instance (Device ID) executing on a given host name. Each device is defined in association with a Device Type and a specific Client Configuration Set.

Navigate to the Device Maintenance application:

Administration > Devices > Devices

Using the search filter options, select the Location and set Type to Mobile POS.

Device Maintenance list filtered to show Mobile POS devices

Filter the device list by Location and Type set to Mobile POS to locate the target device.

Select Edit on the Mobile POS device to which you need to add the registration.

Device Maintenance editor on the Registration tab showing configuration set, download host, port, serial number, and expiry date fields

Set the registration details on the Registration tab to link the device to its client configuration set and generate a serial number for app setup.

Set the appropriate values on the Registration tab as follows:

EntryExample ValueDescription
Configuration SetIOS - 0001 - HertfordSelect the store configuration set from the dropdown list. This should match the location associated with the device.
Download Host Name20.49.195.54Enter the host address for the Retail EM services server.
Download Port39833Enter the download port for the Retail EM services server.
Registration Serial NumberGenerate a registration serial number to configure the app on the mobile device.
Expiry DateSet an expiry date for the registration serial number.

Select Save.

This completes the Device registration configuration.


Mobile POS App Functionality

On first-time startup, the mobile app will prompt you to select how you would like to configure the application.

Enactor Mobile POS initial configuration screen with options for configuring the application

On first startup, select the configuration method. Choose Configure using a Serial Number to proceed with the registration serial number generated in the previous step.

Select Configure using a Serial Number and enter the serial number generated in the Device Registration step.

Enactor Mobile POS serial number entry screen for device registration

Enter the Registration Serial Number generated from the Device Maintenance screen and confirm to begin the configuration download.

The device will now download the relevant configuration and the app will prompt for a logon.

Enactor Mobile POS logon screen displayed after successful configuration download

After the configuration download completes, the POS logon screen is displayed. The device is now ready for use.

Broadcasting

info

If Option Set updates have been made that alter the Client Configuration Sets, you must broadcast the following entities to deliver the configuration changes to the POS:

  • Device
  • Option Set
  • Registration Serial Number