> This is part 1 of 5 of the full documentation (pages 1–100 of 432).
> The content is paginated: fetch every part to see all of it.
> Next part: https://docs.bluefletch.com/bluefletch-enterprise/llms-full.txt/1
> Page index: https://docs.bluefletch.com/bluefletch-enterprise/llms.txt

> Agents can also search and read this documentation through its [MCP server](https://docs.bluefletch.com/bluefletch-enterprise/~gitbook/mcp).

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
This site has an agentic ask interface you may use to query the documentation dynamically by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.bluefletch.com/bluefletch-enterprise/index.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

---

# BlueFletch Enterprise

Security Management for Rugged / Shared Android Devices

Explore our comprehensive documentation and quickstarts to gain in-depth knowledge of the BlueFletch Enteprise features, capabilities, and functionalities for security management of shared-user Android devices in an enterprise setting.

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Launcher</strong></td><td>Home screen for rugged devices in a shared device model.</td><td></td><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher">BlueFletch Launcher</a></td><td><a href="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FlCBGeMzH01r6z8qCEkU5%2Fimage.png?alt=media&amp;token=ed2636a3-aecb-4dd4-b3fa-397614b5ee31">image.png</a></td></tr><tr><td><strong>Login and SSO</strong></td><td>Authenticate users to your existing Identity Provider and provide SSO to users.</td><td></td><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/authentication-and-sso">Authentication and SSO</a></td><td><a href="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fcp1FG5KH1r6RO5bhlKu4%2Fimage_main_auth.png?alt=media&amp;token=7cec2ce1-6adf-4c96-a7ee-8e9341efd135">image_main_auth.png</a></td></tr><tr><td><strong>Support Application</strong></td><td>Provides device information for data-driven mobile business intelligence.</td><td></td><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/support-application">Support Application</a></td><td><a href="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FlbsPIDmWtRkv8DGoCTBn%2Fimage.png?alt=media&amp;token=2383c739-8535-4900-8266-f800efa6d390">image.png</a></td></tr><tr><td><strong>Device Finder</strong></td><td>Allows users to view status of other store devices.</td><td></td><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/device-finder">Device Finder</a></td><td><a href="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FoW6pkvnyca9CyyFC2ULS%2Fimage.png?alt=media&amp;token=3b15db84-f57f-44a4-849f-171b7067d8c1">image.png</a></td></tr><tr><td><strong>Browser</strong></td><td>Chromium-based browser tailored for enterprise and SSO use.</td><td></td><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/browser">Browser</a></td><td><a href="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FmtEyd86Gmzvpyi1MXjh5%2Fimage.png?alt=media&amp;token=5df681a5-2c6b-43b9-953e-f4b4b71278cf">image.png</a></td></tr><tr><td><strong>Chat</strong></td><td>Messaging application for enterprise communications.</td><td></td><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/chat">Chat</a></td><td><a href="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FK1ASglXF9bCmHAAhPt7e%2Fimage.png?alt=media&amp;token=a273ad09-33a8-4b0c-b2b9-762ddea7da39">image.png</a></td></tr><tr><td><strong>Playbook Tools</strong></td><td>Device management toolset for increased functionality and flexibility.</td><td></td><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/playbook-agent">Playbook Agent</a></td><td><a href="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FK4rtOvaWdTKZsYOAWCFP%2Fimage.png?alt=media&amp;token=41edca50-fd22-41a4-871a-78ae426c1e99">image.png</a></td></tr><tr><td><strong>Portal</strong></td><td>Manage and monitor your organization's devices and deployments.</td><td></td><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/portal">Portal</a></td><td><a href="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FloRsmrJoxQjpUlNNUy9g%2Fimage.png?alt=media&amp;token=185bf24d-91ed-44ce-a432-a9cc9182d1bc">image.png</a></td></tr><tr><td><strong>Bluefletch Identity</strong></td><td>Flexible authentication and authorization for shared workforce devices.</td><td></td><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/workforce-identity">BlueFletch Identity</a></td><td><a href="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FwoJOqKup4dy2b94Q9uBm%2Fimage.png?alt=media&amp;token=b511146d-097d-479d-bc25-56af06b82778">image.png</a></td></tr></tbody></table>


# BlueFletch Launcher

The BlueFletch Enterprise Launcher is a highly secure and customizable home screen replacement for shared Android workforce devices that ties into all major Identity Providers. Through its enterprise single sign-on (SSO), role-based app access, and modern re-authentication methods, users can have fast and reliable access to business-critical applications and data.

Launcher 4 delivers improved security, streamlined usability, and greater operational efficiency for shared workforce devices. Key updates include a redesigned configuration structure, advanced integration capabilities, an intuitive user interface, and expanded options for security and customization.

**Frictionless Login Experience:** Eliminate the need to recall or repeatedly enter your username and password. Get immediate and secure access to all web, mobile, legacy, and 3rd party apps through secure single sign-on.

**Seamless Integration with Major IdPs:** Provide the fastest login experience possible to authenticate users. Tie into your existing identity providers (IdPs) such as Entra ID, Okta, Google Auth, Ping, LDAP and other providers.

**Modern Re-Authentication Methods:** Instantly access devices and apps instead of fumbling with login credentials. Support multiple re-authentication methods such as NFC, FaceRec, Fingerprint Biometrics, Barcode, and PIN for added ease of use.

**Advanced Security Features:** Prevent non-authorized users from accessing sensitive company data. Configure apps by user role, block side-loaded app installation, clear data on logout, and remotely disable access to settings.

**Total Device Visibility:** Safeguard Android device fleets and reduce device loss with integrated support tooling. Capture login/logout events, view login and user data, trigger built-in low battery alerts, and find missing devices using network access points.

Click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/whats-new-in-l4) to explore what's new in Launcher 4.

{% hint style="info" %}
Launcher 3 will continue to be supported in maintenance mode only. For the older Launcher 3 documentation, click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3).
{% endhint %}


# What's new in L4

BlueFletch Launcher 4 marks a significant step forward in frontline mobile device management. It delivers improved security, streamlined usability, and greater operational efficiency for shared workforce devices. Key updates include a redesigned configuration structure, advanced integration capabilities, an intuitive user interface, and expanded options for security and customization.

These enhancements help enterprises better secure and manage their mobile devices, meeting the demands of today’s dynamic work environments. To ensure full compatibility and optimal performance, update your BlueFletch environment to the latest version.

## Key Feature Changes

The key changes in Launcher 4 are:

### Extended Display

* Allows users to utilize their devices with a larger screen and connected peripherals using a compatible USB docking station.
* Creates a familiar desktop screen UI for ease of navigation while maintaining the same Launcher access and security controls.

Click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/extended-display) to learn more.

### Application Configurations

* Introduces a new appConfig object to centralize configurations for individual applications, including BF Support Agent, BF Chat, BF Keyboard, BF Browser, BF EPM Config, BF Remote Control, and BF Device Finder.
* Simplifies configuration management and ensures consistency across applications.

Click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/technical-guide/configuration-structure-new) to learn more.

### **Application Object Variables**

* Focuses on reusable app configurations using key-value pairs.
* Allows overriding specific fields (e.g., labels) for unique group customization.

Click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/configurable-layouts/application-object-variables) to learn more.

### **Custom Field Display**

* Enables the use of IMEI as a unique device identifier.
* Allows customers to configure the Launcher to display the IMEI in the header.

Click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/theming/custom-field-display#enabling-imei-functionality) to learn more.

### **Custom Intents Platform Actions**

* Enables polling for changes or updates to the Site List URL.
* Triggers updates via the broadcast action com.bluefletch.action.ACTION\_UPDATE\_SITES.

Click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/custom-intents/platform-actions#update-site-list) to learn more.

### **Icon Shapes**

* Introduces the iconShape field to define app icon shapes in the main workspace.
* Supported values: roundedCorner, square, squircle, and circle.

Click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/theming/icon-shape) to learn more.

### **Luggage Tag Geofence Support**

* Adds geofencing lockdown functionality for cellular connected devices.
* Automatically locks devices when they exit the geofence perimeter.

Click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/device-loss-prevention/luggage-tag#enabling-geofence-settings) to learn more.

### **Quick Start Widget**

* Supports layout options like columnSpan and rowSpan.
* Offers dynamic placement and widget functionality (i.e., as a footer or anywhere in the workspace).

Click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/configurable-layouts/widgets#quick-start-bar-widget) to learn more.

### **Search Widget**

* Added support for a search widget that can be placed in the footer.
* Supports criteria conditions for preferred display locations.

Click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/configurable-layouts/widgets#search-widget) to learn more.

### **Secure Device**

* Introduces a dedicated secureDevice config block.
* Adds a new enabled field to easily toggle secureDevice mode on or off.

Click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/device-loss-prevention/secure-device-mode) to learn more.

### **Site Information Service Updates**

* Supports immediate updates via the broadcast action com.bluefletch.action.ACTION\_UPDATE\_SITES.
* Eliminates the need for manual siteListUrl changes.

Click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/site-information-service#setting-up-site-list-automatic-updates) to learn more.

### **Tabbed Layouts**

* Introduces tabbed layouts for app grouping.
* Includes a widget with shortcuts to tab pages.

Click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/configurable-layouts/tabbed-layouts) to learn more.

## **Package Name Change**

To better support Google App Verification, Launcher will now start using the package name **`com.bluefletch.ems.emm.launcher`** to align with the current package downloaded from the Managed Play Store. If your Launcher is installed from the Managed Play Store, you are already using the correct package name. If you downloaded Launcher from the BFE Portal, you are most likely using the old **`com.bluefletch.launcher`** namespace. In this scenario, refer to the [Upgrading to L4](#upgrading-to-launcher-4) section for more information.

## Configuration Changes

You should be able to use your current Launcher 3 configuration with the new Launcher 4. Some newer features may require using the new app configuration section, but you can make those changes after you've upgraded the Launcher application.

## Upgrading to Launcher 4

Migrating from Launcher 3 to Launcher 4 equips your devices with the latest feature enhancements, new functionalities and improved performance. Launcher 4 also aligns strongly with Google Play app policies and requirements requiring a namespace change for customers that use the sideload version of the APK. Because of this, BlueFletch has provided both manual and automated procedures to ensure a smooth upgrade from Launcher 3 to Launcher 4.

Click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/whats-new-in-l4/upgrading-to-l4) to learn more.

## Release Notes:

Click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/release-notes) for Launcher 4 release notes.


# Upgrading to L4

Migrating from Launcher 3 to Launcher 4 equips your devices with the latest feature enhancements, new functionalities and improved performance. Launcher 4 also aligns strongly with Google Play app policies and requirements requiring a namespace change for customers that use the sideload version of the APK. Because of this, BlueFletch has provided both manual and automated procedures to ensure a smooth upgrade from Launcher 3 to Launcher 4.

## Upgrading Launcher in Managed Play Store

{% hint style="success" %}
This applies to your environment if your currently installed Launcher has the package name `com.bluefletch.ems.emm.launcher`
{% endhint %}

If you have installed Launcher via the Managed Play Store (e.g. via Intune or other MDM via Android Enterprise), this process will be a simple version upgrade — select the latest 4.x closed track and Launcher 4 will install over the existing Launcher 3.

## Upgrading Launcher installed via MDM (sideload)

{% hint style="success" %}
This applies to your environment if your currently installed Launcher has the package name `com.bluefletch.launcher`.
{% endhint %}

If you have installed Launcher by downloading the APK from the BFE Portal, this process involves uninstalling the Launcher 3 package named `com.bluefletch.launcher` and installing the new Launcher 4 package named `com.bluefletch.ems.emm.launcher`. Since MDMs have varying degrees of capabilities in terms of swapping applications, below are both manual and automated processes that can be used to upgrade to Launcher 4.

The manual process follows a standard procedure including checksum validation to ensure APK integrity. The automated process leverages the Launcher Migration Tool for a seamless transition to the latest version.

### Manual Process

1. Navigate to your BlueFletch Portal and go to **Admin > Downloads**.
2. Download the latest version of Launcher 4 (or a desired previous version).
3. (Optional) Use an MD5 tool to generate a checksum for the downloaded APK and save it for future reference.
4. Retrieve the checksum from **Admin > Downloads** and compare it to the one generated in the previous step.
5. Install the downloaded application on a device currently running Launcher 3.
6. Uninstall the previous Launcher 3 version using the following command:

`adb uninstall com.bluefletch.launcher (or the relevant BlueFletch package name)`

7. Install the new Launcher 4 APK using the following command:

`adb install {EMS Launcher apk file path}`

### Automated Process

1. Navigate to your BlueFletch Portal and go to **Admin > Downloads**.
2. Download the latest **Launcher 4 Migration Tool**.
3. Install the Launcher 4 Migration Tool on the device.
4. Run the following intent from your MDM to initiate the migration process:

**SOTI intent:**

```
sendintent -a "intent:#Intent;action=android.intent.action.MAIN;component=com.bluefletch.upgradetool/com.bluefletch.upgradetool.ui.silent.SilentInitActivity;S.url=PATH_TO_LAUNCHER4_DOWNLOAD;S.orgId=YOUR_BF_ORG_ID;S.checksum=CHECKSUM_FROM_LAUNCHER4_DOWNLOAD;end"
```

**Workspace ONE intent:**

```
mode=explicit,action=android.intent.action.MAIN,package=com.bluefletch.upgradetool,class=com.bluefletch.upgradetool.ui.silent.SilentInitActivity,extraString=url=PATH_TO_LAUNCHER4_DOWNLOAD,extraString=orgId=YOUR_BF_ORG_ID,extraString=checksum=CHECKSUM_FROM_LAUNCHER4_DOWNLOAD,broadcast=false
```

**Zebra StageNow XML:**

```xml
<wap-provisioningdoc>
  <characteristic version="10.5" type="Intent">
    <parm name="Action" value="StartActivity" />
    <parm name="ActionName" value="android.intent.action.MAIN" />
    <parm name="Package" value="com.bluefletch.upgradetool" />
    <parm name="Class" value="com.bluefletch.upgradetool.ui.silent.SilentInitActivity" />
    <characteristic type="Extra">
    <!-- Launcher 4 Download URL -->
      <parm name="ExtraType" value="string" />
      <parm name="ExtraName" value="url" />
      <parm name="ExtraValue" value="PATH_TO_LAUNCHER4_DOWNLOAD" /> 
    </characteristic>
    <characteristic type="Extra1">
    <!-- Org ID -->
      <parm name="Extra1Type" value="string" />
      <parm name="Extra1Name" value="orgId" />
      <parm name="Extra1Value" value="YOUR_BF_ORG_ID" />
    </characteristic>
    <characteristic type="Extra2">
    <!-- Launcher 4 Download Checksum -->
      <parm name="Extra2Type" value="string" />
      <parm name="Extra2Name" value="checksum" />
      <parm name="Extra2Value" value="CHECKSUM_FROM_LAUNCHER4_DOWNLOAD" />
    </characteristic>
  </characteristic>
</wap-provisioningdoc>
```

**ADB equivalent:**

```
adb shell am start -n com.bluefletch.upgradetool/com.bluefletch.upgradetool.ui.silent.SilentInitActivity --es url "PATH_TO_LAUNCHER4_DOWNLOAD" --es orgId "YOUR_BF_ORG_ID" --es checksum "CHECKSUM_FROM_LAUNCHER4_DOWNLOAD"
```

#### Intent Summary

The following summarizes the intent to send, including the target package and activity, the required extras, and the optional extras.

| Target       | Value                                                     |
| ------------ | --------------------------------------------------------- |
| **Package**  | `com.bluefletch.upgradetool`                              |
| **Activity** | `com.bluefletch.upgradetool.ui.silent.SilentInitActivity` |

<table><thead><tr><th width="196.01171875">Extra</th><th width="115.7734375">Type</th><th width="111.23828125">Required</th><th>Description</th></tr></thead><tbody><tr><td><code>url</code></td><td>String</td><td>Yes</td><td>Download URL for the Launcher 4 APK</td></tr><tr><td><code>orgId</code></td><td>String</td><td>Yes</td><td>Your BlueFletch organization ID</td></tr><tr><td><code>checksum</code></td><td>String</td><td>Yes</td><td>MD5 checksum of the Launcher 4 APK</td></tr><tr><td><code>backoffDelayMinutes</code></td><td>Long</td><td>No</td><td>Minutes to wait before retrying the upgrade after attempt that did not meet constraints. (default: 5)</td></tr></tbody></table>

* To obtain the **URL**, navigate to **Admin > Downloads** in your BlueFletch Portal, locate "BF Launcher" (this is Launcher 4), and click "Copy URL".
* To obtain your **orgId**, navigate to **Admin > Organization** in your BlueFletch Portal.
* To obtain the **checksum value**, navigate to **Admin > Downloads** in your BlueFletch Portal, locate "BF Launcher", and click "Copy Checksum".

## Configuration Changes

You should be able to use your current Launcher 3 configuration with the new Launcher 4. Some newer features may require using the new app configuration section, but you can make those changes after you've upgraded the Launcher application.


# Configurable Layouts

Configurable Layouts enable administrators to customize and secure home screens across workforce devices. It defines how apps, shortcuts, tools, and device behaviors are organized and accessed, aligning with user roles and meeting specific operational needs.

**Layouts:** Configures the display of apps, folders, and shortcuts on the home screen by grouping them according to user roles.

**Tabbed Layouts:** Organizes apps into distinct tabs linked to specific layouts and distributes them across multiple pages.

**Quick Start Folder:** Pins a configurable bar of frequently used apps to the main workspace or footer for immediate access.

**Widgets:** Provides role-based, at-a-glance views and additional functionality on the home screen beyond standard application icons.

**Layout Custom Actions:** Executes platform actions directly from the home screen by displaying them as interactive icons within assigned layouts.

**Implied Groups:** Adds layout groups dynamically after login by validating the user's session object against regular expressions.

**Criteria:** Evaluates replacement variables against regular expressions to determine applicable device behaviors or layouts.

**Password Protected Applications:** Restricts access to specific apps, shortcuts, or folders by requiring a configured password upon launch.

**Persistent Foreground App:** Keeps a designated app continuously visible in the foreground across Secured and Open Zones based on criteria.

**Replacement Values:** Substitutes placeholders with actual device, session, or extended attributes for use in widgets, intents, and layouts.

**Orientation Options:** Controls device orientation via per-model settings, sensors, or toggles to lock or rotate the Launcher.

**Application Object Variables:** Defines reusable app or layout configurations as key-value pairs to share across multiple layout groups.

For more information on this feature and details on configuring Layouts, click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/configurable-layouts/layouts).


# Layouts

Layouts is a Launcher feature that controls the applications displayed within the Launcher UI.

### Overview

Launcher enables IT administrators to customize devices and restrict the applications that users can access. The Layouts configuration controls the applications displayed within the Launcher UI. This Launcher feature can organize applications into folders, display shortcuts, and assign applications to an 'Allow' list or a 'Block' list.

### User Guide

Layouts are partitioned based on the user’s role or controlling group. When a user logs into Launcher, the user's Group/Role is determined. This Group/Role must match at least one of the layout groupings.

By default, the '`OpenZone`' content is equivalent to the group "`*`", which is the group when the user is not authenticated.

### Feature Configuration

To set up the Layouts feature for a particular device profile or device group, please follow the steps below:

#### Defining App Groups

The recommended way to setup layouts is to setup **application groups** which are logical groupings of your applications. For example:

```json
"layouts" : {
    "WarehouseApps":[ ... apps related to warehouse functions ... ],
    "OfficeApps":[ ... apps related to office functions ... ],
    "OpenZone": [ ... apps available to all users ... ]
},
```

#### Defining App Groups to use based on Role

Once the application groups are defined, the `group_inclusion` field can be configured to display application groups within the Launcher UI that match a specific group or role. An example configuration is shown below:

```json
"group_inclusion": {
    "OpsManager": [
      "WarehouseApps",
      "OfficeApps",
      "OpenZone"
    ],
    "StoreAssociate": [
      "WarehouseApps",
      "OpenZone"
    ],
    "*": [
      "OpenZone"
    ]
  },
```

Examples:

1. A device is booted up, no one is authenticated ("\*" group) so the *OpenZone* apps will be displayed (represented by the "\*" in the group inclusions).
2. User *Joe* logs into the device, and he is a member of group "StoreAssociates", he would see the contents of "WarehouseApps" and "OpenZone" groupings.
3. User *Sara* logs into the device and she is a member of group "OpsManager", she would see the contents of "WarehouseApps", "OfficeApps" and "OpenZone" groupings.
4. User *Anna* logs into the device and she is a member of group "OpsManager and StoreAssociate", she would see the contents of "WarehouseApps", "OfficeApps" and "OpenZone" groupings.

#### Displaying an Application

To display an application, all that is needed is the package name. Optional values can be used to change the label, the start activity, the icon, and the NFC Settings.\
\
To display an application, use the sample configuration below as a guide:

```json
{
    "package" : "com.bluefletch.ems.support"
}
```

#### Changing the Start Activity and Label

Customizing the start activity and label can help users easily identify and access the app that they need or frequently use.

To change the start activity and label, use the sample configuration below as a guide:

```json
{
    "label" : "Vision Settings",
    "package": "com.bluefletch.ems.vision",
    "activity": "PreferenceActivity"
},
{
    "label" : "Vision Training",
    "package": "com.bluefletch.ems.vision",
    "activity": "FaceTrainActivity",
    "icon" : "/sdcard/DCIM/icons/differentLogo.png",
    "nfcEnable": true
},
```

#### Customizing Web Shortcuts

Web shortcuts are URL links to web addresses. A shortcut will navigate the default web browser to the desired URL. To customize a web shortcut that can be added to the home screen layout, use the sample configuration below as a guide:

```json
{
    "label" : "BlueFletch",
    "url" : "https://bluefletch.com",
    "icon" : "/sdcard/DCIM/icons/bluefletch_logo.png"
},
```

The above example will launch the `https://bluefletch.com` website in the default system browser.

You can also specify a different browser package. If the BlueFletch Browser is being used you can also define settings for that particular browser instance:

```
{
    "label" : "BlueFletch",
    "url" : "https://bluefletch.com",
    "icon" : "/sdcard/DCIM/icons/bluefletch_logo.png",
    "browser" : "com.bluefletch.ems.browser",
    "browserOverrides" : {
       "showToolbar" : true
    }
},
```

Refer to the BlueFletch Browser documentation on available override options.

#### Customizing Folders

Organizing apps and shortcuts into their designated folders makes it easier to access them without having to search for them individually.

To create a folder, add the `contents` array, and add the applications or shortcuts that belong in the folder, see example configuration below as a guide:

```json
 {
    "label" : "Tools",
    "icon": "/sdcard/Download/ems/folder_icon.png",
    "contents":[
        {
            "package" : "com.symbol.datawedge"
        },
        {
            "package" : "com.symbol.tool.stagenow"
        },
        {
            "label" : "BlueFletch",
            "url" : "https://bluefletch.com",
            "icon" : "/sdcard/Download/ems/bluefletch_logo.png"
        }
    ]
}
```

If not defined, the default thumbnail for a folder is a preview of the icons of up to four of the applications, shortcuts, and/or actions within it. However, by defining the `"icon"` field, like in the above example, one image file can be substituted as the folder icon.

#### Defining Custom Actions

Actions are shortcuts to launch system actions on the Launcher home screen.

To define custom actions that can be performed on the Launcher home screen, in the example below, clicking on the this icon will adjust the audio notification to 100%:

```json
{
  "action" : "com.bluefletch.ems.AUDIO", 
  "label": "Set Full Volume", 
  "intentExtras": {
    "setting": "ADJUST_AUDIO",    
    "notification": 100
  }
}
```

Refer to the Layout Custom Actions page for available actions that can be put into Layouts.

#### Putting It All Together

For the example described above, the full configuration for the Layouts feature is as follows:

```json
"layouts" : {
    "WarehouseApps":[ ... apps related to warehouse functions ... ],
    "OfficeApps":[ ... apps related to office functions ... ],
    "OpenZone": [ ... apps available to all users ... ]
},
        {
            "package" : "com.symbol.wfc.pttpro"
        },
        {
            "package": "com.bluefletch.ems.deviceinformation"
        },
        {
            "label" : "Vision Settings",
            "package": "com.bluefletch.ems.vision",
            "activity": "PreferenceActivity"
        },
        {
            "label" : "Vision Training",
            "package": "com.bluefletch.ems.vision",
            "activity": "FaceTrainActivity"
        },
        {
            "label" : "Tools",
            "contents":[
                {
                    "package":"com.bluefletch.acc.themerapp"
                },
                {
                    "package" : "com.bluefletch.ems.support",
                    "nfcEnable": true
                },
                {
                    "package" : "com.symbol.datawedge"
                },
                {
                    "package" : "com.symbol.tool.stagenow"
                },
                {
                    "package": "com.bluefletch.go"
                }
            ]
        }
    ],

    "AppGroupB":[
        {
            "package" : "com.symbol.wfc.pttpro"
        },
        {
            "label" : "Vision Training",
            "package": "com.bluefletch.ems.vision",
            "activity": "FaceTrainActivity"
        },
        {
            "package": "com.bluefletch.ems.support",
            "nfcEnable": true
        },
        {
            "package": "com.android.calculator2"
        },
        {
            "package": "com.bluefletch.ems.deviceinformation"
        }
    ],
    "*": [
        {
            "label" : "BlueFletch",
            "url" : "https://bluefletch.com",
            "icon" : "/sdcard/DCIM/icons/bluefletch_logo.png"
        },
        {
            "package": "com.android.calculator2"
        },
        {
            "package" : "com.bluefletch.ems.support"
        },
        {
            "label" : "Tools",
            "contents":[
                {
                    "package":"com.bluefletch.acc.themerapp"
                },
                {
                    "package" : "com.symbol.datawedge"
                },
                {
                    "package" : "com.symbol.tool.stagenow"
                },
                {
                    "package": "com.koushikdutta.vysor"
                }
            ]
        }
    ]
},
```

{% hint style="info" %}
Layouts was introduced in Launcher 2.6.x.
{% endhint %}

{% hint style="info" %}
In Launcher 4, Application Object Variables have been introduced to standardize the use of application objects in respective Layouts. Support for this allows the admin to declare single application object and specify the appObjectKey in applicable layouts.<br>

Click [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/technical-guide/configuration-structure-new#application-objects-applicationobjects) to learn more.
{% endhint %}


# Tabbed Layouts

## Overview

An alternative to the standard layout method, Tabbed Layouts organizes apps into tabs, each linked to specific layouts, and spreads them across multiple pages as needed. When enabled, apps are grouped into tabs and clicking on a tab will jump to that specific page in the workspace.

Configured footers are replaced with a widget similar to the quickStartApps widget. This widget displays icons that act as shortcuts to the first page of each tab.

## User Guide

* Tabs are created by grouping apps in the Launcher configuration. Each tab represents a specific group of apps, such as "AssociateApps".
* Tabs are populated across multiple pages by the Launcher, which automatically organizes apps within each tab.
* The footer widget replaces any configured footers and provides shortcuts for each tab.
* Tab icons in the footer can be tapped to jump directly to the first page of the associated tab.
* Pages within a tab can be swiped through to view all apps in the group.

## Feature Configuration

### Enabling Tabbed Layouts

To enable Tabbed Layouts, set **tabbedLayouts** to true within the Launcher configuration file.

```json
"tabbedLayouts": {
    "enabled": true,
    "showIcons": true,
    "iconSize": 18,
    "showLabels": true,
    "labelFontSize": 12,
    "labelFontColor": "#FFFFFF",
    "backgroundColor": "#14364a",
    "searchEnabled": true,
    "edgeToEdge": true,
    "tabs": [ ... ],
    "criteria_OR": [
      {
        "field": "_${session.userId}",
        "pattern": "^_.+$"
      }
    ]
}
```

### Configuring the Tab Layout

To configure the overall tab layout, use the table below as a guide:

| enabled                                 | Set to **true** to enable tab switching. This will override your footer settings if enabled. default value is **false**                         |
| --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| backgroundColor                         | Set with the hex RGB background color of the tab bar, e.g. "#633200"                                                                            |
| showIcons                               | Set to **true** to display icon indicators for each tab.                                                                                        |
| iconSize                                | Size (in dp) of the icons if shown.                                                                                                             |
| showLabels                              | Set to **true** to show labels below each tab icon.                                                                                             |
| labelFontSize                           | Size (in dp) of the label fonts.                                                                                                                |
| labelFontColor                          | Set with the hex RGB color of the label.                                                                                                        |
| searchEnabled                           | If set to **true** this will insert a search tab as the first tab icon.                                                                         |
| edgeToEdge                              | By default, the tab bar will display as a floating footer widget. To display as a fixed toolbar, Set the edgeToEdge parameter to **true.**      |
| tabs                                    | An array of **tab** objects that define the function for each tab.                                                                              |
| <p>criteria\_OR</p><p>criteria\_AND</p> | Criteria objects that can be used to define when the tab layout will appear (e.g. you can configure the tab widget to only appear after login). |

### Configuring Tabs

Create a tab object for each page/group, using the table below as a guide:

| label     | The tab's display name shown in the footer. Example: "tab1", "tab2".                                                      |
| --------- | ------------------------------------------------------------------------------------------------------------------------- |
| icon      | The icon for the tab, referencing an asset. Example: "assets:bsb".                                                        |
| iconColor | The icon's color. Example: "633200", "000000", "FF5733".                                                                  |
| layouts   | The layouts assigned to the tab. Use "\*" for all apps or specify layouts. Example: \["AssociateApps"], \["ManagerApps"]. |

{% hint style="info" %}
Note that if no applications / shortcuts / widgets will become visible based on the layout groups, the tab itself is omitted from being displayed.
{% endhint %}

### Putting It All Together

Below is a complete example of a Tabbed Layouts configuration:

```json
"tabbedLayouts": {
    "enabled": true,
    "showIcons": true,
    "iconSize": 18,
    "showLabels": true,
    "labelFontSize": 12,
    "labelFontColor": "#FFFFFF",
    "backgroundColor": "#14364a",
    "searchEnabled": true,
    "edgeToEdge": true,
    "criteria_OR": [
      {
        "field": "_${session.userId}",
        "pattern": "^_.+$"
      }
    ],
  "tabs": [
    {
      "label": "tab1",
      "icon": "assets:bsb",
      "iconColor": "633200",
      "layouts": ["*"]
    },
    {
      "label": "tab2",
      "icon": "assets:bsb",
      "iconColor": "000000",
      "layouts": ["AssociateApps", "ManagerApps"]
    },
    {
      "label": "tab3",
      "icon": "assets:bsb",
      "iconColor": "FF5733",
      "layouts": ["TabTest"]
    },
    {
      "label": "tab4",
      "icon": "assets:bsb",
      "iconColor": "000000",
      "layouts": ["AssociateApps"]
    }
  ]
}
```


# Quick Start Folder

## Overview <a href="#overview-0" id="overview-0"></a>

The `quickStart` bar in Launcher 4 is a widget that allows frequently-used applications to be added to the Home screen, main workspace, or configured as a footer.

This replaces the previous implementation in Launcher 3, which required designating a folder in a layout as the `quickStartFolder` and limited the display to a single folder on the Home screen. The new design provides more flexibility and easier access to essential apps.

### Quick Start Folder: Launcher 3 vs. Launcher 4

In Launcher 3, the Quick Start Applications Folder is configured by setting `quickStartFolder` to true within a layout group, with only one folder displayed per group on the Home screen. In Launcher 4, this is replaced with a `quickStart` bar widget - which can be placed in the main workspace, configured as a footer, or given the same flexibility as other widgets on other pages.

| Field                    | Launcher 3                                               | Launcher 4                                                                               |
| ------------------------ | -------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| QuickStart Configuration | Set `quickStartFolder` to true within a layout group.    | Configure `quickStart` in the `widgetType` field.                                        |
| Implementation           | Requires designating a folder as the `quickStartFolder`. | `quickStart` bar is now a widget.                                                        |
| Placement Option         | Limited to one folder on the Home screen.                | Can be used in the main workspace, placed as a footer, or configured like other widgets. |

#### Quick Start Folder in Launcher 3

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fja5lM01hrh0xYK6N0Ube%2FL3%20Quick%20Start%20Folder.png?alt=media&amp;token=99d3a951-3c81-43f3-85e1-0a80a56e1351" alt=""><figcaption></figcaption></figure>

### Configuring the Quick Start Bar as a Widget <a href="#configuring-the-quick-start-applications-folder-3" id="configuring-the-quick-start-applications-folder-3"></a>

To configure the quickStart bar as a widget, use the example below as a guide:

```json
{
  "widgetId": "quick-start-001",
  "widgetType": "quickStart",
  "columnSpan": 1,
  "rowSpan": 4,
  "widgetParams": {
    "showLabel": true,
    "applicationList": [
    ...
      {
        "package": "com.bluefletch.ems.web-site.launcher",
        "activity": "SearchActivity",
        "label": "Search"
      },
      {
        "package": "com.bluefletch.web-site.chat"
      },
      {
        "package": "com.bluefletch.ems.web-site.support"
      }
      ...
    ]
  }
}
```

### Enabling the Quickstart Bar as a Footer

To specify the `quickStart` bar as a footer, use the example below as a guide:

```json
"footer": [
  ...
  {
    "id" : "default_authorized",
    "layout" : {
      "widgetId": "quick-start-001",
      "widgetType": "quickStart",
      "columnSpan": 1,
      "rowSpan": 4,
      "widgetParams": {
        "showLabel": true,
        "applicationList": [
        ...
          {
            "package": "com.bluefletch.ems.web-site.launcher",
            "activity": "SearchActivity",
            "label": "Search"
          },
          {
            "package": "com.bluefletch.web-site.chat"
          },
          {
            "package": "com.bluefletch.ems.web-site.support"
          }
          ...
        ]
      }
    },
    "criteria_OR": [
        {
          "field": "_${session.userId}",
          "pattern": "^_.+$"
        }
    ]
  }
  ...
]
```

{% hint style="info" %}
Configuring the Quick Start Bar as a Widget was introduced in Launcher 4.
{% endhint %}


# Widgets

Widgets are additional layout objects that can provide 'at-a-glance' views and additional functionality to just application icons.

## Overview

The BlueFletch Launcher configuration allows placement of different kinds of widgets on the home screen for the user. Like applications and shortcuts, these can configured to be role-based, such that front-line workers may see widgets related to pending or pickup orders, while managers may see high level metrics about the current store operations.

Unlike other Launchers, the BlueFletch Launcher allows the administrator to pre-define the widget configuration and not have to rely on the user to place the widgets themselves.

## Configuring a Widget

Widgets are just another layout object to be included in the `layouts` section of the launcher configuration file. Each widget layout object consists of the following:

<table><thead><tr><th width="255">Field</th><th>Description</th></tr></thead><tbody><tr><td>widgetId</td><td><strong>string</strong> a unique string identifier for this widget. This must be unique across all widgets in the configuration file, and is also used to send data updates to a widget.</td></tr><tr><td>widgetType</td><td><strong>string</strong> describes the type of widget to render. Current available values are: <code>app</code>, <code>list</code>, <code>text</code>, <code>login</code>, <code>session</code>, <code>toolbar</code>, <code>bannerLarge</code>, <code>webview</code>, <code>search</code>, <code>space</code>, <code>quickStart</code></td></tr><tr><td>columnSpan</td><td><strong>number</strong> the number of columns this widget will occupy. This is based on the number of columns specified in the <code>layoutSettings</code> configuration.</td></tr><tr><td>rowSpan</td><td><strong>number</strong> the number of rows this widget will occupy. Each row is one icon high.</td></tr><tr><td>widgetParams</td><td><strong>object</strong> this is a JSON object that contains additional parameters to configure the widget. This object changes based on the <code>widgetType</code> specified above. Available starting in Launcher version 3.22.x.</td></tr></tbody></table>

{% hint style="info" %}
`widgetParams` values also support configuration and session replacement values.
{% endhint %}

Launcher has the ability to host different kinds of widgets. The Launcher can host native application widgets (e.g. widgets that are built into an application). Launcher has other pre-built widgets designed specifically for shared device use.

The following widget types are available:

<table><thead><tr><th width="288.328125">widgetType</th><th>Example</th></tr></thead><tbody><tr><td>"app"</td><td>A placeholder for automatically placing and rendering <a href="#native-application-widgets">native application widgets</a>.</td></tr><tr><td>"bannerLarge"</td><td>A large banner typically used as the <a href="#open-zone-banner-widget">Open Zone header</a>,.</td></tr><tr><td>"session"</td><td>A smaller banner type widget typically used for an <a href="#session-widget">authenticated session</a>.</td></tr><tr><td>"session2"</td><td>Similar to <code>session</code>, this is a smaller banner type widget typically used for an <a href="#session-widget">authenticated session</a>; however, there is no logout button. There is also an option to add a logo.</td></tr><tr><td>"webview"</td><td>A widget that can be used to display HTML content or a website using the Android system <a href="#webview-widget">webview</a>.</td></tr><tr><td>"space"</td><td>A widget that can be used to add blank grid <a href="#space-widget">spaces</a> into the workspace.</td></tr><tr><td>"search"</td><td>A search toolbar widget that directly launches into the Launcher's app / shortcut <a href="#search-widget">search function</a>.</td></tr><tr><td>"text"</td><td>A simple widget that displays a <a href="#text-widget">title text and value</a>.</td></tr><tr><td>"flashlight"</td><td>A widget that can be placed on the workspace to allow the User to toggle the device flashlight on or off.</td></tr></tbody></table>

## Native Application Widgets

These are widgets built into applications that follow the App Widget SDK guidelines from Android as defined in <https://developer.android.com/develop/ui/views/appwidgets/overview>.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FQ21rGFJfgheAJ81OJw94%2FScreen%20Shot%202023-08-17%20at%204.00.17%20PM.png?alt=media&#x26;token=aa2efff4-836d-44d3-9cc7-65c2e007b323" alt="" width="375"><figcaption><p>Launcher displaying the Digital Clock Widget</p></figcaption></figure>

To configure an application widget, use the `widgetType = app` and define the `widgetParams` as follows:

```json

{
    "widgetId" : "digital-clock",
    "widgetType" : "app",
    "columnSpan" : 3,
    "rowSpan" : 1,
    "widgetParams" : {
        "package" : "com.google.android.deskclock"
    }
}
```

The `widgetParams` object for type `app` consists of the following:

<table><thead><tr><th width="296">Field</th><th>Description</th></tr></thead><tbody><tr><td>package</td><td><strong>string</strong> the package name of the application containing the widget.</td></tr><tr><td>componentName</td><td><strong>string (optional)</strong> the full component name of the widget inside the application. This is not required if there is only one widget in the application. If an application has multiple available widgets, specify the full component name here, otherwise the Launcher will use the first enumerated widget.</td></tr></tbody></table>

Below is an example of the clock widget, specifying the analog clock widget provider (instead of the digital clock):

```json
{
    "widgetId" : "analog-clock",
    "widgetType" : "app",
    "columnSpan" : 2,
    "rowSpan" : 2,
    "widgetParams" : {
        "package" : "com.google.android.deskclock",
        "componentName" : "com.google.android.alarmclock.AnalogAppWidgetProvider"
    }
}
```

## Custom Launcher Widgets

These are widgets that are built into the Launcher to allow you to take advantage of widgets without requiring additional native development of widgets into your applications, with several that can be updated by a simple broadcast intent. The following custom Launcher widgets are currently available:

### Text Widget

This widget can be used to display text or a simple value/text combination or an icon/text combination, and can run a custom intent when the widget is tapped.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FU3iBxGd4fbTI0VxzRygv%2FScreen%20Shot%202023-08-17%20at%204.11.13%20PM.png?alt=media&#x26;token=e9ca096f-afcd-4836-935a-21ad0b15886c" alt="" width="375"><figcaption><p>Launcher displaying three Text-type widgets (Pending Orders, For Pickup) and as a Message text.</p></figcaption></figure>

To display a simple text in a widget, specify the title in the widget params:

```json
{
    "widgetId" : "simple-text-1",
    "widgetType" : "text",
    "columnSpan" : 4,
    "rowSpan" : 1,
    "widgetParams" : {
        "defaultTitle" : "Cycle count is due for Aisle 5",
        "onItemClick" : {
            .. Custom Intent Object ..
        }
    }
}
```

To display a simple value/text in a widget, specify the value in the widget params as well as the command to launch the BOPIS application when tapped:

```json
{
    "widgetId" : "simple-text-1",
    "widgetType" : "text",
    "columnSpan" : 2,
    "rowSpan" : 1,
    "widgetParams" : {
        "defaultValue": "23"
        "defaultTitle" : "Pending Orders",
        "onItemClick" : {
            "typeIntent" : "a",
            "package" : "com.mycompany.fulfillmentapp"
        }
    }
}
```

The `widgetParams` object for type `text` consists of the following:

<table><thead><tr><th width="296">Field</th><th>Description</th></tr></thead><tbody><tr><td>defaultTitle</td><td><strong>string</strong> The text to display at the bottom of the widget.</td></tr><tr><td>defaultValue</td><td><strong>string (optional)</strong> If specified, will display the value in large font above the widget. if not specified or blank, the value will be hidden.</td></tr><tr><td>icon</td><td><strong>string (optional)</strong> URL, file path or asset name of the icon image to display. If specified will display the icon above the title. If not specified or blank, the icon will be hidden.</td></tr><tr><td>iconSize</td><td><strong>string (optional)</strong> Size in dp for the icon, if specified. Note that the icon shall always be rendered in a square container.</td></tr><tr><td>onItemClick</td><td><strong>object</strong> A custom intent object that will be triggered when the user taps on the widget. For more information on a configuring a custom intent, refer to this link.</td></tr><tr><td>defaultColor</td><td><strong>string</strong> The font color, in hex code format, of the widget's title and value text. Default is white (#FFFFFF)</td></tr><tr><td>backgroundColor</td><td><strong>string</strong> The color, in hex code format, of the widget's translucent background.</td></tr></tbody></table>

{% hint style="info" %}
Note that you can use replacement values for each of the widget params.
{% endhint %}

### Webview Widget

This widget allows you to display a webpage directly on the Launcher home screen.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FHcsnhXWXy2NUxPrgdpsS%2Fimage.png?alt=media&#x26;token=104c714c-f622-472a-8271-df795cac5a23" alt="" width="375"><figcaption><p>A webview type widget displaying the BlueFletch about page.</p></figcaption></figure>

You can display a webview widget using the configuration below, by specifying the type `webview`

```json
{
    "widgetId" : "web-widget",
    "widgetType" : "webview",
    "columnSpan" : 4,
    "rowSpan" : 3,
    "widgetParams" : {
        "url" : "https://bluefletch.com",
        "allowInteraction" : true,
        "onItemClick" : {
            "typeIntent" : "a",
            "package" : "com.mycompany.fulfillmentapp"
        }
    }
}
```

The `widgetParams` object for type `webview` consists of the following:

<table><thead><tr><th width="296">Field</th><th>Description</th></tr></thead><tbody><tr><td>url</td><td><strong>string</strong> The URL of the webpage to be displayed in the webview</td></tr><tr><td>allowInteraction</td><td><strong>boolean</strong> If set to true, will allow the user to interact with the page like a normal browser, e.g. scroll and tap within the page. Default is <code>false</code>.</td></tr><tr><td>onItemClick</td><td><p><strong>object</strong> A custom intent object that will be triggered when the user taps on the widget. If using this function, <code>allowInteractions</code> must be set to false.</p><p>For more information on a configuring a custom intent, refer to this link.</p></td></tr></tbody></table>

#### Widget Actions in Webview

Using Android deeplink URIs, you can have an element in your HTML widget to open a native application on the device. The webview widget exposes a Javascript interface `WidgetAction` that you can call from inside your page script. In your webpage javascript:

```html
<script>
    function openNativeApp() {
        // Try to call WidgetAction interface if available
        if (typeof WidgetAction !== 'undefined' && WidgetAction.openUri) {
            WidgetAction.openUri('com.acme.inventory://todos');
        } 
    }
</script>
```

### Open Zone Banner Widget

This widget replaces the current fixed header with a widget and comes standard with your default Launcher installation. Beginning Launcher 3.22.x, you can now specify a widget as the header for the open zone by defining a widget within the `"header"` array at the base level of the launcher configuration.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FRzbuuIDkRlkAG3DuEJSs%2FScreen%20Shot%202023-08-17%20at%2012.36.55%20AM.png?alt=media&#x26;token=53c782ba-247a-4be5-bf55-78e823dbaa7a" alt="" width="375"><figcaption><p>Large Banner widget for Open Zone</p></figcaption></figure>

This is configured in Launcher using the following widget configuration, which includes criteria to check that there is no user session:

```json
"header": [
    {
        "id": "default_openzone",
        "layout": {
            "widgetId": "openzone-banner",
            "widgetType": "bannerLarge",
            "columnSpan": 1,
            "rowSpan": 1,
            "widgetParams": {
                "bannerText" : "${launcherState.formattedText}",
                "bannerImage" : "${launcherState.theme.logo}",
                "bannerTitleFontSize": 20,
                "bannerTextFontSize": 15,
                "buttonColor" : "${launcherState.theme.accentColor}",
                "enterButtonText": "Touch to Login",
                "isAuthPresent" : "${launcherState.isAuthPresent}"
            }
        },
        "criteria_OR": [
            {
                "field": "_${session.userId}",
                "pattern": "^_$"
            }
        ]
    }
    ...
]
```

The `widgetParams` object for type `bannerLarge` consists of the following:

<table><thead><tr><th width="296">Field</th><th>Description</th></tr></thead><tbody><tr><td>bannerImage</td><td><strong>string</strong> A URL, filepath or asset for the image logo</td></tr><tr><td>bannerText</td><td><strong>string (optional)</strong> The text to display between the logo and the Login button. You can use replacement variables here to be able to display dynamic information like site, serial number, etc.</td></tr><tr><td>bannerTitleFontSize</td><td><strong>number</strong> A custom font size of the banner title.</td></tr><tr><td>bannerTextFontSize</td><td><strong>number</strong> A custom font size of the banner text.</td></tr><tr><td>useDarkText</td><td><strong>boolean</strong> If set to <code>true</code>, will render the bannerText in dark text to contrast a white wallpaper, otherwise will render the bannerText in light text.</td></tr><tr><td>buttonColor</td><td><strong>string</strong> Hexidecimal representation of a color for the button. The button text will automatically change color based on the appropriate contrast level.</td></tr><tr><td>backgroundColor</td><td><strong>string</strong> Hexadecimal representation of the background. To change the background opacity, add the alpha value as the first two values in the hex string, e.g. #50FFFFFF</td></tr><tr><td>enterButtonText</td><td><strong>string</strong> The custom text to display on the Login button in the banner. By default, the text is LOGIN. Available on <code>bannerLarge</code> widget type.</td></tr><tr><td>isAuthPresent</td><td><strong>boolean</strong> If <code>true</code>, the login button is present in the header; if <code>false</code>, login button is hidden. By using a launcherState variable, Launcher will dynamically set the boolean value based on installation status of the Auth app. Introduced in Launcher version 3.24.11.</td></tr></tbody></table>

### Session Widget

The "session" widget can display your current session information, along with a button to be able to log out or exit your current session. You are able to specify one headline and two additional sub-text under the headline.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FsmTwbSLS2PPWNm0YVryL%2Fimage.png?alt=media&#x26;token=06107be6-8b6f-42d3-a4a2-3ec3186d7f1e" alt="" width="375"><figcaption><p>Session Widget as Header</p></figcaption></figure>

This widget can be configured in Launcher using criteria to check for a current user session, and is represented by the following widget configuration:

```json
"header": [
    ...
    {
        "id": "default_authorized",
        "layout": {
              "widgetId": "session-banner",
              "widgetType": "session",
              "columnSpan": 1,
              "rowSpan": 1,
              "widgetParams": {
                  "heading" : "${session.userName}",
                  "subtitle1" : "${launcherState.formattedText}",
                  "subtitle2" : "",
                  "headingFontSize": 18,
                  "subtitleFontSize": 14,
                  "exitButtonText" : "${res.launcher_base_launcher_button_logout}",
                  "exitButtonColor" : "${launcherState.theme.accentColor}"
              },
              "criteria_OR": [
                {
                  "field": "_${session.userId}",
                  "pattern": "^_.+$"
                }
              ]
         }
     }
 ] 
```

```json
"header": [
    ...
    {
        "id": "default_authorized",
        "layout": {
              "widgetId": "session-banner",
              "widgetType": "session2",
              "columnSpan": 1,
              "rowSpan": 1,
              "widgetParams": {
                  "heading" : "${session.userName}",
                  "subtitle1" : "${launcherState.formattedText}",
                  "subtitle2" : "",
                  "exitButtonText" : "${res.launcher_base_launcher_button_logout}",
                  "exitButtonColor" : "${launcherState.theme.accentColor}"
              },
              "criteria_OR": [
                {
                  "field": "_${session.userId}",
                  "pattern": "^_.+$"
                }
              ]
         }
     }
 ] 
```

{% hint style="info" %}
Learn more about the Criteria functionality on this [page](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/configurable-layouts/criteria).
{% endhint %}

The `widgetParams` object for type `session` consists of the following:

| Field            | Description                                                                                                                                               |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| heading          | **string** The custom text to display in the banner. Usually set as the session username.                                                                 |
| subtitle1        | **string** Custom text 1 to display in the banner.                                                                                                        |
| subtitle2        | **string** Custom text 2 to display in the banner.                                                                                                        |
| headingFontSize  | **number** A custom font size of the heading text.                                                                                                        |
| subtitleFontSize | **number** A custom font size of the subtitle text.                                                                                                       |
| exitButtonText   | **string** The custom text to display on the Login button in the banner. By default, the text is LOGOUT. Available on `session` widget type.              |
| exitButtonColor  | **string** Hexidecimal representation of a color for the button. The button text will automatically change color based on the appropriate contrast level. |

### Search Widget

The "search" widget can be configured in Launcher to provide device Search capability on the home screen.

```json
"footer" : [
  {
    "id" : "default_openzone",
    "layout" : {
      "widgetId": "scan-or-search-01",
      "widgetType": "search",
      "columnSpan": 1,
      "rowSpan": 2
   }
]
```

{% hint style="info" %}
Similar to the Session Widget, a criteria can likewise be applied in the Footer section to conditionally display the Search Widget. Available in Launcher 4.
{% endhint %}

### Space Widget

The "space" widget type can be used to display an empty space the size of one or more application icons on a layout. This is useful for creating a separation between groups of apps to differentiate their purposes (for example, a delineation between inventory apps and point of sale apps). In particular, if enough icon fields are taken up by the widget, page break is created between the groups.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FE2d0MeKAXv5asCxmqiZ3%2FScreenshot%202025-07-23%20at%202.26.12%E2%80%AFPM.png?alt=media&#x26;token=5a9cbfcd-51e3-40c7-9cac-b95fa12938a1" alt="" width="375"><figcaption></figcaption></figure>

The dimensions of the widget are defined by `rowSpan` (horizontal width) and `columnSpan` (vertical height). `widgetId` can be any string to descriptively name the widget.

```json
{
    "widgetId": "space_1x1",
    "widgetType": "space",
    "rowSpan": 1,
    "columnSpan": 1
}
```

{% hint style="info" %}
The widget type "space" is introduced in Launcher version 3.26.24.
{% endhint %}

### Quick Start Bar Widget <a href="#configuring-the-quick-start-applications-folder-3" id="configuring-the-quick-start-applications-folder-3"></a>

To configure the quickStart bar as a widget, use the example below as a guide:

```json
{
  "widgetId": "quick-start-001",
  "widgetType": "quickStart",
  "columnSpan": 1,
  "rowSpan": 4,
  "widgetParams": {
    "showLabel": true,
    "applicationList": [
    ...
      {
        "package": "com.bluefletch.ems.web-site.launcher",
        "activity": "SearchActivity",
        "label": "Search"
      },
      {
        "package": "com.bluefletch.web-site.chat"
      },
      {
        "package": "com.bluefletch.ems.web-site.support"
      }
      ...
    ]
  }
}
```

To specify the `quickStart` bar as a footer, use the example below as a guide:

```json
"footer": [
  ...
  {
    "id" : "default_authorized",
    "layout" : {
      "widgetId": "quick-start-001",
      "widgetType": "quickStart",
      "columnSpan": 1,
      "rowSpan": 4,
      "widgetParams": {
        "showLabel": true,
        "applicationList": [
        ...
          {
            "package": "com.bluefletch.ems.web-site.launcher",
            "activity": "SearchActivity",
            "label": "Search"
          },
          {
            "package": "com.bluefletch.web-site.chat"
          },
          {
            "package": "com.bluefletch.ems.web-site.support"
          }
          ...
        ]
      }
    },
    "criteria_OR": [
        {
          "field": "_${session.userId}",
          "pattern": "^_.+$"
        }
    ]
  }
  ...
]
```

{% hint style="info" %}
Quick Start Bar Widget was introduced in Launcher 4.
{% endhint %}


# Layout Custom Actions

Layout Custom Actions are platform actions that can be surfaced as icons on the Launcher home screen.

### Overview

BlueFletch supports Layout Custom Actions that can be used to launch system actions on the Launcher home screen.

### User Guide

To create a Layout Custom Action, you will need to specify the action name that will be displayed on the Launcher home screen and the action type that will be executed.

After creating a Layout Custom Action, it can be assigned to a layout. For example, if you assign a custom action to the "Login" layout, it will be executed when the user logs in to the device.

### Feature Configuration

The Launcher configuration allows you to define the Layout Custom Actions that can be performed or executed. Use the examples below as a guide:

#### Run XML

The custom action com.bluefletch.ems.RUN\_XML allows for running an XML file, such as Stage Now profile, as a layout action shortcut. The layout item also requires an intent extra that defines the file location:

```json
{
    "label": "Stage Now - Turn On Autorotate",
    "action": "com.bluefletch.ems.RUN_XML",
    "intentExtras": { 
        "file": "/sdcard/Download/ems/autorotateOn.xml"
    }
}
```

Alternatively, the same XML file can be referenced using Assets Manager:

```json
{
    "label": "Stage Now - Turn On Autorotate",
    "action": "com.bluefletch.ems.RUN_XML",
    "intentExtras": { 
        "file": "assets:autorotateOn"
    }
}
```

#### Adjust Audio

The custom action com.bluefletch.ems.AUDIO can be used to adjust the volume of notification sounds, system sounds, or alarms. In the example below, the volume for notifications will be audible at full volume which is 100%, while the volume for other sounds can be adjusted to 50% only.

```json
{
  "action" : "com.bluefletch.ems.AUDIO", 
  "label": "Audio - Half Volume (Except Notifications)", 
  "intentExtras": {
    "setting": "ADJUST_AUDIO",    
    "notification": 100,    
    "others": 50
  }
}
```

The custom action com.bluefletch.ems.AUDIO supports the intentExtras key-value pairs. The "setting" key-value pair specifies the type of audio setting that should be adjusted while the other key-value pairs specify the volume level for the corresponding sound. The volume level is specified as a whole number, where 0 is the lowest volume level and 100 is the highest volume level.

* "setting": Set value to "ADJUST\_AUDIO".
* "notification": Value defines notification volume level by the whole number.
* "music": Value defines music volume level by the whole number.
* "ring": Value defines ringtone volume level by the whole number.
* "system": Value defines system volume level by the whole number.
* "dtmf": Value defines dual-tone multi-frequency volume level by the whole number.
* "call": Value defines call volume level by the whole number.
* "alarm": Value defines alarm volume level by the whole number.
* "others": Value defines all volume levels not defined elsewhere by whole numbers.

#### Open WIFI Settings

BlueFletch also currently supports the custom action android.settings.WIFI\_SETTINGS. When it is invoked, this will allow users to access the Wi-Fi settings from their devices. If wifiSettingsEnabled is set to true, end users can edit within the Wi-Fi Settings UI. False indicates no permission to change the Wi-Fi settings.\
\
In the example below, all users belonging to the Admin layout can access and/or edit the Wi-Fi settings.

```json
"layouts" : {
  ...
  "ADMIN":[
    {
      "label" : "Wifi Settings",
      "action": "android.settings.WIFI_SETTINGS",
      "icon" : "com.android.settings",
      "wifiSettingsEnabled": true
    }
}
```

In the example below, users are allowed to view but not change the Wi-Fi settings.

```json
"layouts" : {
    ...
    "*": [
        {
            "label" : "Wifi Settings-ReadOnly",
            "action": "android.settings.WIFI_SETTINGS",
            "icon" : "com.android.settings",
            "wifiSettingsEnabled": false,
            "password": "ef92b778bafe771e89245b89ecbc08a44a4e166c06659911881f383d4473e94f"
       }
    ]
},
```

#### Open Bluetooth Settings

BlueFletch also currently supports android.settings.BLUETOOTH\_SETTINGS. When this custom action is enabled, it would open the Bluetooth settings screen on the current device.

{% hint style="danger" %}
**Caution:** Handling of Android Settings API shortcuts such as `android.settings.WIFI_SETTINGS` or `android.settings.BLUETOOTH_SETTINGS` differs across Android OS versions, OEMs, and even patch versions within the same OEM; sometimes full access to the Android Settings app and even to the Quick Settings tiles is allowed.

BlueFletch recommends that Android Settings API shortcuts be placed in layouts for **manager** roles *or* have a **password** set, which only managers know, if the shortcuts are in the Open Zone.

BlueFletch does **NOT** recommend placing these shortcuts in the Open Zone without protections in place due to the risk of users reaching full Android Settings.
{% endhint %}

#### Set Language

The custom action com.bluefletch.ems.LANGUAGE will set the device language at the OS level and apply translations to BlueFletch apps. Use Zebra-supported language/locale codes (e.g. "en\_US", "fr\_CA", "es\_US")

```json
{
    "action" : "com.bluefletch.ems.LANGUAGE",
    "label": "French (Canada)",
    "intentExtras": {
     "lang": "fr_CA"
   }
}
```

{% hint style="info" %}
Available in Launcher 3.25.15. Only available on Zebra devices.
{% endhint %}

#### Other Actions

Android Developer documentation provides a list of other [Android Settings actions](https://developer.android.com/reference/android/provider/Settings#constants_1), although some actions may not currently be fully supported by BlueFletch.


# Implied Groups

Implied Groups is a Launcher feature that supports inclusion of additional layout groups.

### Overview

During login, Launcher can look for certain characteristics associated with a user such as being part of a specific group or having certain attributes assigned to them. These are selected from the user’s session object and validated using regular expressions. If there is a match, Launcher will include the corresponding layout associated with the implied group name.

### User Guide

Implied Groups is a Launcher feature that creates layouts that users can access based on their session object. For example, you can create a layout that only contains links to applications that are used by a specific group of users. Or, you can create a layout that only contains information that is relevant to a specific location.

1. Define the group and criteria in the configuration.
2. Create a list of layouts with the same name as the group.
3. Specify the criteria by identifying the attribute to evaluate for the group.
4. When a user logs in, Launcher will check the user's session object against the criteria.
5. If the user's session object matches the criteria, the corresponding layout group will be added to the Launcher.

### Feature Configuration

To set up the Implied Groups feature for a particular device profile or device group, please follow the steps below:

#### Defining Implied Groups Based on Session Attributes

You can determine the groups that can be assigned to a user by checking the user's session object against specific criteria or conditions. An example configuration is shown below:

<pre class="language-json"><code class="lang-json">...
<strong>"impliedGroups" : [
</strong>    {
        "group" : "ContainsBLUE_or_Blue_Group",
        "criteria_OR" : [
            { "field" : "${session.groups}", "pattern" : ".*Blue.*|.*BLUE.*" }
        ]
    },  
    {
        "group" : "ContainsNumber_Group",
        "criteria_OR" : [
            { "field" : "${session.ex.passwordExpiration}", "pattern" : "[0-9]+" }
        ]
    },
    {
        "group" : "VTV_1133_Group",
        "criteria_AND" : [
            { "field" : "${session.groups}", "pattern" : ".*VTV.*" },
            { "field" : "${config.ex.siteId}", "pattern" : "1133" }
        ]
    },
    {
        "group" : "EndsWithManager_Group",
        "criteria_OR" : [
            { "field" : "${session.groups}", "pattern" : ".*Managers.*" }
        ]
    }
]
</code></pre>

Examples:

1. If a user's session object contains the group "Blue" or "BLUE", the "ContainsBLUE\_or\_Blue\_Group" layout group will be added to the Launcher.
2. If a user's session object contains a number in the "passwordExpiration" attribute, the "ContainsNumber\_Group" layout group will be added to the Launcher.
3. If a user's session object contains a group "VTV" and the user is in Site 1133, the "VTV\_1133\_Group" layout group will be added to the Launcher.
4. If a user's session object contains a group "Managers", the "EndsWithManager\_Group" layout group will be added to the Launcher.

#### Criteria Format

When defining the criteria for an implied group, you can use the `criteria_OR` and `criteria_AND` operators, and specify multiple criteria objects:

`criteria_OR` - will apply this group if any of the criteria objects match the patterns

`criteria_AND` - will apply this group only if all the criteria objects match the patterns

*

```json
    {
        "group" : "Pilot_VTV_And_Managers",
        // This group
        "criteria_AND" : [
            { "field" : "${session.groups}", "pattern" : ".*VTV.*" },
            { "field" : "${config.ex.siteName}", "pattern" : "Pilot" }
        ],
        "criteria_OR" : [
            { "field" : "${session.groups}", "pattern" : ".*Manager.*" }
        ]
    }
```

In the above example, the `Pilot_VTV_And_Managers` group gets applied when *either* of the conditions are true:

* If group contains `VTV` AND the current site is `Pilot`
* If group contains `Manager`

{% hint style="info" %}
Implied Groups was introduced in Launcher version 3.19.15.
{% endhint %}


# Criteria

Launcher can match certain values against regular expressions to customize intents and groups.

### Overview

Filtering of custom intents and definition of implied groups can be accomplished with and/or criteria and regular expressions (regex). A criterion checks the value stored in a replacement variable from the device, Launcher, the configuration file, or session object against a regex pattern to determine what device behavior or layout should apply in a specific scenario.

### Technical Guide

#### **Criteria Arrays**

| Field         | Description                                                                                     |
| ------------- | ----------------------------------------------------------------------------------------------- |
| criteria\_OR  | **array** Filters for instances where at least one field matches its pattern.                   |
| criteria\_AND | **array** Filters for instances where **all** fields must must match their respective patterns. |

{% hint style="warning" %}
Both `"criteria_OR"` and `"criteria_AND"` arrays need to be included in an object, even if one is empty.
{% endhint %}

#### **Criteria Object Parameters**

| Field   | Description                                                                                                              |
| ------- | ------------------------------------------------------------------------------------------------------------------------ |
| field   | **string** A replacement variable, written in the format `"_${`*`replacement variable`*`}"` (e.g. `"_${device.MODEL}"`). |
| pattern | **string** The regular expression that is desired to match the field's content.                                          |

### Examples

#### Criteria for Custom Intent Filtering

<pre class="language-json"><code class="lang-json">"intents": {
    "boot": [
        // Run a StageNow XML on boot for all device models starting with "TC":
        {
            "typeIntent": "p",
            "action": "XML",
            "data": "file/path/to/stageNowFile.xml",
            "criteria_OR": [
                {
                    "field": "_${device.MODEL}",
                    "pattern": "/^TC.*$/"
                }
            ],
            "criteria_AND": []
        }
    ],
    "cradle": [
        // Rotate the Launcher to landscape on cradle for device models starting with "ET" or "CC":
        {
            "action": "com.bluefletch.launcher.ACTION_ROTATE_LANDSCAPE",
            "typeIntent": "p",
            "criteria_OR": [
                {
                    "field": "_${device.MODEL}",
                    "pattern": "/^ET.*$/"
                },
                {
                    "field": "_${device.MODEL}",
                    "pattern": "/^CC.*$/"
                }
            ],
            "criteria_AND": []
        },
        // Mute audio on cradle if device is logged out (no user ID) and is at site 1001:
        {
            "action": "MUTE_AUDIO",
            "typeIntent": "p",
            "criteria_AND": [
<strong>                {
</strong>                    "field": "_${session.userId}",
                    "pattern": "^_$"
                },
                {
                    "field": "_${config.ex.siteId}",
                    "pattern": "1001"
                }
            ],
            "criteria_OR": []            
        }
    ]                 
}
</code></pre>

#### Criteria for Implied Groups

```json
"impliedGroups" : [
    // Display this group's layout if the session object's group name contains "Blue" or "BLUE": 
    {
        "group": "ContainsBLUE_or_Blue_Group",
        "criteria_OR": [
            { "field": "${session.groups}", "pattern": ".*Blue.*|.*BLUE.*" }
        ],
        "criteria_AND": [] 
    },  
    // Display this group's layout if the session object's passwordExpiration attribute contains one or more digits:
    {
        "group": "ContainsNumber_Group",
        "criteria_OR": [
            { "field": "${session.ex.passwordExpiration}", "pattern": "[0-9]+" }
        ],
        "criteria_AND": []
    },
    // Display this group's layout if the session object's group name ends with "Managers"
    // OR the site ID is 1133:
    {
        "group": "EndsWithManager_Or_isSite113_Group",
        "criteria_OR": [
            { "field": "${session.groups}", "pattern": ".*Managers$" },
            { "field": "${config.ex.siteId}", "pattern": "1133" }
        ],
        "criteria_AND": []
    },
    // Display this group's layout if the session object's group name contains "VTV"
    // AND the site name is "Pilot"
    // OR if group name contains "Managers":
    {
        "group": "Pilot_VTV_And_Managers",
        "criteria_AND": [
            { "field": "${session.groups}", "pattern": ".*VTV.*" },
            { "field": "${config.ex.siteName}", "pattern": "Pilot" }
        ],
        "criteria_OR": [
            { "field": "${session.groups}", "pattern": ".*Managers.*" }
        ]
    }
]
```


# Password Protected Applications

Password Protected Applications is a Launcher feature that requires password entry before launching any application, shortcut, or folder.

### Overview <a href="#overview-0" id="overview-0"></a>

Password Protected Applications is a Launcher feature that ensures only authorized users can access certain files, programs, or device settings. It requires users to enter a password before launching any application, shortcut, or folder. This helps protect sensitive data from unauthorized use and provides greater security for users.

### User Guide <a href="#user-guide-1" id="user-guide-1"></a>

Password protection is crucial for businesses that need to safeguard important company files such as customer information or financial data. The Password Protected Applications feature helps secure corporate information or sensitive data on Android enterprise devices.

1. When a user selects an item that is password protected, a dialog will open and prompt the user to enter a password.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FRLtxgVLjKdaGSoLM0uyZ%2Fimage%20(3).png?alt=media&amp;token=a6e28cb4-5c69-4ef8-8015-f26ee81a752e" alt="" width="360"><figcaption></figcaption></figure>

2. The user has 3 attempts at entering the password correctly before the dialog closes.
3. After the dialog closes, the user can select the item again to enter the correct password.

### Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up the Password Protected Applications feature for a particular device profile or device group, please follow the steps below:

#### Setting Up Password-Protected Items <a href="#setting-up-password-protected-items-3" id="setting-up-password-protected-items-3"></a>

To set up password-protected applications, shortcuts, and folders, administrators must add the password in the configuration using the SHA256 format:

```json
"layouts" : {
    "Associates": [
        {
            "package": "com.bluefletch.ems.support",
            "password": "d9b5f58f0b38198293971865a14074f59eba3e82595becbe86ae51f1d9f1f65e",
        }
    ]
} 
```

{% hint style="info" %}
Password Protected Applications Feature was introduced in Launcher 3.13.24.
{% endhint %}


# Persistent Foreground App

Persistent Foreground app enables an app package to be always displayed on the foreground in both Secured and Open Zones.

### Overview

This feature designates a specific app package to be persistently displayed on the foreground, ensuring it remains continuously visible on the screen. This functionality works in both Secured and Open Zones. After a user login, the persistent foreground app will be determined based on configurable criteria, such as user group. This ensures that the app package is readily accessible for specific user groups within secured environments, and provides consistent app access in Open Zones.

### Secured Zone

In secured environments, the persistent foreground app is only displayed for users belonging to specific groups as defined by the administrator.

The sample configuration below displays the persistent app in the Secured Zone. User group restrictions are enforced here, ensuring only authorized users see the app.

```json
"persistedForegroundApp": {
    "intent": {
        "action": "android.intent.action.VIEW",
        "package": "com.bluefletch.ems.support",
        "data": "<data>",
        "flags": 1,
        "typeIntent": "a"
    },
    "criteria_OR": [
        {
            "field": "${session.groups}",
            "pattern": ".*Associates.*"
        }
    ]
},
```

### Open Zone

In open environments, the persistent foreground app is displayed for all users after login, regardless of group affiliation.

The sample configuration below displays the persistent app in the Open Zone. There are no restrictions to whoever can view the persistent app.

```json
"persistedForegroundApp": {
    "intent": {
          "package": "com.bluefletch.ems.support",
          "flags": 335544320,
          "typeIntent": "a"
      },
    "criteria_OR": [
      {
          "field": "${session.groups}",
          "pattern": ".*\\*.*"
      }
    ]
},
```

> Note: If the package is not found or uninstalled, the screen will display the Open or Secured Zone layout, respectively.


# Replacement Values

Replacement values are references to device, session, or configuration attributes that Launcher can read and display.

### Overview

The BlueFletch Launcher supports a variety of replacement variables, or values that can be utilized by widgets, custom intents, layout items, and custom fields. These variables act as placeholders for actual values stored in the referenced location. This is a list of the supported values, which fall within the categories of Device, Session, and Extended attributes.

### Device Attributes

* **${device.*****key\_name\_here*****}**
* Includes:
  * device.MODEL
  * device.BRAND
  * device.MANUFACTURER
  * device.HARDWARE
  * device.SDK\_INT
  * device.SECURITY\_PATCH

### Session Attributes

All Extended Attributes from session object are available as:

* **${session.ex.*****key\_name\_here*****}**
* Example: ${session.ex.accessToken}

Main session attributes:

* **${session.*****key\_name\_here*****}**
* Includes:
  * session.userId
  * session.userName
  * session.role
  * session.groups
  * session.location
  * session.extension
  * session.session\_idle
  * ssession.session\_max
  * session.retain\_session\_oncradle
  * session.logout

### Extended Attributes

* **${config.ex.*****key\_name\_here*****}**
* Includes by default:
  * config.ex.siteId
  * config.ex.deviceId
    * To add device ID to the header

      ```json
          "customField": {
              "format": "${config.ex.deviceId}"
          },
      ```
  * config.ex.phoneNumber
    * starting in Launcher version 3.26.24
  * Other key-value strings can be added to the `extendedAttributes` object in the the launcher.json.
* Any columns added to the sitelist.csv become extended attributes:
  * config.ex.*COLUMN\_NAME*

### Custom Variables

Users can define custom variables in a variables section of the Launcher configuration. This enables defining shared values (e.g., API keys, host URLs) in one place and reusing them across multiple configuration sections.

```json
"variables": {
   "orgId": "indicate the orgId",
   "host": "example.com",
   "columns": 4,
   "allowedApps": "com.example.app"
}
```

Use the guide below as an example:

```json
"appConfig": {
    "bfSupportAgent": {
    "orgId": "${orgId}",
    "eventUrl": "https://${host}/api/",
    ...
},
"layoutSettings" : {
    "columns" : "${columns}"
},
"secureNotifications": {
  "whitelist": ["${allowedApps}"]
  ...
}
```


# Orientation Options

Launcher provides various options to rotate screen orientation.

## Orientation Options

On an unrestricted device, by default Android allows screens to rotate freely anytime the user adjusts the angle of the device.

The BlueFletch Launcher locks down Android's default rotation behavior so that the Launcher's app list and authentication screens only display in one selected orientation, usually portrait for handheld devices and landscape for tablets. To avoid confusion or mistaken taps for end-users, these screens cannot rotate freely.

However, BlueFletch provides a few options for changing the orientation of Launcher and apps within the Launcher.

### Override Orientation

The base-level configuration object `orientationOverride` defines the orientation for the Launcher for all devices of a certain model, even if that orientation would not be standard operating behavior for the Launcher.

To specify an orientation for a given model, identify the model name of the device and the orientation for that model, either `portrait` or `landscape`.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fdet10Gn4UcxGsGhgtSO6%2Fimage%20(4).png?alt=media&amp;token=bb798783-5289-46f9-8b46-95c7d13bb979" alt="" width="360"><figcaption></figcaption></figure>

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F2D5uXgAzweIDFBdYyvK8%2Fimage%20(5).png?alt=media&amp;token=ea8db15a-e66c-4df5-b568-aabf90607b00" alt="" width="375"><figcaption></figcaption></figure>

Starting in Launcher 3.25.x, `sensor` orientation is also available, which will allow Launcher to rotate based on the device orientation.

For example, all Zebra ET51 model tablets could be configured to use a portrait orientation, while ET50s will be in landscape, and Samsung SM-T580s will be using the sensor mode:

```json
"orientationOverride": {
    "ET51": "portrait",
    "ET50": "landscape",
    "SM-T580": "sensor"
}
```

{% hint style="warning" %}
Starting in Launcher 3.25.x, if the **`"sensor"`** orientation override is used, **Toggle Orientation**, **Rotate Portrait** and **Rotate Landscape** actions described below for that device will not be supported.
{% endhint %}

### Toggle Orientation

Starting in Launcher version 3.13.20, a toggle orientation action object was made available:

```json
{
    "label" : "Toggle Orientation", 
    "action": "com.bluefletch.launcher.ACTION_TOGGLE_ORIENTATION"   
}    
```

Clicking on this action button in a layout forces the Launcher to switch from whichever orientation is currently displayed to the alternative orientation. If the action is clicked while in portrait, the device orientation will switch to landscape, and vice versa.

### Specify Orientation

Starting in Launcher version 3.21.17, platform actions were added to trigger screen rotation to a specified orientation. This action can be applied as a custom intent or as an action in a layout.

**Portrait:**

```json
// CUSTOM INTENT
{
      "action": "com.bluefletch.launcher.ACTION_ROTATE_PORTRAIT",
      "typeIntent": "p"
}

// ACTION IN A LAYOUT
{
        "label": "Rotate to Portrait", 
        "action": "com.bluefletch.launcher.ACTION_ROTATE_PORTRAIT"
}
```

**Landscape:**

```json
// CUSTOM INTENT
{
      "action":"com.bluefletch.launcher.ACTION_ROTATE_LANDSCAPE",
      "typeIntent": "p"
}

// ACTION IN A LAYOUT
{
        "label": "Rotate to Landscape", 
        "action": "com.bluefletch.launcher.ACTION_ROTATE_LANDSCAPE"
}
```

### Disable Fix Orientation in Browser

Configuring the BlueFletch Browser's `fixOrientation` parameter to `false` allows the Browser to auto-rotate.

This parameter can be configured globally for the Browser:

```json
"browser": {
    ...
    "fixOrientation": false
}
```

or for a specific web shortcut:

```json
{
    "label" : "Web Shortcut",
    "url" : "https://example-web-site.com",
    "browser" : "com.bluefletch.ems.browser",
    "browserOverrides" : {
       "fixOrientation": false
    }
}
```


# Application Object Variables

## Overview

This feature allows you to define reusable app or layout configurations as key-value pairs in the launcher.json file. Once defined, these variables can be referenced across multiple layout groups, eliminating the need to copy and paste configuration blocks.

## User Guide

1. Use the applicationObjects block to create a key (e.g., chatApp) and store reusable app or layout configurations.
2. Use the appObjectKey field in layout groups (e.g., AssociateApps or ManagerApps) to reference the key. Please see sample configuration [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/configurable-layouts/layouts).
3. Override the label field in layout groups to provide unique labels for each reference.

## Feature Configuration

### Defining Application Variables

Use the applicationObjects block in the launcher.json file to define reusable variables. Each variable is a key-value pair in the launcher.json file, where the key represents the variable name and the value contains the reusable app or layout configuration.

Using Chat App as an example: Specify its package name, label, description, etc.

```json
"applicationObjects": {
   "chatApp": {
         "package": "com.bluefletch.staging.chat",
         "label": "Chat Label Will Be Overridden In Figure Below",
         "dateModified": "2024-10-03 10:10:10 UTC",
         "description": "describe the app here, reference info only for portal"
      }
}
```

Using Camera App as an example: Specify a label, URL, browser package, and browser-specific overrides.

```json
"applicationObjects": {
  "cameraApp": {
   	"label": "Camera Test",
   	"url": "https://usefulangle.com/demos/352/camera-capture-photo.html",
   	"browser": "com.bluefletch.ems.staging.browser",
   	"browserOverrides": {
     	"showTitle": true,
     	"showUrl": true,
     	"fixOrientation": true,
     	"allowCameraAccess": true
     }
}
```

### Configuring Layout Groups with Variables

Once application variables are specified, they can be referenced in layout groups using the appObjectKey field. This approach allows you to reuse the same configuration across multiple groups without duplicating the entire block.

Below is an example of using the chatApp application variable in the AssociateApps and ManagerApps layout groups:

```json
"AssociateApps": [
  {
    "appObjectKey": "chatApp",
    "label": "Associate Chat"
  }
],
"ManagerApps": [
  {
    "appObjectKey": "chatApp",
    "label": "Manager Chat"
  }
]
```

Note: The chatApp variable is defined once in the applicationObjects block and reused in both the AssociateApps and ManagerApps layout groups. As shown above, the 'label' field is the only one that can be overridden.

{% hint style="info" %}
Application Object Variables was introduced in Launcher v.4.2.144.
{% endhint %}


# Assets Manager

Assets Manager is a Launcher feature that manages selected UI assets and files.

### Overview

Assets Manager is a Launcher feature that enables BlueFletch to download images and files to a device and use those assets for display purposes.

### User Guide

Assets Manager is used for importing, managing, and using resources on a device.

1. The Launcher configuration contains a collection of assets needed for the Launcher to work properly. These are files or images with designated names and values that represent their location on the internet.
2. When the Launcher starts up or detects a change in the configuration, it will read through the assets and download the files or images to a folder inside the device called the assets directory.
3. The Launcher uses the assets directory to obtain the appropriate icon or image that needs to be displayed on the home screen.
4. Assets allow the Launcher to reference files such as images and audio clips by URL, which is helpful in Android 11 and above because the operating system restricts access to external storage.

### Feature Configuration

To set up the Assets Manager feature for a particular device profile or device group, please follow the steps below:

#### Configuring the UI Assets and Files

Asset Manager defines a file location that the Launcher can then retrieve by a reference name. In the `"assets"` block of the Launcher configuration, give an asset a name (any string) and list a location to retrieve the asset, either the URL or file path on the device:

```json
"assets": {
    "imageName": "https://somewhere.com/image.png",
    "anotherImage": "https://somewhere.com/image2.png",
    "backgroundImage": "/sdcard/Download/ems/corporate_wallpaper.png",
    "logoImage": "/sdcard/Download/ems/corporate_logo.jpg"
}
```

#### Using the Assets for Theming

When configuring theming with parameters such as `"wallpaperImage"` or `"logo"`, an asset can be referenced by name in the `"theme"` object:

```json
"theme": {
    "logo": "assets:logoImage",
    ...
}
```

#### Using the Assets Within a Layout Item

The package name must be specified within a layout item while the specific asset must be set within the icon field. This will enable the Launcher to use icons or images in the assets directory.

<pre class="language-json"><code class="lang-json"><strong>"layouts": {
</strong><strong>       "Associates": [
</strong><strong>         {
</strong>                "package": "com.google.android.music",
                "icon": "assets:anotherImage"
         },
         ...
       ]
}
</code></pre>

{% hint style="info" %}
Assets Manager was introduced in Launcher 3.10.10.
{% endhint %}


# Theming

Theming enables administrators to customize the visual appearance of the Launcher interface across workforce devices. It establishes a cohesive user experience by applying company logos, color schemes, and site-specific designs that align with organizational branding.

**Site-Specific Theming:** Customizes the device interface with unique logos, colors, and wallpapers specific to one store or site.

**Configure Theme:** Supports the customization of the Launcher's visual appearance to match your organization's branding.

**Custom Field Display:** Extracts values from external files using regular expressions to display device-specific information on the home screen.

**Icon Shape:** Defines the visual shape of application icons displayed within the main workspace.

**Screen Saver:** Displays a rotating playlist of media assets during device inactivity to provide a dynamic visual experience.

<br>


# Site-Specific Theming

### Overview

Site-specific theming is a Launcher feature that customizes the appearance of the device UI by adding a logo, choosing background colors, and setting an accent color specific to one store or site. With this feature, organizations can customize the appearance of their device's screen to match their needs and preferences. It provides a tailored visual experience depending on where the device is being used.

### User Guide

The Site-Specific Theming feature can be enabled or disabled within the Launcher configuration. If the `"theme"` parameter `"enable"` is set to `true` (the default value), the device will enable theme support, including the option of setting `"altThemes"` objects for different sites.

The Launcher will determine which if any of the alternative theme objects match up to the siteTheme column on the device's sitelist.csv file. If no alternative themes match, the Launcher will default to the primary `"theme"` object.

### Feature Configuration

Example:

```json
"theme" : {
    "enable": true,
    "logo": "/sdcard/Download/ems/defaultlogo.png",
    "wallpaperImage": "/sdcard/Download/ems/defaultwallpaper.png",
    "darkTheme": true,
    "accentColor": "#00FFFF",
    "folderBackgroundColor": "#000000"
}, 
"altThemes": {
    "mainline_store": {
        "enable": true,
        "logo": "/sdcard/Download/ems/logo1.png",
        "wallpaperImage": "/sdcard/Download/ems/wallpaper1.png",
        "darkTheme": true,
        "accentColor": "#C089E0"
      },
    "subsidiary_store": {
        "enable": true,
        "logo": "/sdcard/Download/ems/logo2.png",
        "wallpaperImage": "/sdcard/Download/ems/wallpaper2.png",
        "darkTheme": false,
        "accentColor": "#89CFF0"
    }
}
```

For devices with the theming configuration above and the sitelist.csv below, those at site 4001 would use the default theme, while devices at sites 1001 and 3001 would use the `"mainline_store"` alternative theme, and devices at site 2001 would use the `"subsidiary_store"` alternative theme.

```csv
siteid,sitename,latitude,longtitude,iprange,subnet,apmacaddress,siteTheme
1001,Alpharetta GA,34.159579,-84.239605,,,,mainline_store
2001,Hickory Flat GA,34.167373,-84.330806,,,,subsidiary_store
3001,Milton GA,34.073189,-84.293763,,,,mainline_store
4001,Atlanta GA,33.782380,-84.386625,,,,standalone_store
```

Please see the documentation on [Site Information Service](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/site-information-service) for more details on applying sitelists to devices.


# Configure Theme

The Launcher has theming support to enhance device user experience with Corporate Branding, where the logo, theme colors, and wallpaper can be customized.

### Overview

Organizations can define and customize separate wallpapers for the main and lock screens to match an organization’s branding, needs or preferences.

### User Guide

You can customize the Launcher UI to match your organization’s branding. These include the company logo, height of the logo, background color, and accent color.

1. If this feature is enabled in the configuration, theme support will be available.
2. You can specify the company logo, the height of the logo in pixels, the background color, and the accent color.
3. Once you have set these values, the Launcher UI will be themed according to your specifications.

### Feature Configuration

To set up the Theme feature for a particular device profile or device group, please follow the steps below:

#### Enabling Theme Support

Theme support can be enabled or disabled within the Launcher configuration. If theme is set to true, theme support will be available.

```json
"theme": {
    "enable": "true",
}
```

#### Setting Up the Background Theme

If darkTheme is set to true, the device changes all element text colors to black. If darkTheme is set to false, the device will use a light background.

```json
 "darkTheme": false,
```

#### Setting Up the Wallpaper Image

To set up the wallpaper image for the Launcher UI, specify the name, local path, or URL of the image. There are also built-in wallpaper images available such as bubble, topology, messe, or swirl.

Example using Assets Manager:

```json
 "wallpaperImage": "assets:wallpaper",
```

Example using a local file:

```json
 "wallpaperImage": "/sdcard/Download/ems/wallpaper.png",
```

#### Setting Up the Logo

To set up a company-specific logo for the Launcher UI, add the image from the assets folder. For example:

```json
 "logo": "assets:logo",
```

#### Setting Up the Accent Color

To set up a company-specific accent color for the Launcher UI, use the example below as a guide:

```json
"accentColor": "#FFCC00",
```

#### Setting Up the Duotone Colors

You can optionally apply a tint on your wallpaper image. You can set up the colors for the light and dark halftone colors of the wallpaper image. For the sample configuration below, the wallpaper image will be tinted with white for the light halftone color and gray for the dark halftone color.

To use your wallpaper as-is without tinting, set the two values to "" or blank.

```json
"duoToneWhite": "#FFFFFF",
"duoToneBlack": "#DDDDDD",
```

#### Setting Up the Blur Radius and Blur Passes

The blur radius and blur passes properties specify the size and number of times the blur filter is applied to the wallpaper image. The default values for the blur radius and blur passes are 0, which means that no blur will be applied to the wallpaper image by default. To apply a blur to the wallpaper image, you can set the blur radius and blur passes properties to non-zero values. Use the sample configuration below as a guide:

```json
"blurRadius": 0,
"blurPasses": 0,
```

#### Setting Up the Folder Colors

You can specify the color of the text and background of an open folder object. If the darkTheme property is enabled, then the background color property should be set to a dark color to make the text in the folders easier to read. On the other hand, choosing a light background color while enabling darkTheme would make text difficult to read. If the darkTheme property is disabled, then the background color can be set to any color. Use the sample configuration below as a guide:

```json
"folderBackgroundColor": "#FFFFFF",
"folderTextColor": "#000000"
```

#### Button Shape

Launcher 3.24.20 introduced the ability to control the button shapes. First enable the feature by setting consistentButtonShape setting to true, then set the radius value for the button corners.

```json
"consistentButtonShape": true,
"buttonCornerRadius": 8
```

#### Full Configuration

The Launcher UI can be themed using this example:

```json
"theme": {
    "enable": "true",
    "darkTheme": false,
    "wallpaperImage": "assets:wallpaper",
    "logo": "assets:logo",
    "accentColor": "#FFCC00",
    "duoToneWhite": "#FFFFFF",
    "duoToneBlack": "#DDDDDD",
    "blurRadius": 0,
    "blurPasses": 0,
    "folderBackgroundColor": "#FFFFFF",
    "folderTextColor": "#000000",
    "consistentButtonShape": true,
    "buttonCornerRadius": 8,
    "fadingPageIndicators": true
},
```


# Custom Field Display

Custom Field Display is a Launcher feature that enables the values retrieved from an external file to be displayed on the Launcher home screen.

### Overview

Custom Field Display is a Launcher feature that enables values retrieved from an external file to be displayed on the Launcher home screen. Having this functionality ensures that device-specific content, message, or information can be quickly accessed which in turn can help users save time, stay organized, and improve productivity.

### User Guide

1. The ‘format’ field is a string that determines how the external values are displayed on the UI. For example, a file containing a specific placeholder should be enclosed in braces and must match the corresponding field in the file.
2. The ‘source’ field is an array of objects that defines where the information is coming from and how it should be parsed. If there are multiple pieces of information to be parsed from the file, multiple instances of the 'source' object can be created with different regex patterns and field names.
3. The ‘pathfile’ field is a string that specifies the full path and filename of the file to be parsed. This is the location where the information is retrieved from.
4. The ‘regex’ field is a Java regular expression string that specifies how to extract the desired information from the file. The regular expression should return the information to the first match group.
5. The 'name' field is a string that specifies the field name retrieved by the regular expression. It should correspond to the placeholder in the 'format' string, which is then used to display the information on the Launcher home screen.
6. The 'data' field is a string that specifies what data we’re trying to retrieve. For example to retrieve the device’s serial number, we will reference to config extended attribute “${config.ex.deviceId}”.

### Feature Configuration

The Launcher configuration allows you to define the external values that can be displayed on the Launcher home screen. Use the example below as a guide:

For example, if there is an ASCII formatted file on the device */sdcard/Download/extension\_dept.txt* that contains the following:

```json
Ext=2311
Dept=Front Desk
JobCode=A300403
```

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FspE3NRMTnTZFDpntd2vm%2FScreen%20Shot%202023-04-26%20at%209.54.38%20AM.png?alt=media&#x26;token=fefc8350-2819-488c-a2db-f5eb664ad6ee" alt=""><figcaption></figcaption></figure>

The following configuration will allow you to display **"2311 - Front Desk"** on the screen:

```json
"customField" : {
    "format" : "{Extension} - {Department} - {TruncatedSerial}",
    "source" : [
        {
            "pathfile": "/sdcard/Download/extension_dept.txt",
            "regex": "Ext=(.*)",
            "name": "Extension"
        },
        {
            "pathfile": "/sdcard/Download/extension_dept.txt",
            "regex": "Dept=(.*)",
            "name": "Department"
        },
        {
            "data": "${config.ex.deviceId}",
            "regex": "(.{4})$",
            "name": "TruncatedSerial"
        }
    ]
},
```

The Launcher when in focus will go through the **source** pathfiles and extract the group value specified by the **regex** and assign it as a value for the field **name**. In the above example, the matching group for '"Ext=(.*)"' from the file will yield 2311*\*, and is assigned to the field name 'Extension'.

The Launcher will then apply the values read into the placeholders (the name of the custom field included in braces) as defined in the **format** configuration field. In this example, the Launcher will replace {Extension} with the value **2311** on the display.

Since it uses Java regular expressions to parse the values from the file, this feature is not file format specific, e.g. you can use XML, JSON, or text files as long as it is ASCII formatted and the regex is correct.

To display the last four digits of the device serial number within the custom field, use the following example:

```json
"customField" : {
    "format" : "{TruncatedSerial}",
    "source" : [
        {
            "data": "${config.ex.deviceId}",
            "regex": "(.{4})$",
            "name": "TruncatedSerial"
        }
    ]
}
```

### Enabling IMEI Functionality

In Launcher 4, IMEI can be used as a unique identifier for the device. Use the example below as a guide:

```json
"customField" : {
    "format" : "{TruncatedIMEI}",
    "source" : [
        {
            "data": "${config.ex.imei}",
            "regex": "(.{4})$",
            "name": "TruncatedIMEI"
        }
    ]
},
```

{% hint style="info" %}
Custom Field Display was introduced in Launcher 2.13.x.
{% endhint %}


# Icon Shape

## Overview

The theme object in the configuration retains most of its structure from Launcher 3. A new field, iconShape, has been introduced to define the shape of app icons in the main workspace. Supported values for this field include: `roundedCorner`, `square`, `squircle`, and `circle`.

## Feature Configuration

### Configuring Icon Shapes

To define the shape of app icons in the main workspace, use the iconShape field in the theme object.

#### Example using roundedCorner:

```json
"theme": {
    "iconShape": "roundedCorner",
}
```

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FzDorhNGmbR6VcmQ1OCy8%2FroundedCorner.png?alt=media&amp;token=c7d21808-9576-429a-8fb0-c806958a31e2" alt="" width="375"><figcaption></figcaption></figure>

#### Example using square:

```json
"theme": {
    "iconShape": "square",
}
```

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F0ZpUD7TWBDNx3yQEv6ko%2Fsquare.png?alt=media&amp;token=6a70025d-26da-4dfc-af9c-1105edfcd709" alt="" width="375"><figcaption></figcaption></figure>

#### Example using squircle:

```json
"theme": {
    "iconShape": "squircle",
}
```

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fr30adqAcBNR1FBPEa0iK%2Fsquircle.png?alt=media&amp;token=000ba440-f189-4d5d-bb1f-ba7b69ffc3bc" alt="" width="375"><figcaption></figcaption></figure>

#### Example using circle:

```json
"theme": {
    "iconShape": "circle",
}
```

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FJ0giP4rqSovG9f7Uahy3%2Fcircle.png?alt=media&amp;token=77b1f2e1-0764-44cc-91aa-545c28601ef6" alt="" width="375"><figcaption></figcaption></figure>


# Screen Saver

Screen Saver is a Launcher feature that activates after a specified period of user inactivity and displays visually engaging contents.

## Overview

Screen Saver is a Launcher feature that activates after a specified period of user inactivity. Once active, it displays a rotating playlist of videos and/or images to provide a dynamic visual experience during idle time. This allows customers to display informational media on idle tablets or other Launcher devices.

## User Guide

1. If this feature is enabled in the configuration, the device will display a Screen Saver after a set period of inactivity.
2. Tapping the screen dismisses the Screen Saver and returns the user to Launcher.
3. When in secured zone and Screen Saver activates, it will also activate a session idle timer that will log a user out when idle timer expires.

## Feature Configuration

To set up the Screen Saver feature, please follow the steps below.

### Enabling Screen Saver

Launcher 4 has a new configuration block for the Screen Saver feature. To enable this feature, set it to `true` within the Launcher configuration file. Screen Saver feature is disabled by default.

```json
"screenSaver": {
  "enabled": true,
  ...
}
```

### Configuring Asset Directory/Folder

To configure the asset directory, the customer must designate a remote or local directory/folder to host the Screen Saver assets.This folder must contain a <kbd>screenSaverAssets.json</kbd> configuration that describes each asset.\
\
Launcher will use this <kbd>json</kbd> configuration to determine which assets to copy locally and the order in which they loop through during the Screen Saver.

#### Remote Hosted Directory

```json
"screenSaver": {
  ...
  "assetsPath": "https://example.com/${siteNumber}/screensaver",
  ...
}
```

#### Locally Hosted Directory

```json
"screenSaver": {
  ...
  "assetsPath": "/sdcard/Download/screenSaverAssets",
  ...
}
```

### Configuring Idle Timeout

This specifies how long the device must be inactive, in seconds, before the Screen Saver starts. <kbd>idleTimeoutSeconds</kbd> is 60 seconds by default.

```json
"screenSaver": {
  ...
  ...
  "idleTimeInSeconds": 60
}
```

### Disabling Muted Video Assets

To disable Screen Saver's muted audio on video assets, set <kbd>shouldMuteVideos</kbd> to `false`. Screen Saver's video is muted by default.

```json
"screenSaver": {
  ...
  ...
  ...
  "shouldMuteVideos": false
}
```

### Putting It All Together

```json
"screenSaver": {
  "enabled": true,
  "assetsPath": "/sdcard/Downloads/screenSaverAssets",
  "idleTimeInSeconds": 60,
  "shouldMuteVideos": false
}
```

## Screen Saver Asset Configuration

The Screen Saver asset configuration should be named `screenSaverAssets.json`. This file will include a version code, which must be updated each time an asset is changed.

It will also contain an array of assets describing their name and assetType (video or image). If the asset is an image, the duration must be specified; for video assets, no duration is needed.

The json file will have the following format:

```json
{
    "version": "1.0.0",
    "screenSaverAssets": [
        {
            "enabled": true,
            "name": "how_to_cook_bacon.mp4",
            "assetType": "video"
        },
        {
            "name":"employee_of_the_month_nov_2025.jpeg",
            "assetType": "image",
            "durationSeconds": 30
        }
    ]
}
```

#### Version Control and Assets Update

Launcher checks the `screenSaverAssets.json` file each time the screensaver activates.

* **If the version changes:** Launcher clears locally stored screensaver assets and redownloads updated assets from the new JSON file.
* **If the version remains the same:** Launcher uses locally stored assets without redownloading.


# Site Information Service

Site Information Service is a Launcher feature that pinpoints the current store/branch of a device based on either its current location, IP range, or connected AP Mac addresses.

### Overview

Location-aware applications or location-based services (LBS) provide real-time insights and visibility into device location. This, in turn, enables organizations to monitor device usage patterns, identify underutilized devices, and ensure the security of sensitive data. Site Information Service is a Launcher feature that helps determine the device location based on either its current GPS location, IP range, or connected AP MAC addresses.

### User Guide

#### Based on GPS Location

1. A CSV file named *sitelist.csv* file is pushed to the device into the Launcher files folder. This file will contain the Organization's list of Sites and their GPS coordinates.
2. When the device boots up, the Launcher will use the device location services to determine its current GPS coordinates.
3. If the device's GPS coordinates are within a configurable range (e.g. 200 meters) of any of the locations listed in *sitelist.csv*, the Launcher will use that as the device site.
4. If the device is close to multiple locations, the user may be prompted to select which location they are currently at.
5. If the device is not close to any of the listed locations, the user will be prompted to manually select their location.
6. To determine the device location, the search algorithm checks the nearest GPS coordinates. Optionally, a fall-back option may be set to refer the device site information from an IP range, subnet, and access point.

#### Based on Device IP Address

1. A CSV file named *sitelist.csv* file is pushed to the device into the Launcher files folder. This file will contain the Organization's list of Sites and their GPS coordinates.
2. When the device boots up, the Launcher will connect to a pre-configured Wi-Fi Access Point so that it can be assigned a site-specific IP address.
3. The device IP address will then be matched to a corresponding *iprange* value in *sitelist.csv*, to determine the device site.
4. If the device does not match any of the listed locations, the user can be prompted to manually select their location.
5. To determine the device location, the search algorithm checks the nearest GPS coordinates. Optionally, a fall-back option may be set to refer the device site information from an IP range, subnet, and access point.

#### Based on the Access Point

1. A CSV file named *sitelist.csv* file is pushed to the device into the Launcher files folder. This file will contain the Organization's list of Sites and their GPS coordinates.
2. When the device boots up, the Launcher will connect to a pre-configured Wi-Fi Access Point so that it can be assigned a site-specific IP address.
3. The device can reference the Access Point MAC Address to match the corresponding *apmacaddress* in *sitelist.csv*, to determine the device site.
4. If the device does not match any of the listed locations, the user can be prompted to manually select their location.
5. To determine the device location, the search algorithm checks the nearest GPS coordinates. Optionally, a fall-back option may be set to refer the device site information from an IP range, subnet, and access point.

### Feature Configuration

To set up Site Information Service for a particular device profile or device group, please follow the steps below:

#### Creating a Location File <a href="#id-1-create-a-location-file" id="id-1-create-a-location-file"></a>

Create a CSV file named **sitelist.csv** containing all known sites for where the device is expected to be used.

| Column Header | Description                                                                                            |
| ------------- | ------------------------------------------------------------------------------------------------------ |
| siteid        | Unique ID of the site/store/branch, which will be used to locate the site within the BlueFletch Portal |
| sitename      | The name of the site/store/branch that will be displayed on the Launcher home screen.                  |
| latitude      | The gps latitude of the respective site                                                                |
| longitude     | The gps longitude of the respective site                                                               |

Add the following columns if using a different method of location other than GPS coordinates. These can also be used as fallback.

| Column Header      | Description                                                                                                                                                                                                                                                                                                                        |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| iprange            | <p>The IP ranges for the network expected at the respective site. Multiple ranges are supported by separating with a semi-colon, e.g.:<br><em>One range</em>: 192.3.4.1-192.3.4.255<br><em>Multiple ranges</em>: 192.3.4.1-192.3.4.255;192.3.5.1-192.3.5.200</p>                                                                   |
| apmacaddress       | The mac addresses of the APs that this device is expected to connect to, separated by semi-colons, e.g.: 6a:9c:f0:00:83:2f;c2:f5:f8:fb:15:31                                                                                                                                                                                       |
| subsequent columns | Values that will be injected into the configuration's extended attributes for the location selected. The column name will be the field name. Commonly used for [Site Group](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/portal/enterprise-launcher/managing-sites#managing-site-lists) filters in the Portal. |

#### Exporting the File <a href="#id-2-export-the-file" id="id-2-export-the-file"></a>

Export the file as a CSV (comma delimited file) and push the **sitelist.csv** to the device folder /sdcard/Download/ems/.

The equivalent ADB command is:

```json
adb push sitelist.csv /sdcard/Download/ems/sitelist.csv
```

#### Enabling Site Information Service <a href="#id-3-launcher-configurations" id="id-3-launcher-configurations"></a>

In your launcher.json configuration file under settings, enable the useSiteInfoService flag to true. You can also change the distanceInMeters value based on the radius from the site’s GPS coordinates:

```json
"settings":{
    …
    "useSiteInfoService" : true,
    "distanceInMeters" : 200,
    …
}
```

#### Setting Site List with Portal Sites

The BlueFletch Portal website gives the option of uploading a site list to the Sites page, so that the Portal can filter dashboards by all of the organization's stores and locations. Uploading a site list to the Portal also allows that file to be distributed to all devices.

The Launcher configuration's `settings` parameter `sitelistUrl` can be configured to point to the active site list from the Portal using the following pattern:

`https://ems-services-api.bluefletch.com/playbook/apiv1/sites/current/download?apikey=`**`<API key>`**`&ts=`**`<any numeric pattern>`**

{% hint style="info" %}
The API key can be found on the ***Admin - Security*** sub-tab in the Portal.
{% endhint %}

When changes are made to the active site list on the Portal, the updated list must be applied to devices by modifying the URL string. BlueFletch recommends incrementing the ts value in the URL to reflect the update. For example:

**Initial URL:**

`https://ems-services-api.bluefletch.com/playbook/apiv1/sites/current/download?apikey=xxxx67gR20H854dfspe6bb3809144nqKyw6c5N22&ts=000000`

**Updated URL:**

`https://ems-services-api.bluefletch.com/playbook/apiv1/sites/current/download?apikey=xxxx67gR20H854dfspe6bb3809144nqKyw6c5N22&ts=000001`

This ensures devices recognize and apply the latest site list changes effectively.

#### Setting Up Site List Automatic Updates

In Launcher 4, users can have access to the latest site list without manual sitelistUrl changes. To configure automatic updates, use the following parameter in the Launcher configuration:

<pre class="language-json"><code class="lang-json"><strong>"settings":{
</strong>    …
    "useSiteInfoService": true,
    "sitelistUrl": "https://ems-services-api.bluefletch.com/playbook/apiv1/sites/current/download?apikey=xxxx67gR20H854dfspe6bb3809144nqKyw6c5N22&#x26;ts=000001",
    "siteListPollingIntervalMinutes": 1440
    …
}
</code></pre>

Default is set to 1440 minutes (24 hours) On reboot, Launcher will update the current site list with the latest version.

## Custom Site Finder

Custom Site Finder is a Launcher feature that enables customer to build their own service to determine the location of a device, which may not be covered by the above functionality. To use this functionality, the customer shall create a separate application to be installed on the device, that contains an Android Service that broadcasts the siteId back to the Launcher.

### User Guide

1. If the custom Site Finder feature is enabled on the device configuration, it will trigger the onStartCommand method to run.
2. Once the siteId is found, the custom service will broadcast it back to the Launcher using the sendSiteResponse method.
3. The sendSiteResponse method will create an intent with the siteId information and broadcast it back to the Launcher application.
4. When the Launcher receives the siteId, it will search for the corresponding site record in the sitelist.csv using the siteId and use the resolved row.
5. If the siteId is empty or null, the user will receive a message that the site could not be found, and will be prompted to manually select one from the list.

#### Building the Custom Service <a href="#building-the-custom-service" id="building-the-custom-service"></a>

Use the following sample code below as a guide:

```json
package com.bluefletch.services;

public class CustomSiteFinder extends Service {

    private static final String ACTION_SITE_RESPONSE = "com.bluefletch.sitelocationservice.action.SITE_RESPONSE";
    private static final String EXTRA_REQUESTED_SITEID = "com.bluefletch.sitelocationservice.extra.REQUESTED_SITE_ID";
    private static final String LAUNCHER_PACKAGE_NAME = "com.bluefletch.ems.emm.launcher";
    ...

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {

        // TODO: perform your custom processing here
        String siteId = getCurrentSiteId();
        this.sendSiteResponse( siteId );

        return START_NOT_STICKY;
    }

    private void sendSiteResponse(String siteId) {

        Intent intent = new Intent();
        intent.setAction( ACTION_SITE_RESPONSE );
        intent.putExtra( EXTRA_REQUESTED_SITEID, siteId );
        intent.setPackage( LAUNCHER_PACKAGE_NAME );
        sendBroadcast( intent ) ;

    }
}
```

#### Enabling Custom Site Finder <a href="#set-launcher-configuration" id="set-launcher-configuration"></a>

On the Launcher configuration file, add the following section. When these configuration are set, the Launcher will invoke the custom service at startup to determine the device location. This will also be invoked when the user requests to change the site from the UI.

The `packageName` should be the applicationId of the application where the custom service can be found. The `serviceName` is the full path to the service. These two will be used to form a component to invoke the service.

```json
"externalSiteInfoFinder": {
  "packageName": "com.bluefletch.services.app",
  "serviceName": "com.bluefletch.services.CustomSiteFinder"
}
```

{% hint style="info" %}
Base Feature Introduced in Launcher 2.6.x.\
External Site Service Feature introduced in Launcher 3.2.7.\
Force Reprocess Intent introduced in Launcher 3.16.15.\
Site List Automatic Updates introduced in Launcher 4.
{% endhint %}


# Custom Intents

Custom Intents enable administrators to automate application activities and trigger specific actions based on predictable device states. It eases the efforts of both administrators and users by executing tasks automatically during lifecycle events such as login, logout, boot, or cradle.

### Device Events

Custom Intents can be invoked on these [device events/state changes](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/custom-intents/technical-guide#device-events):

* Pre Login
* Login
* Logout
* Post Logout
* Boot
* Device Uncradled
* Device Cradled
* Device Screen On
* Device Screen Off
* Motion Lock Enter
* Motion Lock Exit
* Site Changed

### Intent Capabilities

**Platform Actions:** Intents that are customized by BlueFletch to trigger operational tasks like clearing cache, deleting files, or adjusting settings.

**Standard Android Intents:** Intents that are utilized to start apps, open activities, or send broadcasts using native Android capabilities.

**Filtering:** Intents that are filtered to execute on targeted devices by matching session, device, or configuration attributes.

For configuration details and examples, consult the [Technical Guide](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/custom-intents/technical-guide) for this feature.


# Platform Actions

Custom Intents Platform Actions are specialized actions that are specific to the BlueFletch Launcher and can be used in addition to standard Android intents.

## Platform Actions

Custom Intents Platform Actions are specialized actions that are specific to the BlueFletch Launcher and can be used in addition to standard Android intents.

### Supported Actions

The following is a complete list of the Platform Actions supported by Launcher with configuration examples.

* Delay
* Clear Cache
* Enable/Disable Package
* Delete Files
* Mute/Unmute/Adjust Audio
* Applying Platform XML
* Login
* Rotate Launcher to Portrait/Landscape Mode
* Clear Storage
* Set Language
* Set Timezone

#### Delay

This is a unique Platform action. It is custom to BlueFletch Launcher, but it uses the typeIntent **d**.

To delay executing further intents for a set period of time, use a delay intent, with the time to delay set as "data" in milliseconds.

```json
{
    "typeIntent": "d",
    "data": "5000"
}
```

#### Clear Cache

An action value of **CLEARCACHE** will cause Launcher to invoke the Platform Clear Cache on the specified package.

```json
{
    "action": "CLEARCACHE",
    "package": "com.android.chrome",
    "typeIntent": "p"
}
```

#### Enable a Package

An action value of **ENABLE** will cause the specified package to be enabled.

```json
{
    "action": "ENABLE",
    "typeIntent": "p",
    "package" : "com.some.package"
}
```

#### Disable a Package <a href="#disable-a-package" id="disable-a-package"></a>

An action value of **DISABLE** will cause the specified package to be disabled.

```json
{
    "action": "DISABLE",
    "typeIntent": "p",
    "package" : "com.some.package"
}
```

#### Delete Files <a href="#delete-files" id="delete-files"></a>

An action value of **DELETE\_FILES** will delete the file(s) at the specified path as specified in the "data" field. This action does support the wildcard operator \* which allows for multiple files to be deleted.

```json
{
    "action": "DELETE_FILES",
    "typeIntent": "p",
    "data": "/sdcard/Download/*.pdf"
}
```

Delete File action now supports patterns of files to remove and removing only "old" files.

**Pattern**

Using the `pattern` setting within the action "extras", certain files can be deleted from a directory.

In the following example, the delete file action will only remove PNG and PDF files.

```
{
    "action": "DELETE_FILES",
    "typeIntent": "p",
    "data": "/sdcard/Download"
    "extras": {
        "pattern": "*.png|*.pdf"
    }
}
```

**Older Than Days**

Using the `olderThanDays` setting within the action "extras", files that are older than a certain day range can be removed.

In the following example, the delete file action will only remove PNG and PDF files that have not been updated for over 5 days.

```
{
    "action": "DELETE_FILES",
    "typeIntent": "p",
    "data": "/sdcard/Download"
    "extras": {
        "pattern": "*.png|*.pdf",
        "olderThanDays": 5
    }
}
```

**Recurse Directories**

Using the `recurseDirectories` setting within the action "extras", the delete files action can recurse through sub directories, removing specified files. `recurseDirectories` is false by default.

In the following example, the delete file action will only remove PNG and PDF files that have not been updated for over 5 days, and the action will recurse through sub directories.

```
{
    "action": "DELETE_FILES",
    "typeIntent": "p",
    "data": "/sdcard/Download"
    "extras": {
        "pattern": "*.png|*.pdf",
        "olderThanDays": 5,
        "recurseDirectories": true
    }
}
```

#### Mute Audio <a href="#mute-audio" id="mute-audio"></a>

An action value of **MUTE\_AUDIO** will cause the audio on a device to be muted. This does not affect 'Alarm' audio.

```json
{
    "action": "MUTE_AUDIO",
    "typeIntent": "p"
}
```

#### Unmute Audio <a href="#unmute-audio" id="unmute-audio"></a>

An action value of **UNMUTE\_AUDIO** will cause the audio on a device to be unmuted. This does not affect 'Alarm' audio.

```json
{
    "action": "UNMUTE_AUDIO",
    "typeIntent": "p"
}
```

#### Adjust Audio <a href="#adjust-audio" id="adjust-audio"></a>

An action value of **ADJUST\_AUDIO** will cause the audio on a device to be changed and allows for specifying the percentage of max audio per type of audio. The individual audio stream to affect should be specified within the "extras" section.

Valid "extras":

* **notification:** Affects the volume of audio streams for notification sounds.
* **music:** Affects the volume of audio streams for music playback.
* **ring:** Affects the volume of audio streams for the phone ring.
* **system:** Affects the volume of audio streams for system sounds.
* **dtm:** Affects the volume of audio streams for DTMF Tones.
* **call:** Affects the volume of audio streams for phone calls.
* **alarm:** Affects identify the volume of audio streams for alarms.
* **others:** A special override that when used, can affect any audio stream not specified within the extras.

```json
{
    "action": "ADJUST_AUDIO",
    "typeIntent": "p",
    "extras" : {
        "notification": 90,
        "alarm": 100,
        "others": 50
    }
}
```

#### Applying Platform XML <a href="#applying-platform-xml" id="applying-platform-xml"></a>

The action **XML** allows for invoking platform-specific XML (currently supports the Zebra platform's StageNow™ XML tooling). Use the "data" field to specify the XML file location, either located on the device sdcard or managed within Launcher assets.

This example is retrieving the XML file from the /sdcard/... local file path:

```json
{
    "action": "XML",
    "typeIntent": "p",
    "data": "/sdcard/Download/ems/gloveInput.xml"
}
```

This example is using the Assets Manager to download/manage the XML file:

```json
{
    "action": "XML",
    "typeIntent": "p",
    "data": "assets:stylusInput"
}
```

#### Login

Using an action value of **LOGIN** allows for controlling when Launcher starts the device login flow.

```json
{
    "action": "LOGIN",
    "typeIntent": "p"
}
```

{% hint style="info" %}
Available in Launcher 3.7.7
{% endhint %}

#### Rotate Launcher to Portrait Mode <a href="#applying-platform-xml" id="applying-platform-xml"></a>

An action value of **com.bluefletch.launcher.ACTION\_ROTATE\_PORTRAIT** will force rotation of the Launcher Home screen to portrait mode.

```json
{
    "action": "com.bluefletch.launcher.ACTION_ROTATE_PORTRAIT",
    "typeIntent": "p"
}
```

{% hint style="info" %}
Available in Launcher 3.21.17.
{% endhint %}

#### Rotate Launcher to Landscape Mode <a href="#applying-platform-xml" id="applying-platform-xml"></a>

An action value of **com.bluefletch.launcher.ACTION\_ROTATE\_LANDSCAPE** will force rotation of the Launcher Home screen to landscape mode.

```json
{
    "action": "com.bluefletch.launcher.ACTION_ROTATE_LANDSCAPE",
    "typeIntent": "p"
}
```

{% hint style="info" %}
Available in Launcher 3.21.17.
{% endhint %}

#### Clear Storage

An action value of **CLEAR\_STORAGE** will clear all cache and user data to which the OEM's SDK has access. Applying via the `logout` or `postLogout` array will usually (dependent on the app vendor) clear all user data for that app from the prior session.

```json
{
    "action": "CLEAR_STORAGE",
    "package": "com.example.package",
    "typeIntent": "p"
}
```

{% hint style="info" %}
Available in Launcher 3.24.20.
{% endhint %}

#### Set Language

An action value of **SET\_LANGUAGE** will set the device's language based on the locale associated with a store/site location through the extra string `"lang"`.

```json
{
    "action": "SET_LANGUAGE",
    "typeIntent": "p",
    "extras": {
      "lang": "${config.ex.lang}"
    }
}
```

The extra `"lang"` can point to a replacement variable. In the example above, `"lang"` points to `"${config.ex.lang}"` - that is, to an extended attribute in the launcher.json configuration file named "lang". This extended attribute can be associated with each site by adding a column "lang" to the sitelist.csv file for a Zebra-supported locale (e.g. "en\_US", "fr\_CA", "de\_DE", "zh\_CN").

```csv
siteId,siteName,longitude,latitude,lang
1001,Atlanta,-84.38675200862285,33.75690491404407,en_US
...
```

{% hint style="info" %}
Available in Launcher 3.25.15. Only supported on Zebra devices.
{% endhint %}

#### Set Timezone

An action value of **SET\_TIMEZONE** will set the device's time based on the locale associated with a store/site location through the extra string `"timezone"`.

```json
{
    "action": "SET_TIMEZONE",
    "typeIntent": "p",
    "extras": {
      "timezone": "${config.ex.timezone}",
      "ntpServer": "north-america.pool.ntp.org"
    }
 }
```

The extra "timezone" can point to a replacement variable. In the example above, "timezone" points to `"${config.ex.timezone}"` - that is, to an extended attribute in the launcher.json configuration file named "timezone". This extended attribute can be associated with each site by adding a column "lang" to the sitelist.csv file for a Zebra-supported timezone (e.g. GMT-5 or GMT-05:00, GMT+9 or GMT+09:00).

The extra `"ntpServer"` indicates a specific NTP server to use when setting the timezone.

```
siteId,siteName,longitude,latitude,timezone
1001,Atlanta,-84.38675200862285,33.75690491404407,GMT-05:00
2002,Tokyo,139.7558762393648,35.68204282600092,GMT+9
...
```

#### Update Site List

The action value **com.bluefletch.action.ACTION\_UPDATE\_SITES** enables the Launcher to ‘Poll’ for changes/updates to the Site List URL.

```json
{
    "action": "com.bluefletch.action.ACTION_UPDATE_SITES",
    "typeIntent": "b"
}
```

{% hint style="info" %}
Site List Updates introduced in Launcher 4.2.37.
{% endhint %}

#### Reboot

An action value of **REBOOT** will trigger a device reboot.&#x20;

```json
{
   "action": "REBOOT",
   "typeIntent": "p"
}
```

#### Write File

An action value of **WRITE\_FILE** will write a file to a specified location on the device using data provided in the configuration. The formatType extra key indicates the format of the output file, either XML or JSON. If formatType is not provided, the default is JSON.&#x20;

```json
{
   "action": "WRITE_FILE",
   "typeIntent": "p",
   "data": "/sdcard/Download/sessionInfo.xml",
   "extras": {
       "formatType": "xml",
       "orgId": "${config.ex.orgId}",
       "siteId": "${config.ex.siteId}",
       "userId": "${session.userId}",
       "deviceId": "${config.ex.deviceId}",
       "writtenAt": "${now:yyyy-MM-dd HH:mm:ss}"
   }
}
```


# Standard Android Intents

### Starting an Application

To start an application, use **typeIntent** *a* and supply the package name.

```json
{
      "package": "com.android.calculator2",
      "typeIntent": "a"
}
```

Additionally, **actions**, **classes**, and **flags** can be used for a more granular intent.

An **action** value specifies an action defined within the application.

An activity can be referenced as a **class** value; this will tell Launcher to open a specific activity in the application, rather than the default activity. When using a class to start an activity, a **flag** of *1* is required to start a new task.

```json
{
    "action": "com.bluefletch.ems.remotecontrol.ACTION_START",
    "package": "com.bluefletch.ems.emm.remoteagent",
    "class": "com.bluefletch.ems.remotecontrol.RemoteActivity",
    "flags": 1,
    "typeIntent": "a"
}
```

### Sending a Broadcast Intent

Android supports broadcast intents, or intents that are transmitted broadly to all listening applications to trigger an action.

Broadcast intents can be sent using **typeIntent** *b* and an action or package name.

For example, to invoke the action to clear cookies on the BlueFletch Browser application via broadcast:

```json
{
    "action": "com.bluefletch.ems.browser.CLEAR_COOKIES",
    "typeIntent": "b",
    "package": "com.bluefletch.ems.browser"
}
```

### Sending an Intent with Data

Intents, including standard Android intents and BlueFletch's customized Platform action intents, can include a **data** string to pass the intent configurable details it will need in order to run.

For example, to start an XML via intent, the XML file location is passed through **data**:

```json
{
    "action": "XML",
    "data": "/sdcard/Download/ems/stageNowTest.xml",
    "typeIntent": "p"
}
```

Or in a delay intent, **data** tells the intent how long to wait, in milliseconds:

```json
{
    "data": "2000",
    "typeIntent": "d"
}
```


# Filtering

### Overview <a href="#overview-0" id="overview-0"></a>

Managing the access and use of sensitive data is a key pillar of enterprise security. Role-based access control (RBAC) enables complex network environments to meet privacy and confidentiality regulations while securing business processes. Launcher's session application layouts are based on RBAC to simplify granting data only to relevant users. Intent filtering applies this same principle to the intents that can be triggered to automatically run on devices at various device event triggers.

### User Guide <a href="#user-guide-1" id="user-guide-1"></a>

Filtered intents allows IT administrators to determine what intents will run on specific Android enterprise devices based on the logged-in user's session, device, or extended attribute information.

### Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

Intents can be filtered to match any session, device, or extended attribute replacement variable (for example: session.groups, session.location, session.userId, device.MODEL, device.BRAND, config.ex.deviceId, config.ex.siteId).

* Use the documented key-value pairs to build an intent
* Include a `"filter"` object where:
  * The replacement variable key is paired with a string
  * The string lists one or more values to include in the filter
    * Use a pipe ( | ) symbol when listing multiple values

```json
"intents" : {
    "login" : [
        // Start an app on login for users with at least one of two IdP groups:
        {
            "package": "com.application.inventory",
            "flags": 1,
            "typeIntent": "a",
            "filter": {
                "session.groups": "SalesAssociate|Receiving"
            }
        },
        // Disable an app on login at three sites:
        {
            "action": "DISABLE",
            "typeIntent": "p",
            "package" : "com.some.package"
            "filter": {
                "session.location": "1001|9309|4146"
            }
        }
    ],
    "logout": [
        // Clear browser app caches on logout for one particular device:
        {
            "action": "CLEARCACHE",
            "package": "com.bluefletch.ems.browser",
            "typeIntent": "p",
            "filter": {
                "config.ex.deviceId": "24000XXX39526"
            }
        }
    ]
}
```

Alternatively, filtering can be accomplished with and/or criteria and regular expressions (regex).

{% hint style="info" %}
Intent filtering was introduced in Launcher 3.16.15.
{% endhint %}


# Technical Guide

Configuration key-value pairs applicable to custom intents.

### Device Events

The following device states/events are available as triggers in the launcher.json's base-level object `"intents"`. Multiple intent objects can be listed sequentially in each device event's array.

| Field           | Description                                                                                                                               |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| preLogin        | **array** A collection of Custom Intents to invoke before the authentication process begins.                                              |
| login           | **array** A collection of Custom Intents to invoke after user logs into the device.                                                       |
| logout          | **array** A collection of Custom Intents to invoke after user logs out of the device, prior to launcher completing full logout.           |
| postLogout      | **array** A collection of Custom Intents to invoke after user logs out of the device. This occurs after all Logout actions are completed. |
| boot            | **array** A collection of Custom Intents to invoke after device boot.                                                                     |
| uncradle        | **array** A collection of Custom Intents to invoke after the device is removed from the cradle.                                           |
| cradle          | **array** A collection of Custom Intents to invoke after the device is placed on the cradle.                                              |
| screenOn        | **array** A collection of Custom Intents to invoke after the screen turns on.                                                             |
| screenOff       | **array** A collection of Custom Intents to invoke after the screen turns off.                                                            |
| motionLockEnter | **array** A collection of custom intents to invoke when lockInMotion engages on the device.                                               |
| motionLockExit  | **array** A collection of custom intents to invoke when the device exits from lockInMotion state.                                         |
| siteChange      | **array** A collection of custom intents to invoke when a site change is detected.                                                        |

### Key-Value Pairs

The following key-value pairs are used to build each custom intent object:

<table><thead><tr><th>Key</th><th>Value Description</th></tr></thead><tbody><tr><td>package</td><td><strong>string</strong> The package to invoke.</td></tr><tr><td>action</td><td><strong>string</strong> Android action, or special Platform Action.</td></tr><tr><td>category</td><td><strong>string</strong> Android Category.</td></tr><tr><td>class</td><td><strong>string</strong> The Class name within the package.</td></tr><tr><td>flags</td><td><strong>integer</strong> Flags to use during firing the intent. Currently supports the value of 1, which indicates new task.</td></tr><tr><td>typeIntent</td><td><strong>string</strong> The type of intent, values b, i, a, d or p. b = Broadcast (default), i = implicit intent, a = start Activity, d = delay, p = platform.</td></tr><tr><td>extras</td><td><p><strong>Hash Map</strong> Key/value pairs of additional data to send.<br>Example:</p><pre class="language-json"><code class="lang-json">"extras": {
   "market": "retail", 
   "region": "northeast"
}
</code></pre></td></tr><tr><td>data</td><td><strong>string</strong> Data to send with the intent.</td></tr><tr><td>filter</td><td><p><strong>object</strong> Object for defining which key-value pair of the session object will trigger the intent.<br>Example:</p><pre class="language-json"><code class="lang-json">"filter": { 
   "session.groups": "Associates"
}
</code></pre></td></tr></tbody></table>

### Examples

#### All Device Event Arrays

Below is an example where each device event array is present. The following example performs the following:

1. After login, the Launcher home screen will rotate to Landscape orientation
2. During logout:
   1. Launcher clears the cache of Android Chrome
   2. The Launcher home screen will rotate back to Portrait orientation
3. In addition, whenever the device is removed from the cradle:
   1. The device volume will be adjusted to 100%

```json
"intents": {
    "preLogin": [],
    "login": [
        {
            "action": "com.bluefletch.launcher.ACTION_ROTATE_LANDSCAPE",
            "typeIntent": "p"
        }
    ],
    "logout":[
        {
            "action": "CLEARCACHE",
            "package": "com.android.chrome",
            "typeIntent": "p"
        },
        {
            "action": "com.bluefletch.launcher.ACTION_ROTATE_PORTRAIT",
            "typeIntent": "p"
        }
    ],
    "postLogout": [],
    "boot": [],
    "uncradle": [
        {
            "action": "ADJUST_AUDIO",
            "typeIntent": "p",
            "extras": {
                "others": 100
            }
        }
    ],
    "cradle": [],
    "screenOn": [],
    "screenOff": [],
    "motionLockEnter": [],
    "motionLockExit": [],
    "siteChange": [
        {
            "action": "SET_LANGUAGE",
            "typeIntent": "p",
            "extras": {
              "lang": "${config.ex.lang}"
            }
        },
        {
            "action": "SET_TIMEZONE",
            "typeIntent": "p",
            "extras": {
              "timezone": "${config.ex.timezone}",
              "ntpServer": "north-america.pool.ntp.org"
            }
         }
    ]
  }
```

{% hint style="info" %}
Unused arrays may or may not be included in the "intents" object for the existing intents to work; empty arrays do not cause issues but they are also not required to be included.
{% endhint %}


# Security and Safety

Security and Safety enables administrators to enforce strict device and user-level management controls across workforce devices. It safeguards sensitive corporate data by ensuring only authorized users can access approved applications, notifications, and settings.&#x20;

**Clear App Data on Logout:** Erases session data, cookies, and preferences for specified applications automatically whenever a user logs out.

**Device Remote Lock:** Locks devices remotely via the BlueFletch Portal to force lockdown, disable UI controls, and display a customizable message.

**Disable Packages:** Deactivates specific packages at startup to prevent the installation of unwanted applications.

**Key Management:** Manages encrypted device keys for secure API communication and enables access revocation for compromised devices.

**Local Admin Password:** Secures local administrator access by requiring an SHA-256 hashed password defined within the launcher configuration.

**Motion Activated Device Lock:** Locks the device screen and restricts unauthorized app access whenever driving or vehicle motion is detected.

**NFC Enable/Disable:** Controls Near Field Communication access dynamically based on device boot, application startup, or user login events.

**Secure Notifications:** Replaces the default Android status bar with an enterprise-controlled UI to prevent unauthorized access to device settings.

**Unique Login:** Restricts users to a single active session by automatically logging out their original device if they log in elsewhere.

**Wi-Fi UI Settings Enable/Disable:** Controls network access by displaying or hiding the Wi-Fi Settings UI within specific layouts.

<br>


# Clear App Data on Logout

A Launcher security feature that automatically deletes application and session upon user logout to protect shared devices.

### **Overview**

Use Clear App Data on Logout to automatically clear application data once a user logs out of a device. It deletes cookies, session tokens, cached files, and running apps outside the authentication module. It is commonly used to safeguard sensitive information such as login credentials and browsing history on shared or multi-user devices.\
\
By default, this feature is disabled; however, administrators can enable it and configure which application packages are cleared or retained during the logout process.&#x20;

### **User Guide**

To configure Clear App Data on Logout, complete the following steps:

1. Enable the `clearAppDataOnLogout` setting to clear user data upon logout.
2. Define applications in the `clearAppDataIncludeList` to clear their data even if they were not actively used during the session.
3. Define applications in the `clearAppDataExcludeList` to exclude in the process and retain their user data upon logout.&#x20;

{% hint style="info" %}
Downloaded files are not automatically deleted during the default file removal process. For more information on how to explicitly remove downloaded files, refer to the Delete Files and Clear Cache sections of the Custom Intents Platform Actions page.
{% endhint %}

### **Configuration**

#### **Enabling Clear App Data on Logout**

To enable the feature, set `clearAppDataOnLogout` to `true` within the Launcher configuration.&#x20;

```json
"settings": {
  …
  "clearAppDataOnLogout": true
}
```

#### Setting Up Data Inclusion List

If `clearAppDataOnLogout` is set to true, this list specifies additional app packages that should be cleared even if they were not launched during the session. An example configuration is shown below:

```json
"settings": {
  …
  "clearAppDataOnLogout": true,
  "clearAppDataIncludeList": “com.android.chrome”
}
```

#### **Setting Up Data Exclusion List**

If `clearAppDataOnLogout` is set to true, this list specifies app packages that should be excluded from the app data clearing process. These packages will retain their app data even when the user logs out. An example configuration is shown below:

```json
"settings": {
  …
  "clearAppDataOnLogout": true,
  "clearAppDataExcludeList": “com.bluefletch.emm.epm”
}
```

{% hint style="info" %}
If `clearAppDataOnLogout` is set to false, the `clearAppDataIncludeList` and `clearAppDataExcludeList` settings are ignored. No app data will be cleared on logout.
{% endhint %}

The Clear App Data on Logout configuration consists of the following parameters:

<table><thead><tr><th width="233.44921875">Field</th><th width="295.28515625">Description</th><th>Default Value</th></tr></thead><tbody><tr><td>clearAppDataOnLogout</td><td>Enables the clearing of app data on logout for all applications launched during user session</td><td>false</td></tr><tr><td>clearAppDataIncludeList</td><td>Specifies app packages that should be cleared even if they were not launched during user session</td><td>none</td></tr><tr><td>clearAppDataExcludeList</td><td>Specifies app packages that should be excluded from the app data clearing process</td><td>none</td></tr></tbody></table>

## Putting It All Together

For the example described above, the full configuration for the Clear App Data on Logout feature is as follows:

```json
"settings": {
  …
  "clearAppDataOnLogout": true,
  "clearAppDataIncludeList": “com.android.chrome”,
  "clearAppDataExcludeList": “com.bluefletch.emm.epm”
  }
  }
```


# Device Remote Lock

Device Remote Lock remotely locks devices and displays a customizable message prior to repair, replacement, decommissioning, or other purposes.

### Overview

The Device Remote Lock feature allows organizations to remotely lock devices and display a predefined message on a customizable screen. This helps manage devices designated for repair, replacement, decommissioning, or other purposes, while also preventing unauthorized use during these processes.

{% hint style="info" %}
This feature is only available on devices with Launcher 3.25.29 or higher.
{% endhint %}

### User Guide

When Device Remote Lock is activated, deactivated, or even during Launcher startup, the device adjusts its behavior to prioritize security until certain requirements are met. Understanding how the feature operates in these scenarios equips users to manage it effectively.

**When Lock Screen is Activated:**

* If a user is logged in, the system will automatically log the current user out.
* The UI will change to display the new Lock Screen interface.
* Device controls, such as the notification pull-down, will be disabled.

**When Lock Screen is Deactivated:**

The UI will update to confirm the device is in Open Zone.

**During Device Boot / Launcher Startup:**

If the device was locked before rebooting, the device will automatically return to lockdown mode after completing the startup process.

### How to Activate Device Remote Lock

**On Portal - Device Actions - Remote Lock menu item:**

To use Device Remote Lock on the BlueFletch Portal, navigate to the **Device** page, click on **Device Actions** to expand the menu, and select the **Remote Lock** button. Click the **Lock Device** button.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FbBT5aYFJSDSWqHYV2zMq%2FScreenshot%202025-04-03%20at%2010.41.24%E2%80%AFAM.png?alt=media&#x26;token=6c0b7ae2-0bef-4334-8cd7-c427b67d5751" alt="" width="536"><figcaption></figcaption></figure>

The message ‘This device has been locked by your administrator. Please return this device to the cradle.’ will be displayed on the screen to prompt the user to take the corresponding action.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fb7vTZ7vq3yw5i0hx00Oo%2Fimage%20(6).png?alt=media&amp;token=9a770a0e-2c7b-4f2e-ac29-2e5fbe1ef42b" alt="" width="360"><figcaption></figcaption></figure>

**On Portal - Enterprise Launcher - Notifications:**

```json
{
   "notificationId": 6001,
   "notificationAction": "cancel",
   "packageName": "com.bluefletch.ems.emm.launcher",
   "intentAction": "com.bluefletch.ACTION_FORCE_LOCK_ENABLE"
}
```

**Using ADB command (update package name as needed):**

```json
adb shell am broadcast -a com.bluefletch.ACTION_FORCE_LOCK_ENABLE -p com.bluefletch.ems.emm.launcher
```

### How to Deactivate Device Remote Lock

**On Portal - Device Actions - Remote Lock menu item:**

To disable **Device Remote Lock** on the BlueFletch Portal, select **Remote Lock** from the menu item and click the **Unlock Device** button.

This notification toast will pop up on the screen:

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fzmdu5tI1A12ZDpVzdLuV%2FScreenshot%202025-04-10%20at%209.09.00%E2%80%AFAM.png?alt=media&#x26;token=81e748fb-f956-4b4a-926c-5c14a1376c6b" alt=""><figcaption></figcaption></figure>

**On Portal - Enterprise Launcher - Notifications:**

```json
{
   "notificationId": 6001,
   "notificationAction": "cancel",
   "packageName": "com.bluefletch.ems.emm.launcher",
   "intentAction": "com.bluefletch.ACTION_FORCE_LOCK_DISABLE"
} 
```

**Using ADB command (update package name as needed):**

```json
adb shell am broadcast -a com.bluefletch.ACTION_FORCE_LOCK_DISABLE -p com.bluefletch.ems.emm.launcher
```

### Customizing Lock Screen Display Settings

This configuration allows you to customize the background color, title, and message displayed during lockdown mode.

```json
"forceLock": {
    "backgroundColor": "#000000",
    "title": "Title of the dialog",
    "message": "This is what shows up when the device is locked.",
    "header": {
      "logo": "/sdcard/Download/bluefletch_ic.png",
      "line1": "Sample Line 1",
      "line2": "Sample Line 2"
    },
    "footer": {
      "heading": "Please Contact",
      "subText": "(855) 529-6349",
      "subText2": "help@bluefletch.com"
    }
  }
```

{% hint style="info" %}
App Events are generated for Force Lock and Force Unlock invocations.
{% endhint %}


# Disable Packages

Disable Packages is a Launcher feature that enables disabling packages at start up (after configuration is loaded).

### Overview <a href="#overview-0" id="overview-0"></a>

Disable Packages is a Launcher feature that enforces the organization's security policies on your Android enterprise devices. It prevents users from installing unwanted apps that can take up more storage space, compromise data security, and even distract users from focusing on their tasks.

### User Guide <a href="#user-guide-1" id="user-guide-1"></a>

This feature disables packages after start-up. Packages can only be disabled after loading the configuration. Only packages that are not in the ‘protected’ list of applications will be disabled. For instance, a device administrator cannot disable com.bluefletch.ems.support.

1. After loading the configuration is loaded, this feature will disable all packages in the disablePackages collection.
2. If the package exists within the Protected List collection, it will not be disabled.

### Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up the Disable Packages feature for a particular device profile or device group, please follow the steps below:

#### Setting Up Packages to be Disabled <a href="#setting-up-packages-to-be-disabled-3" id="setting-up-packages-to-be-disabled-3"></a>

The example below shows a list of packages to be disabled:

```json
"disablePackages": [
         "com.google.android.googlequicksearchbox",
         "com.android.browser"
 ]
```

#### Disabling Individual Activities in Various OEMs

The capability around disabling individual components/activities within a package differ by OEM.

* **Zebra:** EMDK does not support disabling individual activities; attempting to disable an activity will disable the whole package.
* **Samsung:** Knox supports disabling individual activities.
* **Platform-signed OEMs:** The BlueFletch Platform Service APK supports disabling individual activities, so OEMs that platform sign can support this functionality while the Platform Service app is installed and running.

The format for a disabled activity string is `"<package name>/<package.activity>"`.

**Example:**

```json
"disablePackages": [
         "com.android.settings/com.android.settings.applications.InstalledAppDetails"
 ]
```

{% hint style="info" %}
Disable Packages was introduced in Launcher 2.8.x.
{% endhint %}


# Key Management

Key Management is a Launcher feature that manages device keys to promote secure communication between client organizations and the BlueFletch data service APIs.

### Overview

Device keys are encrypted tokens used to validate requests from BlueFletch applications making API calls. Revoking device keys or blocking a device can prevent a lost or compromised device from accessing organization data on secure APIs. Key Management is a Launcher feature that manages keys to promote secure communication between client organizations and the BlueFletch data service APIs.

### User Guide

Device keys are managed in the BlueFletch Portal. It ensures that these keys/tokens have been properly authorized to access the API and perform specific actions granted during authorization. In the case of a lost or stolen device, a device key can be revoked on the Portal. Devices that had been able to securely connect with that key and are blocked from retrieving a new key will no longer be able to reach BlueFletch APIs and retrieve organization data.

### Feature Configuration

To set up the Key Management feature for a particular device profile or device group, please follow the steps below:

#### Enabling Key Management

Key Management feature, by default, is disabled within the Launcher configuration. If keyManagement is set to true, then the feature will be enabled on the device.

```json
"keyManagement": {
    "enabled": true,
```

#### Setting Up the Refresh Time Range

Tokens or keys on a device have a defined expiration time on the organization’s settings page. To set up the refresh time range of the token/keys on a device, define the number of seconds in the configuration.

```json
    "refreshIntervalInSeconds": 1740
}
```

{% hint style="info" %}
Key Management was introduced in Launcher 3.18.10.
{% endhint %}


# Local Admin Password

Instructions for changing the Local Admin Password within the Launcher.

### Overview

Local Admin Password enables administrators to define a secure, device-level password within the Launcher configuration. By default, this password is not included in the configuration file, but it can be added or modified by providing an SHA256 hash of the desired password.

This feature restricts unauthorized access to administrative settings on shared devices. It ensures that only authorized IT personnel can bypass lockdown modes or modify configurations.&#x20;

### User Guide

To update the Local Admin Password, you must generate an SHA-256 hash of your new password and deploy it via your MDM.&#x20;

1. Determine your new password.
2. Generate the hash using one of two methods below:
   1. Plug password into a SHA256 hash generator:(<https://academo.org/demos/SHA-256-hash-generator/>)
   2. Run the following command in your terminal:

      &#x20;`echo -n adpass321 | shasum -a 256 | awk '{ print $1 }`
3. In your `launcher.json` file, add or update the `adminPassword` field within the `settings` object using the generated value.

Once this configuration file is read by Launcher, the new password will be required to access local admin features.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FdfZX4gMFPjL4uo83cUAT%2Fimage%20(7).png?alt=media&amp;token=cf7dbd42-9ff2-42aa-aeeb-2362e7cff51a" alt="" width="360"><figcaption></figcaption></figure>

### Feature Configuration

To set up the Local Admin Password feature for a particular device profile or device group, please follow the steps below:\
\
To change the password, add or modify the adminPassword field under `settings` with an SHA-256 hash of the password. Then push the new configuration to the device. Use the example below:

```json
"settings" : {
    ...
    "adminPassword": "d4548952d6815a2d07efbddaa6cfdf81d910121ea4ec094e182b02503214bc92"
    ...
}
```


# Motion Activated Device Lock

Motion Activated Device Lock is a Launcher feature that locks the device when driving is detected.

### Overview <a href="#overview-0" id="overview-0"></a>

Motion intelligence software is revolutionizing safety initiatives in the workplace by preventing distracted driving. It enables fleet managers to keep track of their employees' compliance with safe-driving habits such as speed monitoring and avoiding phone usage. Motion Activated Device Lock is a Launcher feature that ensures workers remain focused on the job at hand, reducing the risk of accidents and other potential hazards. It locks the device while the user is driving. When the user stops driving, the user will be navigated back to the home screen and can use the device normally.

### User Guide

Motion Activated Device Lock locks the screen display and prevents access to unauthorized apps and functionality whenever driving is detected. This allows IT administrators to monitor driver behavior to ensure Android enterprise device policy compliance.

1. If this feature is enabled in the configuration, the device will be disabled when driving is detected.
2. The message ‘For your safety, this device will remain locked while the vehicle is in motion’ will be displayed on the screen. Users will not be able to navigate away from this screen while they are driving.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FMM3DKXqIcbqzgn5HpOpx%2Fimage%20(8).png?alt=media&amp;token=5dd0f22c-3109-4087-86dc-de3cb1877a02" alt="" width="360"><figcaption></figcaption></figure>

3. Starting in Launcher 3.21.15, when the user stops driving, an "Exit Motion Lock" button will be displayed. The user must press the button in order to exit the Motion Lock UI. Prior to 3.21.15, when the user stops driving, the user will be navigated back to the home screen and can use the device normally.

### Feature Configuration <a href="#advanced-configuration-4" id="advanced-configuration-4"></a>

To set up the Motion Activated Device Lock feature for a particular device profile or device group, please follow the steps below:

#### Enabling Motion Lock <a href="#enabling-motion-lock-5" id="enabling-motion-lock-5"></a>

Motion Activated Device Lock feature can be enabled or disabled within the Launcher configuration. If lockInMotion is set to true, the device will be locked while the user is driving. If lockInMotion is set to false, the device will not be locked while the user is driving.

```json
 "settings": {
    ...
    "lockInMotion" : true,

  ...
  }
```

#### Setting Up The Range <a href="#setting-up-the-range-6" id="setting-up-the-range-6"></a>

If lockInMotion is set to true, you can set up the range where the Motion Activated Device Lock feature will be enabled by defining the percentage level in the configuration. For instance, if lockInMotionConfidence is set to 50 (can range from 0 to 100), the device will be locked when there is at least 50 percent confidence that the user is driving.

```json
    "lockInMotionConfidence" : 50,
```

#### Setting Up The Interval <a href="#setting-up-the-interval-7" id="setting-up-the-interval-7"></a>

If lockInMotion is set to true, you can determine motion information from the system by defining the interval (in milliseconds) in the configuration. The default is 5000 ms (5 seconds). Introduced in Launcher version 3.11.4.

```json
    "lockInMotionInterval": 5000, 
```

#### Enabling GPS <a href="#enabling-gps-8" id="enabling-gps-8"></a>

If lockInMotionUseGps is set to true, GPS will be utilized to enable the Motion Activated Device Lock feature when driving is detected. If lockInMotionUseGps is false, the Motion Activated Device Lock feature will not be enabled when driving is detected. Note that this setting will only be utilized if lockInMotion is set to true.

```json
    "lockInMotionUseGps": true,
```

#### Setting Up The Speed Threshold <a href="#setting-up-the-speed-threshold-9" id="setting-up-the-speed-threshold-9"></a>

If lockInMotionUseGps is set to true, you can set up the movement speed threshold required to lock the device by defining the number of miles per hour in the configuration. For instance, if it is set to 2, the device will be locked if the detected speed is greater than or equal to 2 miles per hour. The default is 5 miles per hour.

```json
   "lockInMotionSpeedInMph": 5,
```

#### Setting Up The GPS Time Interval <a href="#setting-up-the-gps-time-interval-10" id="setting-up-the-gps-time-interval-10"></a>

If lockInMotionUseGps is set to true, you can set up the GPS minimum time interval in the configuration. For instance, if it is set to 10000, the GPS update time interval will run every 10 seconds. The default is 5000 milliseconds.

```json
  "lockInMotionGpsUpdateInterval": 5000,
```

#### Setting Up The GPS Distance Threshold <a href="#setting-up-the-gps-distance-threshold-11" id="setting-up-the-gps-distance-threshold-11"></a>

The GPS provides updates on the speed when it notices that the device has traveled the defined interval distance in meters. To set up the GPS distance threshold, define the number of meters in the configuration. For instance, if it is set to 5, the GPS updates will run every 5 meters. The default is 0, which means that GPS data will provide updates constantly. Note that this setting will only be utilized if lockInMotionUseGps is set to true.

```json
    "lockInMotionGpsMinDistanceThreshold": 0
```

#### Allow Application Launch during Motion Lock <a href="#putting-it-all-together-9" id="putting-it-all-together-9"></a>

Beginning in Launcher version 3.20.x, an **Allow in Motion Lock** list of three or fewer applications or web shortcuts can be selected. The allowed apps will be displayed in the locked view at the bottom of the screen. Only applications that are also accessible with the user's role can be allowed for use during motion lock. To add an app to the **Allow In Motion Lock** list, include `"allowInMotionLock": true` in the app's layout object.

#### Adding Enter Motion Lock Shortcut <a href="#putting-it-all-together-9" id="putting-it-all-together-9"></a>

Starting in Launcher 3.21.15, a shortcut item can be added to the Launcher home screen that allows for entering Motion Lock. Create a shortcut that uses the action com.bluefletch.launcher.ENTER\_MOTION\_LOCK. When entering Motion Lock using this action, Launcher will not force itself to the foreground, but will display the Motion Lock UI, and any applications that are marked as "allowInMotionLock" can be started from the Motion Lock UI.

```
{
    "label": "Enter Motion Lock",
    "action": "com.bluefletch.launcher.ENTER_MOTION_LOCK"
}
```

#### Putting It All Together <a href="#putting-it-all-together-9" id="putting-it-all-together-9"></a>

For the example described above, the full configuration for the Motion Lock mode is as follows:

```json
  "layouts": {
      "Associates": [
         {
          "label": "Enter Motion Lock",
          "action":"com.bluefletch.launcher.ENTER_MOTION_LOCK"
        }
        {
          "package": "com.bluefletch.ems.support",
          "allowInMotionLock": true
        },
        {
          "package": "com.google.android.apps.maps",
          "allowInMotionLock": true
        },
        {
          "package": "com.android.dialer",
          "allowInMotionLock": true
        },
        {
          "package": "com.bluefletch.ems.deviceinformation"
        }
      ]
  },
  ...
  "settings": {
    ...
    "lockInMotion" : true,
    "lockInMotionConfidence" : 50,
    "lockInMotionInterval": 5000,

    "lockInMotionUseGps": true,
    "lockInMotionSpeedInMph": 5,
    "lockInMotionGpsUpdateInterval": 5000,
    "lockInMotionGpsMinDistanceThreshold": 0
    ...
  }
```

{% hint style="info" %}
Motion Activated Device Lock was introduced in Launcher 3.5.x.
{% endhint %}


# NFC Enable/Disable

NFC Enable/Disable is a Launcher feature that enables or disables NFC access based on user login or application start.

### Overview <a href="#overview-0" id="overview-0"></a>

NFC technology ensures secure wireless transactions among devices near each other. It enables users to do various tasks such as connecting to other devices, making payments, and sending files, media, or even NFC tags. It also provides businesses with greater opportunities for achieving customer engagement and improving brand awareness in new innovative ways. NFC Enable/Disable is a Launcher feature that enables or disables NFC access based on user login or application start.

### User Guide <a href="#user-guide-1" id="user-guide-1"></a>

NFC technology allows secure data transfer between devices that are in close proximity, typically a few centimeters apart, with a simple touch. NFC tags can work without the presence of a local Wi-Fi, 4G, 5G, or Bluetooth Low Energy (BLE) connection. NFC Enable/Disable supports operational efficiency and creates engaging user interactions without taxing the battery or the need for pairing.

NFC Enable/Disable will occur during one of three timeframes:

1. When device is booted
2. Opening of an application or shortcut
3. After a session change (login or logout)

### Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up the NFC Enable/Disable feature for a particular device profile or device group, please follow the steps below:

#### Enabling/Disabling NFC Feature <a href="#enablingdisabling-nfc-feature-3" id="enablingdisabling-nfc-feature-3"></a>

NFC Enable/Disable feature can be enabled or disabled within the Launcher configuration. If enableNFC is set to true for a specific application or shortcut, NFC will be enabled before the application is started. If nfcTurnOff is set to true, NFC will be disabled after the device is booted or during user logout. If nfcTurnOnAtLogin is set to true, NFC will be enabled on user login.

```json
 "layouts" : {
    ...

    "ADMIN":[
      {
        ...
        "nfcEnable": true
      },
      {
        ...
        "nfcEnable": true
      }
    ],
  },

  ...

  "settings": {
    ...
    "nfcTurnOff" : true,
    "nfcTurnOnAtLogin" : true
    ...
  }
```

{% hint style="info" %}
NFC Enable/Disable Feature was introduced in Launcher 3.x.
{% endhint %}


# Secure Notifications

Secure Notifications is a Launcher feature that enables device administrators to lock down the notifications display and control which notifications are presented to or kept from the user.

## Overview <a href="#overview-0" id="overview-0"></a>

The Android system status bar contains notification icons, current device status, and other system details. Hiding or disabling notifications prevents unauthorized access to certain apps and settings, provides better device functionality, and promotes a more immersive user experience. Secure Notifications is a Launcher feature that serves as a customizable replacement for the default Android system notification tray. It protects sensitive company data and ensures that the device is used only for the intended purpose.

{% hint style="info" %}
This feature only works on Android devices running on Android 6.0 Marshmallow (sdk 23) and above. This feature will not work on Android 5.1 lollipop devices because the Screen Overlay Permission is only available for 6.0+ devices.
{% endhint %}

## Getting Started <a href="#user-guide-1" id="user-guide-1"></a>

Secure Notifications allows IT administrators to gain granular control over Android enterprise devices by disabling the Android Status Bar and System Notifications Tray, and replacing them with the BlueFletch Secure Notifications Feature. This feature prevents potential threats from accessing the device settings through the notifications. This section will walk you through two major concepts: how to disable the Android notifications tray in various MDMs, and how to configure the Secure Notifications feature in the Launcher configuration.

### Disabling Notifications in VMware Workspace One

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fejff7JzH52j0nzLzcD1Q%2FScreenshot%202023-10-16%20at%203.03.23%E2%80%AFPM.png?alt=media&#x26;token=817298bd-5eb5-468b-814e-4f98b2b21a38" alt=""><figcaption></figcaption></figure>

* Log into your VMWS1 Instance;
* Navigate to Resource > Profiles;
* Click on the 'ADD' button and select 'Add Profile' from the dropdown list;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FFCp1ohQn8Rhq0kBWeBg7%2FScreenshot%202023-10-16%20at%203.03.47%E2%80%AFPM.png?alt=media&#x26;token=e4d19417-8867-4a7b-937e-ca26099fc289" alt=""><figcaption></figcaption></figure>

* Select Android as your Platform and you will be automatically navigated to the next screen;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fi59sbRea1ld4w9EvrN5H%2FScreenshot%202023-10-16%20at%203.07.41%E2%80%AFPM.png?alt=media&#x26;token=857a0f3f-e35f-4e5e-ac98-b8dcd2181012" alt=""><figcaption></figcaption></figure>

* Provide a name for the Profile;
* Click 'Add' and the toggles in the 'Restrictions' drop down list will become active;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FiAe9G8fw5S7gcGmJIhZs%2FScreenshot%202023-10-16%20at%2010.23.25%E2%80%AFPM.png?alt=media&#x26;token=ab60ec65-db1e-44b9-b5ae-6a9f3a891c09" alt=""><figcaption></figcaption></figure>

* Set the toggle to the **off** position for 'Allow Keyguard Notifications';
* Set the toggle to the **off** position for 'Allow Keyguard Unredacted Notifications';
* Set the toggle to the **off** position for 'Allow Status Bar';
* Click 'Next' and you will be navigated to the next screen;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FnojQmKfyEWRutNxOEEad%2FScreenshot%202023-10-16%20at%203.10.29%E2%80%AFPM.png?alt=media&#x26;token=1929a915-521f-470b-948f-a37026f72217" alt=""><figcaption></figcaption></figure>

* Confirm your selections and click 'Save & Publish'.
* *Once this Profile has been deployed to the devices, the BlueFletch Secure Notifications configuration can be applied. Instructions for configuring BlueFletch Secure Notifications can be found below in the 'Feature Configuration' section.*

### Disabling Notifications in SOTI MobiControl

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F74wCbQ2ecOhNSELFGTY1%2FScreenshot%202023-10-17%20at%209.14.21%E2%80%AFAM.png?alt=media&#x26;token=f736b02b-c681-4e5c-92f4-f67429a6fc86" alt=""><figcaption></figcaption></figure>

* Click on the menu icon in the top left corner of the MobiControl console which will expand the list of actions;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FVTRDc2SimvMpr0fyhK5J%2FScreenshot%202023-10-17%20at%209.14.40%E2%80%AFAM.png?alt=media&#x26;token=0e07e37a-4dde-497a-90a6-e541b546ba6a" alt=""><figcaption></figcaption></figure>

* Click on 'Profiles' which will take you to the 'Profiles' page;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F09nNnxV5Pw1ITDSzLZ2E%2FScreenshot%202023-10-17%20at%209.23.39%E2%80%AFAM.png?alt=media&#x26;token=b6a4b9b1-e0f9-471e-a1fa-08ec2b338194" alt=""><figcaption></figcaption></figure>

* Click on ' + NEW PROFILE' which present a 'CREATE PROFILE' modal (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FX9peoXxxkUZAibx7tFoy%2FScreenshot%202023-10-17%20at%209.24.04%E2%80%AFAM.png?alt=media&#x26;token=cd2d2a30-df41-48b1-8c99-5fa3f0ea81eb" alt=""><figcaption></figcaption></figure>

* Hover over the Android icon which will expose a drop down;
* Select the appropriate profile type for your device landscape. For the purposes of this documentation, we will select 'Work Managed';
* Once the profile type is selected, you will be shown a 'CREATE PROFILE' modal with three tabs, | GENERAL | CONFIGURATIONS | PACKAGES | (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FaH3K3rdTBvZbWu9uIU4y%2FScreenshot%202023-10-17%20at%209.25.06%E2%80%AFAM.png?alt=media&#x26;token=d1cd1418-5d89-40c5-be41-fd02e15f1500" alt=""><figcaption></figcaption></figure>

* In the 'GENERAL' tab, provide a Profile Name and a Description;
* Click in the 'CONFIGURATIONS', which will present a 'Add a Configuration' modal (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FemLLus4JFnBzeRZZ3JAI%2FScreenshot%202023-10-17%20at%209.25.47%E2%80%AFAM.png?alt=media&#x26;token=d8e3721a-3db5-4375-b81b-91b4f0bcbfac" alt=""><figcaption></figcaption></figure>

* In the 'Add a Configuration' modal, click on 'Feature Control' which will present the 'FEATURE CONTROL' modal (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FH394q0ureWEo4vfZY4J2%2FScreenshot%202023-10-17%20at%209.24.23%E2%80%AFAM.png?alt=media&#x26;token=68629dc5-2f01-4bed-9296-e8f994c8a973" alt=""><figcaption></figcaption></figure>

In the 'DEVICE FUNCTIONALITY' tab, toggle the 'Allow Status Bar' to the **off** position (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FXZQA7ZGwb0DSUdGtxkO2%2FScreenshot%202023-10-17%20at%2010.08.38%E2%80%AFAM.png?alt=media&#x26;token=f3b6ab81-8760-4410-ad24-769897ca979b" alt=""><figcaption></figcaption></figure>

* Navigate to the 'SECURITY' tab, toggle the 'Allow Keyguard Notifications' and the 'Allow Sensitive Notifications' to the **off** position (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fm5ggqW1OHJaHQCCs0WvN%2FScreenshot%202023-10-17%20at%209.27.17%E2%80%AFAM.png?alt=media&#x26;token=9f0e087c-343e-4579-8ee7-85d220491f42" alt=""><figcaption></figcaption></figure>

* Click 'SAVE', which will take you back to the 'CREATE PROFILE' modal (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FXSh7yG7dYvQbJu9nL1E5%2FScreenshot%202023-10-18%20at%2012.49.26%E2%80%AFPM.png?alt=media&#x26;token=57a2e667-a70e-498b-afbd-616115ca70e3" alt=""><figcaption></figcaption></figure>

* Click 'SAVE', and your Profile will be saved and available to assign to devices.
* *Once this Profile has been deployed to the devices, the BlueFletch Secure Notifications configuration can be applied. Instructions for configuring BlueFletch Secure Notifications can be found below in the 'Feature Configuration' section.*

### Disabling Notifications in Microsoft InTune

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FtKkdlYwvewRAkowcS9ev%2FScreenshot%202023-10-16%20at%202.58.50%E2%80%AFPM.png?alt=media&#x26;token=9b970232-5ab4-4bd4-86fc-c5b727928d1f" alt=""><figcaption></figcaption></figure>

* From the InTune Console, select 'Devices';
* Then click on 'Android';
* Once you click on 'Android', you'll see the option to '+ Create profile';
* Click on '+ Create profile' and it will extend the 'Create a profile' window on the right side of the screen (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FhycXhdfx3m5bMhAuYaO4%2FScreenshot%202023-10-16%20at%202.58.52%E2%80%AFPM.png?alt=media&#x26;token=e171b139-34e9-410b-a916-648c3e9540c5" alt=""><figcaption></figcaption></figure>

* Select 'Android Enterprise' for the Platform dropdown;
* Select 'Device Restrictions' from the Profile type dropdown;
* Click 'Create' once completed, and you'll be taken to the 'Device restrictions' screen (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FUim8kSbwpbD0p1LJKhtP%2FScreenshot%202023-10-16%20at%202.58.56%E2%80%AFPM.png?alt=media&#x26;token=85305c5c-d301-46c3-a611-03db7dce3e56" alt=""><figcaption></figcaption></figure>

* Provide a Name for the Configuration profile and a Description;
* Hit 'Next' when complete and you'll be taken to Configuration Settings screen (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FOWUvey745TYByzIUGcEt%2FScreenshot%202023-10-16%20at%202.59.23%E2%80%AFPM.png?alt=media&#x26;token=3ae848f1-0085-4e3f-877e-01772721dafa" alt=""><figcaption></figcaption></figure>

* Click on 'General', which will expand the dropdown options (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FYki9JCT2RloTJcyH89qx%2FScreenshot%202023-10-17%20at%202.52.24%E2%80%AFPM.png?alt=media&#x26;token=5f371807-54d3-4d00-a9f6-713748ccafa2" alt=""><figcaption></figcaption></figure>

* Scroll down to the 'Fully managed and dedicated devices' section;
* Toggle the 'Status bar' to "Block";
* Hit 'Next' which will navigate you to 'Assignments' page (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F2aAuQ9pM0eDCWFDbXPTT%2FScreenshot%202023-10-16%20at%203.00.28%E2%80%AFPM.png?alt=media&#x26;token=b7d41385-5702-447b-8205-d05b8f83083a" alt=""><figcaption></figcaption></figure>

* Assign the Configuration profile to the desired Groups and hit 'Next';

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F6ZrmDGgoEe45ChNxK85g%2FScreenshot%202023-10-16%20at%203.00.39%E2%80%AFPM.png?alt=media&#x26;token=a01ad8b1-2ef0-443c-a3c6-9ec4e534a540" alt=""><figcaption></figcaption></figure>

* Review the Configuration profile and hit 'Create'.
* *Once the Configuration profile has been deployed to the devices, the BlueFletch Secure Notifications configuration can be applied. Instructions for configuring BlueFletch Secure Notifications can be found below in the 'Feature Configuration' section.*

## Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up the Secure Notifications feature for a particular device profile or device group, please follow the steps below:

### Enabling Secure Notifications <a href="#enabling-the-status-bar-3" id="enabling-the-status-bar-3"></a>

If secureNotifications is set to true, the user won't be able to access the default Android system notifications from the device. If this configuration is not present, this feature is disabled.

```json
{
    ...
    "secureNotifications" : {
        "enabled": true,
     }
}  
```

### Enabling the Heads-Up Notifications <a href="#enabling-the-heads-up-pop-up-feature-4" id="enabling-the-heads-up-pop-up-feature-4"></a>

If enabledHeadsUp is set to true, the heads-up pop-up feature will be enabled. If this configuration is not present, this feature is disabled.

```json
        "enableHeadsUp": true,
```

### Set-up the Heads Up Duration <a href="#setting-up-the-range-5" id="setting-up-the-range-5"></a>

Define the duration of the Heads-Up Pop-Up notification by specifying the number of seconds in the `headUpTime` parameter. If `headsUpTime` is disabled, the default is 3 seconds.

```json
        "headsUpTime": 2000,
```

### Configuring Allowed Packages <a href="#configuring-whitelist-packages-6" id="configuring-whitelist-packages-6"></a>

The list of packages that are allowed to send notifications can be specified in the configuration. Only notifications from these packages will be displayed. If the list is empty or the key is missing, all notifications will be displayed unless blocked. An example configuration is shown below:

```json
        "whitelist": ["com.example.phone", "com.example.music"],
```

### Configuring Blocked Packages <a href="#configuring-blacklist-packages-7" id="configuring-blacklist-packages-7"></a>

The list of packages that have to be blocked from sending notifications can be specified in the configuration. Notifications from these packages will not be displayed. If the list is empty or the key is missing, no notifications are blocked. An example configuration is shown below:

```json
        "blacklist": ["com.example.browser"],
```

If a package is both in the whitelist and blacklist configuration, the blacklist has higher priority, so the notifications from the package will not be shown.

### Configuring Notification Bubble Settings <a href="#configuring-notification-bubble-settings-8" id="configuring-notification-bubble-settings-8"></a>

The color and width settings of the notification bubble can be customized. If `bubbleColor` has no specific value, the default color is white. If `bubbleOffset` is not specified, the notification bubble will be set in the middle of the screen. The example below shows the default configuration of the color and width settings:

```json
{
        "bubbleColor" : "#FFFFFF",
        "bubbleOffset" : 50
    }
}
```

{% hint style="info" %}
Secure Notifications was introduced in Launcher 3.1.x.
{% endhint %}


# Unique Login

Unique Login is a Launcher feature that ensures that a user can be logged into one device at a time.

### Overview

Unique Login is a Launcher feature that lets users log in to one device at a time. If the user successfully logs in to a second device, Launcher will force the original device to log out. This feature provides users with a unique log-in and unique log-out experience across all corporate-owned shared-user devices.

### Feature Configuration

To set up the Unique Login feature for a particular device profile or device group, please follow the steps below:

#### Enabling Unique Login using API Key

If enforceUniqueLogin is set to true, then the Unique Login feature will be enabled in the Launcher. If the organization uses an API key, it must be included in the configuration to enforce the feature.

```json
{
    ...
    "uniqueLogin": {
        "enforceUniqueLogin": true,
        "apiKey": "--- organization api key ---"
    }
    ...

}
```

#### Enabling Unique Login using Key Management

If the organization is using the Key Management feature, the API key field can be left blank. Set the value enforceUniqueLogin to true to enable the Unique Login feature.

```json
{
    ...
    "uniqueLogin": {
        "enforceUniqueLogin": true
    }
    ...

}
```

{% hint style="info" %}
Unique Login was introduced in Launcher 3.18.10.
{% endhint %}


# Wi-Fi UI Settings Enable/Disable

Wi-Fi UI Settings Enable/Disable is a Launcher feature that enables displaying the Wi-Fi UI Settings.

### Overview <a href="#overview-0" id="overview-0"></a>

A reliable Wi-Fi network connection is essential for accessing shared enterprise devices. Wi-Fi Settings UI Enable/Disable is a Launcher feature that helps manage Wi-Fi settings and configurations on mobile devices. It allows the Wi-Fi Settings UI to be displayed or hidden from users.

{% hint style="danger" %}
**Caution:** On certain versions of **Android 11** for Zebra devices, launching `android.settings.WIFI_SETTINGS` has been observed to grant full access to the Android Settings app, including the Quick Settings tiles.

BlueFletch recommends that `android.settings.WIFI_SETTINGS` and other Android Settings API shortcuts be placed in layouts for **manager** roles *or* have a **password** set, which only managers know, if the shortcuts are in the Open Zone.

BlueFletch does **NOT** recommend placing these shortcuts in the Open Zone without protections in place due to the risk of users reaching full Android Settings.
{% endhint %}

### User Guide <a href="#user-guide-1" id="user-guide-1"></a>

1. If this feature is enabled within the configuration, the Wi-Fi Settings UI will be displayed.
2. To enable this feature, a new layout item properties of action within the Android settings must be invoked.
3. If these values are coupled with improved icon processing, the Settings shortcut will be displayed.

### Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To allow the settings UI to work, ensure that `"wifiSettingsEnabled"` is set to `true`, or else you will receive a message saying that settings are disabled.

```json
"layouts" : {
    ...

    "ADMIN":[
      {
        "label" : "Wifi Settings",
        "action": "android.settings.WIFI_SETTINGS",
        "icon" : "com.android.settings",
        "wifiSettingsEnabled": true
      }
     ...
    ]
  },
```


# Device Loss Prevention

Device Loss Prevention enables administrators to prevent unauthorized access, track real-time location, and reduce the risk of device loss or theft. It enhances overall device security and promotes accountability to protect sensitive corporate data across the workforce.

**Low Battery Mode:** Prompts users to cradle devices when battery levels drop below a configured threshold while maintaining background location services.

**Luggage Tag:** Locks devices automatically when they move outside approved network ranges or geofences to prevent unauthorized access.

**Secure Device Mode:** Enforces mandatory user sign-in within a configurable timeout period and triggers an alarm if access is not verified.


# Low Battery Mode

Low Battery Mode is a Launcher feature that notifies the user when the battery level of a device drops to a configured percentage.

### Overview <a href="#overview-0" id="overview-0"></a>

Real-time enterprise mobile analytics is critical for retail, trade, transportation, or any organization within the mobile ecosystem. Low Battery Mode is a Launcher feature that helps keep track of the battery percentage and charging status of shared-user Android devices involved in critical business functions. This feature warns users when a device's battery falls below a configured percentage and advises them to place the device on the charging cradle.

### User Guide <a href="#user-guide-3" id="user-guide-3"></a>

Low Battery Mode provides a granular view of the enterprise Android devices' battery life and enables IT administrators to proactively manage battery-related issues that could affect critical business functions.

1. If this feature is enabled in the configuration, the device will enter Low Battery Mode as soon as the battery level falls below 10%.
2. The message ‘Low Battery detected. Put the device on a charger.’ will be displayed on the screen to prompt the user to start charging the device.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FoisrtDcVWfFZFHd3RhEs%2Fimage%20(9).png?alt=media&amp;token=e429bbfb-7b30-4cff-ab7d-64c845b81330" alt="" width="360"><figcaption></figcaption></figure>

3. Once the battery level reaches 15%, the device will exit Low Battery Mode and resume functionality.

**Accessing Device Details**

When a device enters Low Battery Mode, services such as Wi-Fi network access, GPS location services, and BLE beacons will continue to run in the background. This will provide accurate, real-time information on the location and proximity of the devices which can be viewed from the Device Finder and Portal.

### Feature Configuration <a href="#feature-configuration-4" id="feature-configuration-4"></a>

To set up Low Battery Mode for a particular device profile or device group, please follow the steps below:

#### Enabling Low Battery Mode <a href="#enabling-low-battery-mode-5" id="enabling-low-battery-mode-5"></a>

Low Battery Mode feature can be enabled or disabled within the Launcher configuration. If useLowBatteryMode is set to true, the device enters Low Battery Mode.

```json
 "settings": {
    ...
    "useLowBatteryMode": true,
    ...
  },
```

#### Setting Up Low Battery Mode Start Level and End Level <a href="#setting-up-low-battery-mode-start-level-and-end-level-6" id="setting-up-low-battery-mode-start-level-and-end-level-6"></a>

If useLowBatteryMode is enabled, the device will enter Low Battery Mode as soon as the battery life falls to a level defined in lowBatteryModeStartLevel. The device will exit Low Battery Mode as soon as the threshold of battery life reaches the percentage defined in lowBatteryModeEndLevel.

For example, if lowBatteryModeStartLevel and lowBatteryModeEndLevel are configured at 8% and 20%, respectively, the device will enter Low Battery Mode once it drops to 8% battery capacity and exit Low Battery Mode as soon as it goes up to 20% battery capacity.

```json
  "settings": {
    ...
    "useLowBatteryMode": true,
    "lowBatteryModeStartLevel": 8,
    "lowBatteryModeEndLevel" : 20,
    ...
  },
```

**Default Configuration**

If there are no configured low battery mode thresholds defined, the default settings are:

* lowBatteryModeStartLevel = 10
* lowBatteryModeEndLevel = 15 (i.e. lowBatteryModeStartLevel + 5)

### Full Configuration <a href="#full-configuration-8" id="full-configuration-8"></a>

If the property findMeBatteryLevelWarning is configured from the BlueFletch Support Application at 15%, it will play an alert tone on a device once the battery capacity reaches 15%.

If useLowBatteryMode is enabled, the device will enter or exit Low Battery Mode once the battery level reaches a configured percentage.

If lowBatteryModeStartLevel is set at 10%, the device will enter Low Battery Mode once the battery level falls to 10%. If lowBatteryModeEndLevel is set at 20%, the device will exit Low Battery Mode once the battery level goes up to 20%.

```json
"emsSupportTool": {
  ...
  "findMeBatteryLevelWarning": 15,
  ...
},
"settings": {
  ...
  "useLowBatteryMode": true,
  "lowBatteryModeStartLevel": 10,
  "lowBatteryModeEndLevel": 20,
  ...
},
```

{% hint style="info" %}
Low Battery Mode was introduced in Launcher 3.14.4.
{% endhint %}


# Luggage Tag

Luggage Tag Mode is a Launcher feature that secures potentially lost devices by locking the device when it goes out of network range.

## Overview <a href="#overview-0" id="overview-0"></a>

Luggage Tag is a Launcher feature that enables organizations to stay on top of device visibility, data security, and workforce efficiency at all times. It locks the device on the following scenarios: a) when the device goes out of network range, i.e. when the user is not connected to an approved network specified in the Launcher configuration; or b) when the device goes beyond the geofence restriction of its respective site geolocation (longitude/latitude). It then automatically unlocks the device when it is back in range or when a connection is restored to an approved network. Authorized users can immediately unlock the device using an admin-defined passcode.

## User Guide <a href="#user-guide-1" id="user-guide-1"></a>

Luggage Tag allows IT administrators to limit where corporate devices can be used. When it is activated, security rules can be set up to allow access to sensitive information and/or corporate data when the device is within the network range specified in the Launcher configuration.

1. When the Launcher goes out of network range, after a period of time the Launcher locks the screen to prevent unauthorized use of the device.
2. The Launcher periodically plays an audio alarm for 10 seconds while the device is in Luggage Tag mode.
3. When the device returns to the network range, the Launcher unlocks the screen.
4. If the device is locked, authorized users can unlock the screen to continue working offline.

## Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up Luggage Tag mode for a particular device profile or device group, please follow the steps below:

### Enabling Luggage Tag <a href="#enabling-luggage-tag-3" id="enabling-luggage-tag-3"></a>

To enable the Luggage Tag feature, add a luggageTag configuration section in the Launcher JSON file:

```json
"luggageTag": {
    "enable": true,
    ...
},
```

### Setting Up the Range <a href="#setting-up-the-range-4" id="setting-up-the-range-4"></a>

To set up the range where Luggage Tag mode activates, enter the list of network SSIDs. If the Launcher is not connected to any of these networks, it enters Luggage Tag mode:

```json
"approvedNetworks": [
    ...
    "office-wifi-1",
    "office-wifi-2",
    ...
]
```

### Defining Lock Screen Information <a href="#defining-lock-screen-information-5" id="defining-lock-screen-information-5"></a>

You can customize the logo, address, and phone number for the lock screen when luggage tag mode is enabled. An example configuration is shown below:

```json
"luggageTag": {
    ...    
    "logo": "https://www.image.com/url/to/logo.png",    
    "line1": "123 Blue Fletch Street",    
    "line2": "Atlanta, GA 45678",    
    "email": "help@bluefletch.com",    
    "phoneNumber": "(855) 529-6349",
    ...
},
```

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FEmk09EsFvxP9jHl2TEKh%2Fimage%20(10).png?alt=media&amp;token=dbb08269-2864-43fc-8689-2e849873b993" alt="" width="360"><figcaption></figcaption></figure>

*Note: The lock screen only displays what is defined.*

### Setting Up the Lock Screen Delay <a href="#setting-up-the-lock-screen-delay-6" id="setting-up-the-lock-screen-delay-6"></a>

Luggage Tag mode activates after leaving an approved network for a specified period of time. To configure Luggage Tag mode activation timing, define the number of minutes in the configuration:

```json
"luggageTag": {
    ...
    "thresholdInMinutes": 30,
    ...
},
```

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FEpwIVXDN0Qt2telBt0hH%2FThreshold%20In%20Minutes.png?alt=media&#x26;token=eb0b59f4-d018-40d9-85ea-4de8c940869d" alt=""><figcaption><p>Threshold In Minutes</p></figcaption></figure>

### Setting Up the Audio Alarm Settings <a href="#setting-up-the-audio-alarm-settings-7" id="setting-up-the-audio-alarm-settings-7"></a>

When the Luggage Tag Mode activates, an alarm triggers. The alarm sounds for a few seconds (fixed) only. If the device is still out of range, the alarm sounds off at 10-minute intervals (configurable). The example below show the loop configuration for the alarm to sound every 10 minutes:

```json
"luggageTag": {
    ...
    "alarmLoopInMinutes": 10
},
```

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FT2QINSsp3sV2PgTrAvV6%2FAlarm%20Loop%20In%20Minutes.png?alt=media&#x26;token=201276da-359d-4deb-b1d3-3b1f3ec6091c" alt=""><figcaption><p>Alarm Loop In Minutes</p></figcaption></figure>

{% hint style="info" %}
Note: setting "alarmLoopInMinutes": 0 will disable the alarm.
{% endhint %}

### Defining the Unlock Passcode <a href="#defining-the-unlock-passcode-8" id="defining-the-unlock-passcode-8"></a>

Sometimes, the device may lose network connectivity and may have to bypass the Luggage Tag mode. When you enter the passcode, the device unlocks temporarily. In this scenario, you can define a passcode in the configuration using the SHA256 format:

<pre class="language-json"><code class="lang-json">"luggageTag": {  
    ...
    "unlockPassword": "936A185CAAA266BB9CBE981E9E05CB78CD732B0B3280EB944412BB6F8F8F07AF",
<strong>    ...
</strong>},
</code></pre>

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F4crI8blINmFBwODx0EPT%2Fimage%20(11).png?alt=media&amp;token=9cfbf28a-8d16-43a8-938d-10501787710a" alt="" width="360"><figcaption></figcaption></figure>

### Enabling Geofence Settings

As a pre-requisite, the geolocation (i.e. longitude and latitude) of respective sites have to be properly set in Site Information Service so that it can be used as a reference point of the geofence luggage tag capability. Once configured, devices that go beyond the `geofenceRangeInMeters` will trigger the Luggage Tag mode. Returning the device within the `geofenceRangeInMeters` will restore access to the device.

```json
"luggageTag": {
    "enable": true,
    "thresholdInMinutes": 1,
    "alarmLoopInMinutes": 10,
    "logo": "https://picsum.photos/300/200",
    "line1": "BLUFLETCH",
    "line2": "SAMPLE LINE ",
    "email": "help@bluefletch.com",
    "phoneNumber": "(855) 529-6349",

    "useGeofence": true,
    "geofenceRangeInMeters": 100,
    "geofenceUpdateInterval": 5000,
    "geofenceMinDistanceThreshold": 0
},
```

{% hint style="info" %}
Geofence Functionality was introduced in Launcher 4.
{% endhint %}

## Putting It All Together <a href="#putting-it-all-together-9" id="putting-it-all-together-9"></a>

For the example described above, the full configuration for the Luggage Tag mode is as follows:

<pre class="language-json"><code class="lang-json"><strong>"luggageTag": {    
</strong>   "enable": true,    
   "thresholdInMinutes": 30,    
   "logo": "https://www.image.com/url/to/logo.png",    
   "line1": "123 Blue Fletch Street",    
   "line2": "Atlanta, GA 45678",    
   "email": "help@bluefletch.com",    
   "phoneNumber": "(855) 529-6349",    
   "unlockPassword":   
   "936A185CAAA266BB9CBE981E9E05CB78CD732B0B3280EB944412BB6F8F8F07AF",    
   "alarmLoopInMinutes": 10  
},  
"approvedNetworks": [    
   ...    
   "office-wifi-1",      
   "office-wifi-2",    
   ...  
]
</code></pre>

{% hint style="info" %}
Luggage Tag Mode was introduced in Launcher 3.8.x.
{% endhint %}


# Luggage Tag Remote Wipe

A Launcher device loss prevention feature that automatically wipes a device after a configurable countdown when Luggage Tag Mode is active.

## Overview

Use Luggage Tag Remote Wipe to automatically trigger an Enterprise Reset or Factory Reset on a device that has been in Luggage Tag Mode beyond a configured threshold. The countdown and execution logic run entirely on the device, so the device can securely self-sanitize even if it loses network connectivity.

By default, the wipe action is set to none. When configured, the default threshold is 1440 minutes (1 day).&#x20;

{% hint style="info" %}
The scheduled wipe automatically cancels if:\
1\.  The device rejoins an approved network.\
2\. The device is successfully unlocked with the admin password before the timer elapses.\
3\. The device is within the geofenced range. Refer to [Geofence Settings](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/device-loss-prevention/luggage-tag#enabling-geofence-settings).
{% endhint %}

## User Guide

To configure Luggage Tag Remote Wipe, complete the following steps:

1. Enable Luggage Tag Mode and configure the base Luggage Tag settings (see [Luggage Tag](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/device-loss-prevention/luggage-tag)).
2. Set `wipeAction` to the desired wipe type (`enterpriseReset` or `factoryReset`).
3. Set `wipeThresholdInMinutes` to the countdown duration before the wipe executes.

## Configuration

### Enabling Luggage Tag Remote Wipe

To enable Luggage Tag Remote Wipe, add `wipeAction` and `wipeThresholdInMinutes` to the `luggageTag` configuration section in the Launcher JSON file:

```json
"settings": {
 "luggageTag": {
   …
   "wipeAction": "enterpriseReset",
   "wipeThresholdInMinutes": 1440
 }
}
```

### Configuring the Wipe Action

To set the wipe type, add `wipeAction` to the luggageTagconfiguration. The value can be `none`, `enterpriseReset`, or `factoryReset`. An example configuration is shown below:

```json
"settings": {
 "luggageTag": {
   …
   "wipeAction": "factoryReset"
 }
}
```

### Configuring the Wipe Threshold

To set the countdown duration before the wipe executes, add `wipeThresholdInMinutes` to the `luggageTag` configuration. The value is in minutes. An example configuration is shown below:

```json
"settings": {
 "luggageTag": {
   …
   "wipeThresholdInMinutes": 720
 }
}
```

The Luggage Tag Remote Wipe configuration consists of the following parameters:

| Field                  | Default Value | Description                                                                                                  |
| ---------------------- | ------------- | ------------------------------------------------------------------------------------------------------------ |
| wipeAction             | `none`        | String. The wipe action to perform when the threshold elapses: “none”, “enterpriseReset”, or “factoryReset”. |
| wipeThresholdInMinutes | `1440`        | Integer. The duration in minutes before the wipe executes after Luggage Tag Mode activates.                  |

## Putting It All Together

For the example described above, the full configuration for the Luggage Tag Remote Wipe feature is as follows:

```json
"settings": {
 "luggageTag": {
   …
   "wipeAction": "enterpriseReset",
   "wipeThresholdInMinutes": 1440
 }
}
```


# Secure Device Mode

## Overview

Secure Device is a Launcher feature that restricts device access to authorized users by requiring a mandatory sign-in. If access is not verified within the configured timeframe, the device triggers an alarm to alert the user.

### What Changed in Launcher 4

In Launcher 3, Secure Device settings are configured within the launcher.json "settings" section.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F6pXmtxrzL2jJQvhZb6Yp%2FL3%20Secure%20Device%20settings.png?alt=media&amp;token=64426866-e54a-4664-b09c-ea8e33f49e2d" alt=""><figcaption></figcaption></figure>

In Launcher 4, these settings are moved to a new "`secureDevice`" configuration. An added "enable" field improves readability while references to "unsecure" or "secure" are removed from the start of the variables.

<table><thead><tr><th width="138.55078125">Field</th><th width="274.94921875">Launcher 3 Functionality</th><th>Launcher 4 Functionality</th></tr></thead><tbody><tr><td>Enable <code>secureDevice</code></td><td>N/A</td><td>Configured using the <code>enable</code> field (true or false)</td></tr><tr><td>Timeout Settings</td><td><code>unsecuredDeviceTimeoutInSecs</code></td><td><code>timeoutInSecs</code></td></tr><tr><td>Screen Off Timeout</td><td>N/A</td><td><code>screenOffTimeoutInSecs</code></td></tr><tr><td>Sound Volume</td><td><code>unsecuredDeviceSoundVolume</code></td><td><code>soundVolume</code></td></tr><tr><td>Enable Effects</td><td><code>unsecuredDeviceEffects</code></td><td><code>enableEffects</code></td></tr><tr><td>Effects Sound</td><td><code>unsecuredDeviceEffectsSound</code></td><td><code>effectsSound</code></td></tr><tr><td>Alarm Sound</td><td><code>unsecuredDeviceAlarmSound</code></td><td><code>alarmSound</code></td></tr><tr><td>Snooze Duration</td><td><code>secureDeviceSnoozeDuration</code></td><td><code>snoozeDuration</code></td></tr><tr><td>Max Snooze Count</td><td><code>secureDeviceMaxSnoozeCount</code></td><td><code>maxSnoozeCount</code></td></tr></tbody></table>

## Admin Guide

1. The Secure Device feature is disabled by default. To enable it, set the `enable` field to true and ensure the `timeoutInSecs` field is assigned a value greater than zero; otherwise, the feature will remain enabled.
2. When the `enable` field is set to true and the `timeoutInSecs` field has a value greater than zero, a message will appear on the user device stating: "**Login is required within 10 s or an alarm will sound.**"
3. The snooze duration and maximum snooze count can also be configured. By default, these values are set to 120 seconds and 1, respectively.
4. If the user fails to login with an uncradled device within the configured timeout period, the alarm will sound. To stop the alarm, the user must either enter their login credentials or return the device to the cradle.

## User Guide

1. If the feature is enabled, the message "**Login is required within 10 s or an alarm will sound.**" will appear on the screen.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FZWwN4iQG7UBOm1j3grox%2FLogin_10s.png?alt=media&amp;token=d054d06a-fb9d-4fa0-9fc2-d6f4aa57a464" alt="" width="360"><figcaption></figcaption></figure>

2. Enter your login details within the configured timeout period.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F9oHlpvbxvIyN7xoc89ZS%2FScreenshot%202025-09-29%20at%205.48.38%E2%80%AFPM.png?alt=media&amp;token=931047ed-37aa-46ff-8586-db8fec1fe212" alt="" width="375"><figcaption></figcaption></figure>

3. If you fail to log in with an uncradled device, the device will play a looping alarm.
4. To stop the alarm, you have two options: either log in with your credentials or place the device back in the cradle.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F2S0m5MJuyrGQiIkTDHxv%2FLogin%20or%20return%20to%20cradle.png?alt=media&amp;token=6b7e03ca-011c-4624-bf59-89dce6118fdd" alt="" width="360"><figcaption></figcaption></figure>

5. Depending on your organization's configuration, you may have the option to snooze the alarm within a specified timeframe.
6. If you are unable to log in and want to prevent the alarm from playing, place the device back in the cradle.

### Enabling Secure Device

To enable the feature, set `secureDevice` to true and assign `timeoutInSecs` a value greater than zero.

* If `secureDevice` **= true** but `timeoutInSecs` is not set, the feature won't work.
* If `timeoutInSecs` **＞ 0** but `secureDevice` **= false**, the feature won't work.

Additionally, you can include the optional `screenOffTimeoutInSecs` to specify the time after which the device's screen turns off due to inactivity.

```json
"secureDevice": {
   "enable": true,
   "timeoutInSecs": 30,
   "screenOffTimeoutInSecs": 30, // Optional, if applicable
}
```

### Configuring Sound Effects and Alarm Settings

Users can customize the sound effects and alarm settings within the configuration. Default settings for `soundVolume` and `enableEffects` are shown below:

```json
"secureDevice": {
   ...
   "soundVolume": 100,
   "enableEffects": false,
   "effectsSound": "assets: mediafile",
   "alarmSound": "assets: mediafile",
   ...
}
```

### Defining Snooze Settings

To temporarily disable alarms or sounds, define the maximum number of allowed snoozes and the snooze duration in seconds in the configuration. Default settings are shown below.

```json
"secureDevice": {
   ...
   "maxSnoozeCount": 1,
   "snoozeDuration": 120,
   ...
}
```

### StartLogin Functionality

The user can opt to cradle the device without logging in. But if the startLogin is enabled in the configuration, the login page will automatically be displayed on the screen once the device is uncradled. The user must enter their login details within the configured timeout period; otherwise, the device will play a looping alarm. Default is false.

```json
"secureDevice": {
   ...   
   "startLogin": true,
   ...
}
```

### Putting It All Together

For the example described above, the full configuration for the Secure Device feature is as follows:

```json
"secureDevice": {
   "enable": true,
   "timeoutInSecs": 30,
   "screenOffTimeoutInSecs": 30, // Optional, if applicable
   "maxSnoozeCount": 1,
   "soundVolume": 100,
   "startLogin": true,
   "enableEffects": true,
   "effectsSound": "assets: mediafile",
   "alarmSound": "assets: mediafile",
   "snoozeDuration": 120
}
```


# Launcher Provider SDK

## Overview

Security management for workforce devices is a critical task for IT administrators. Having complete access and visibility to user information and device activity enables the organization to effectively implement security protocols and efficiently control who can view, share, or modify sensitive company data or resources. LauncherProvider is a Launcher feature that allows native applications to get data about the current logged-in user status, store information, configuration, session data, etc.

## User Guide

1. If this feature is enabled in the configuration, the static class LauncherProviderHelper within the LauncherProvider’s AAR library will make provider data readily available and easily accessible.
2. Ideally, you should be able to retrieve information on specific users, stores, and sessions when the application resumes activity.
3. The Launcher has an authorizedClients section where customers and organizations can whitelist company-approved applications. The applications defined here are granted access to user information and device activity. Applications not defined here are automatically blacklisted from provider data access.

## Feature Configuration

To set up LauncherProvider for a particular device profile or device group, please follow the steps below:

### Enabling Provider on Gradle

In this example, the configuration declares the three external libraries that are needed to run the project: launcherProvider, Gson, and Timber.

```json
// in your project's build.gradle file:
dependencies {
    ...
    implementation(​name​: ​'launcherProvider-x.x.x'​, ​ext​: ​'aar'​, ​version​: ​'x.x.x'​)
    implementation 'com.google.code.gson:gson:2.8.2'
    implementation 'com.jakewharton.timber:timber:4.7.1'
    ...
}
```

To access provider data on the AAR library, add launcherProvider-x.x.x.aar to the libs directory of the launcherProvider library.

```json
implementation(​name​: ​'launcherProvider-x.x.x'​, ​ext​: ​'aar'​, ​version​: ​'x.x.x'​)
```

To access provider data on Gson and Timber libraries, add the following to the dependency list:

```json
implementation 'com.google.code.gson:gson:2.8.2'
implementation 'com.jakewharton.timber:timber:4.7.1'
```

Add the Flat Directory to the repositories list in your Project build.gradle file to enable pulling from the libs directory. In this configuration, the online repositories mavenLocal, google, and jcenter host commonly used libraries. It also indicates how to access any additional external libraries that have been manually added to the libs directory.

```json
allprojects {
    repositories {
        mavenLocal()
        google()
        jcenter()
        maven {
            ​// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            u​rl​"​$rootDir​/../node_modules/react-native/android" ​
        }
        flatDir {
            dirs ​'libs' ​//this way we can find the .aar files in libs folder
        }
    ​}
}
```

### Enabling Provider on Java

To retrieve information about the current user information, session, and site location, add the LauncherProviderHelper and Session classes in the configuration.

If getProviderInfo is marked as protected within SampleActivity, it indicates that current session information can only be retrieved or accessed from within this class.

Using LauncherProviderHelper and getCurrentSession, you can view the current user's user ID, username, groups, and access token.

If extendedAttributes is added to the configuration section, additional site information such as store number, store name, and device ID can also be retrieved or accessed.

<pre class="language-json"><code class="lang-json">import com.bluefletch.launcherprovider.LauncherProviderHelper;
import com.bluefletch.launcherprovider.Session;

...
public class SampleActivity extends Activity {

  // in this example, getProviderInfo is the local method used to retrieve the
  // current session information
  protected void getProviderInfo() {

<strong>    Session session = LauncherProviderHelper.getCurrentSession(this);
</strong>
    // all fields should be present. If group is “*” then there is no
    // logged in session so the app should handle accordingly.
    //
    String userId = session.get(Session.USER_ID);
    String userName = session.get(Session.USER_NAME);
    String groups = session.get(Session.GROUPS);
    
    // when using OIDC or MS, the Launcher's access token can be retrived
    // from the session extended attribute.  Launcher runs a periodic job 
    // to keep this access token updated before it expires.
    String accessToken = session.getExtendedAttribute("accessToken");

    // Get the site information from the config.  This information
    // is stored in the extendedAttributes.
    //
    Config config = LauncherProviderHelper.getCurrentConfig(this);
    String storeNumber = config.getExtAttr("siteId");
    String storeName = config.getExtAttr("siteName");
    String deviceId = config.getExtAttr("deviceId");

  }
</code></pre>

### Enabling Provider on Cordova

Install the Cordova plugin to access provider data:

```json
cordova plugin add com.phearme.cordovaplugin.contentproviderplugin
```

Add contentproviderplugin to the configuration. In this example, contentUri indicates where to locate the data; projection variable indicates which specific data will be retrieved; selection variable is used to filter the data; and, sortOrder indicates how retrieved data should be sorted.

```json
if (window.plugins && window.plugins.contentproviderplugin) {
    window.plugins.contentproviderplugin.query({
        contentUri: "content://com.bluefletch.launcherprovider/session",
        projection: ["data"],
        selection: null,
        selectionArgs: null,
        sortOrder: null
    }, function (data) {
        console.log('session data is:', data);
        var sessionData = {};
        if (data.length > 0) {
            sessionData = JSON.parse(data[0]["DATA"]);
        }
        // get the user id
        var userid = sessionData.userId;
        var username = sessionData.userName;
        var groups = sessionData.groups;
        var extendedAttrs = JSON.parse(sessionData.extendedAttributes);
        var extAttrAccessToken = extendedAttrs.accessToken;

    }, function (err) {
        // use default
        console.log('session error:', err);
    });
}
```

### Enabling Provider on React Native

**On Android:**

* Include the AAR for Launcher Provider
* Update the Gradle file to include Launcher Provider AAR
* Include React Bridge Code
* Update Main Application to include React Bridge Code

**On React Code:**

* Include the Launcher Exported Javascript

### Enabling Provider on MAUI/C\#

**Installing the NuGet Package in Visual Studio**

1. Download the NuGet Package onto your computer.
2. Create a folder on your computer to house the package and copy the package into that folder.
3. In your Visual Studio project go to *Tools -> Nuget Package Manager -> Package Manager Settings -> Package Sources* and click the + button in the top right.
4. Change the source to your created folder and click update, then OK.
5. Right-click your project file in the solution explorer and go to Manage NuGet Packages.
6. Click Browse and install the Launcher Provider Package.\\

**Importing Launcher Provider into a file**

Add the following lines to the top of your file:

```aspnet
using Com.Bluefletch.Launcherprovider;
using Com.Bluefletch.Launcherprovider.Models;
```

{% hint style="warning" %}
**Note**: *These imports will only work for files targeting the Android platform.*
{% endhint %}

**Sample Code Block**

```aspnet
using Android.App;
using Android.Content.PM;
using Android.OS;
using Com.Bluefletch.Launcherprovider;
using Com.Bluefletch.Launcherprovider.Models;

namespace SampleApp;

[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTop, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
public class MainActivity : MauiAppCompatActivity
{
    public static void Main()
    {
        CriteriaPattern criteriaPattern = new();

        var sessionJson = LauncherProviderHelper.GetCurrentSessionAsJson(Platform.AppContext);
        Console.WriteLine(sessionJson);

        var session = LauncherProviderHelper.GetCurrentSession(Platform.AppContext);
        var userId = session?.Get(Session.UserId);
        Console.WriteLine(userId);
        
    }
}
```

## Whitelisting Applications

You can customize the applications that are permitted to access provider data. Add authorizedClients to the configuration.

```json
{
    ...
    "authorizedClients" : [
       "com.mydomain.fulfillment",
       "com.mydomain.mobilepos"
    ],
}
```

## Managing Storage and Retrieval of Provider Data

This configuration is responsible for managing provider data, such as storing and retrieving the user’s session data.

1. The instance LauncherSessionPackage overrides the getPackages method.
2. The method will get the list of packages that are already being used by the application.
3. The packages ModuleRegistryAdapter and LauncherSessionPackage will be added to the list.
4. Once added, the getPackages method will return the updated list to the application.
5. The application can use the updated list to manage the storage and retrieval of provider data.

```json
public class LauncherSessionPackage implements ReactPackage {

    @Nonnull
    @Override
    public List<ViewManager> createViewManagers(@Nonnull ReactApplicationContext reactContext) {
        return Collections.emptyList();
    }

    @Override
    public List<NativeModule> createNativeModules( ReactApplicationContext reactContext ) {

        List<NativeModule> modules = new ArrayList<>();

        modules.add( new LauncherSessionProvider(reactContext) );

        return modules;
    }

}
```

#### Note for Android 11 and Above

For devices running Android 11 or above, add the following lines to the AndroidManifest.XML for any application that requires Launcher Provider access:

```xml
<queries>
    <provider
        android:authorities="com.bluefletch.launcherprovider"
        tools:replace="android:authorities" />
</queries>
```


# Extended Display

Launcher 4 now supports a proper Extended Display functionality to allow mobile device users to connect devices to a large monitor and peripherals.

## Overview

The Extended Display feature allows Android devices to function as desktop replacements in user locations, e.g. stores, warehouses, healthcare facilities, etc. Using this feature, it extends the capability of a mobile device to have a highly functional user interface to view more content on a larger screen resulting in higher productivity.

When docked on a display cradle, the Android device serves as the Primary Display, while the connected computer monitor becomes the Secondary Display. Manufacturer docking hardware such as Zebra Workstation Connect dock, Honeywell Display Dock and DisplayLink-based docks are generally compatible.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FVxg28JutlgBcZB2dhk4F%2Fimage%20(148).png?alt=media&amp;token=d166b448-539b-44ba-a9c3-bad4fd0e583b" alt=""><figcaption><p>Secured Zone Extended Display UI with a cradled device</p></figcaption></figure>

{% hint style="info" %}
Multi-display support in Android refers to the operating system’s ability to **manage multiple physical or virtual displays** and allow applications to **render content independently** on these displays.
{% endhint %}

## User Guide

1. Place the device on the display cradle.
2. The monitor will show the BlueFletch Extended Display layout, mirroring the applications running on the device. For instance, if the BlueFletch chat app is open, it will automatically appear on the secondary display when the device is docked.
3. Login using your username and password on the screen or if configured, via NFC tap-to-login functionality on the device.
4. Utilize the connected peripherals, i.e. keyboard and mouse, to navigate through the interface and perform the necessary tasks.

{% hint style="info" %}
When docked, user session for the main display and secondary display is always in sync.
{% endhint %}

## Feature Configuration

For Launcher 4, settings for Extended Display are now in a new configuration block. To enable this feature, set it to true within the Launcher configuration file. Extended Display feature is disabled by default.

```json
"extendedDisplaySettings": {
    "enabled": true,
    ...
}
```

### Taskbar Elements

Upon user authentication, some taskbar elements can be configured in Extended Display.

| Field                            | Description                                                                                                                                      |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| App Drawer Button                | Opens the App Drawer with all available applications.                                                                                            |
| Battery Icon                     | Mirrors the device’s battery status. Displays the battery percentage when hovered.                                                               |
| Date and Time                    | Shows the device’s current date and time. Opens the calendar when clicked.                                                                       |
| Lock Screen                      | Locks both the device and extended display. Appears only when the user is logged in. Requires re-authentication using a PIN or NFC when clicked. |
| Login/Logout Button              | Starts the login or logout process.                                                                                                              |
| Logo                             | Displays the organization logo for brand recognition after the user logs in.                                                                     |
| Notification                     | Displays notifications when secure notifications are enabled and the user is logged in. Shows all available notifications when clicked.          |
| Recently Open Applications Icons | Shows icons for recently opened apps or shortcuts. Brings the app to the front when clicked.                                                     |
| User Profile                     | Displays the logged-in user’s name. Provides configuration, license, and device ID details when clicked.                                         |
| Wi-Fi Icon                       | Reflects the device’s connectivity status. Shows detailed information when hovered.                                                              |
| Widgets Button                   | Opens the container with all available widgets.                                                                                                  |

### Extended Display Layout Settings

Using `extendedDisplayLayoutSettings`, the admin can configure the secondary display layout based on their preferences, primarily due to the standard screen size provided to their users.

| Field                | Description                                                                                                                                                                       |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| columns              | Specifies the number of columns in the secondary display for application icons. If not specified, the default is `14`.                                                            |
| appDrawerColumns     | Specifies the number of columns in the extended display application drawer. If not specified, the default is `3`.                                                                 |
| appDrawerRows        | Specifies the number of rows in the extended display application drawer. If not specified, the default is `6`.                                                                    |
| sideBarWidgetColumns | Specifies the number of columns in the widget container. The widget container is located at the right side of the secondary display screen. If not specified, the default is `3`. |
| folderColumns        | Specifies the number of columns in an application folder. If not specified, the default is `6`.                                                                                   |
| iconSize             | Allows the organization to specify the size of the icons on the extended desktop. Values are `extraSmall`, `small`, `medium` *(default)*, `large,` or `extraLarge`                |
| showLabel            | Shows the app icon labels. If not specified, the default is `true`.                                                                                                               |

```json
"extendedDisplayLayoutSettings" : {
    "columns": 14,
    "appDrawerColumns": 3,
    "appDrawerRows": 6,
    "sideBarWidgetColumns": 3,
    "folderColumns": 6,
    "iconSize": "normal",
    "showLabel": true
 }
```

### Configuring Extended Display Wallpaper

If `extendedDisplayWallpaper` is not configured, the Extended Display screen will default to the user's Launcher wallpaper. To set a custom Extended Display wallpaper, configure it within the Launcher configuration file. Select a wallpaper from the device's local storage or an online source. See the example below:

```json
"theme": {
    "enable": true,
    "accentColor": "#007DB7",
    "darkTheme": false,
    "blurRadius": 5,
    "blurPasses": 0,
    "consistentButtonShape": false,
    "buttonCornerRadius": 8,
    "logo": "assets:logo",
    "wallpaperImage": "default_dark",
    "extendedDisplayWallpaper": "assets:extendedDisplayWallpaperMain"
 },
```

{% hint style="info" %}
If your chosen wallpaper is dual-tone, the app text will automatically change to white to ensure readability and maintain visibility.
{% endhint %}

### Customizing Company Logo

The organization logo is a configurable taskbar element in Extended Display. It allows the company logo or icon to be displayed in the taskbar's secured zone, providing brand recognition. The logo is clickable and, when configured, launches a specified URL. This feature becomes visible once the user successfully logs in.

| Field   | Description                                                                   |
| ------- | ----------------------------------------------------------------------------- |
| logo    | The icon to be displayed on the taskbar's secured zone.                       |
| url     | The company website or any desired link to be opened in the specific browser. |
| package | The application that will be used to open the provided `url` .                |

```json
"extendedDisplaySettings": {
    "enabled": true,
    "taskBar": {
      "logo": "assets:extendedDIsplayTaskBarLogo",
      "logoIntent": {
        "url": "https://bluefletch.com/",
        "package": "com.android.chrome"
      }
    }
  }
```

## Putting it All Together

```json
"extendedDisplaySettings": {
    "enabled": true,
    "taskBar": {
      "logo": "assets:extendedDIsplayTaskBarLogo",
      "logoIntent": {
        "url": "https://bluefletch.com/",
        "package": "com.android.chrome"
      }
    }
  },
  "extendedDisplayLayoutSettings": {
    "columns": 14,
    "appDrawerColumns": 3,
    "appDrawerRows": 6,
    "sideBarWidgetColumns": 3,
    "folderColumns": 6,
    "iconSize": "normal",
    "showLabel": true
}
```

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FcaZg5MznhGUKjmFNjRim%2Fimage%20(149).png?alt=media&amp;token=9896fe1b-75ea-48b8-8ec4-f6bb9bab5472" alt=""><figcaption><p>Open Zone Extended Display UI with the Widget Container</p></figcaption></figure>

## Device & OS Compatibility

Some devices and OS versions do not support multi-display capabilities, for instance a Zebra TC26 device with Android 13 LifeGuard patch of `HE_FULL_UPDATE_13-26-09.00-TG-U03-STD-HEL-04` multiple display was not supported, but updating to the latest Android 13 LifeGuard patch will resolve the issue. We recommend that devices should update to the latest LifeGuardPatch to resolve the issue on certain devices.

### Supported Devices and OS

Based on our available device testing, here is a list of respective manufacturers and device models that support Extended Display.

| Manufacturer | Device Model | Android OS        |
| ------------ | ------------ | ----------------- |
| Zebra        | TC26         | <p>A11<br>A13</p> |
|              | TC27         | <p>A11<br>A13</p> |
| Honeywell    | EDA10        | A12               |

### Unsupported Devices and OS

Based on our available device testing, here is a list of respective manufacturers and device models that do not support Extended Display.

| Manufacturer | Device Model | Android OS |
| ------------ | ------------ | ---------- |
| Zebra        | TC26         | A14        |
|              | TC27         | A14        |
| Honeywell    | CT40         | A10        |

{% hint style="info" %}
These device models may support Extended Display, but will depend on the respective device support provided by the manufacturer's firmware.
{% endhint %}

{% hint style="info" %}
Samsung devices that do not support Samsung Dex will not work with Extended Display functionality.
{% endhint %}


# Cradle Lock Screen

## Overview

This feature displays critical information when the device is cradled. The screen provides the following:

* Device Name
* Site ID
* Battery Percentage
* Battery Health
* Remaining Time to Fully Charge
* Last Logged-in User
* Timestamp When Cradled

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FiSljcDDZyCOBuArO5rx8%2Fscreenshot-1714497375375.png?alt=media&amp;token=d8141d8f-6a0a-4a4c-8673-4014c46449a5" alt="" width="360"><figcaption></figcaption></figure>

## User Guide

1. If this feature is enabled in the configuration, the device will enter Lock Screen mode as soon as it is cradled and no user is logged in.
2. When the device is cradled, the Cradle Lock Screen will display the following information: device name, site ID, battery percentage, battery health, remaining time to fully charge, last logged-in user, and timestamp when cradled.
3. The device will exit Lock Screen mode once it is uncradled and a user logs in.

## Feature Configuration

To enable this feature, set the `useCradleLockedMode` to true within the Launcher configuration file. Cradle Lock Screen feature is disabled by default.

```json
"settings": {
    ...
    "useCradleLockedMode": true
    ...
}
```


# Schedule Actions

A Launcher automation feature that schedules tasks to run automatically at a designated time, date, or recurring interval.

## Overview

Use Schedule Actions to automate tasks within your launcher. You can set specific apps to open, adjust volume, reboot the device, or run custom intents automatically at a designated time, date, or recurring interval.

Schedule Actions is disabled by default. It is enabled by adding a schedules object to the Launcher configuration, which can contain multiple custom-named schedule objects (e.g., “schedule1”, "deviceReboot", "AdjustVolume", etc.)

## User Guide

1. Add a `schedules` object to the Launcher configuration.
2. Define a `schedule` object to set the timing and registration criteria.
3. Define an `execution` object to specify the actions and runtime conditions.

## Configuration

### `schedules`&#x20;

To enable Schedule Actions, add a `schedules` block to the Launcher's JSON configuration file.

The base-level key-value pairs of the scheduled configuration include:

| Field     | Description                                                                                                                                                                                                            |
| --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| *\<name>* | <p><strong>String.</strong> Any descriptive name to easily identify the action. <br><br>For instance  <code>"deviceReboot"</code> and <code>"AdjustVolume"</code> in the <a href="#full-example">Full Example</a>.</p> |
| schedule  | **Object.** Collection of parameters to define the timing of the actions.                                                                                                                                              |
| execution | **Object.** Collection of parameters to define the content of the actions.                                                                                                                                             |

In the launcher.json file, these are arranged:

```json
 "schedules": {
   "deviceReboot": { // referenced as <name> in the table above
     "schedule": {},
     "execution": {}
   }
 }
```

### Configuring a `schedule` Object

The `schedule` object defines the frequency of the task and the criteria required to register the schedule on the device. The `schedule` object consists of the following parameters:

<table data-search="false"><thead><tr><th>Field</th><th>Description</th></tr></thead><tbody><tr><td>hour</td><td><strong>String.</strong> Set the hour (use 24-hour time, e.g. <code>"13"</code> for 1 pm) that the scheduled action should occur.</td></tr><tr><td>minute</td><td><strong>String.</strong> Set the minute that the scheduled action should occur.</td></tr><tr><td>dayOfWeek</td><td><strong>String.</strong> Set the numeric value of the day of the week (starting with <code>"1"</code> for Monday to <code>"7"</code> for Sunday) that the scheduled action should occur.</td></tr><tr><td>day</td><td><strong>String.</strong> Set the day of the month (<code>"1"</code> through <code>"31"</code>) that the scheduled action should occur.</td></tr><tr><td>month</td><td><strong>String.</strong> Set the numeric value of the month (e.g. <code>"4"</code> for April) that the scheduled action should occur.</td></tr><tr><td>year</td><td><strong>String.</strong> Set the year that the scheduled action should occur.</td></tr><tr><td>frequency</td><td><strong>String.</strong> The recurrence rule: <code>"onetime"</code>, <code>"minutely"</code>, <code>"hourly"</code>,  <code>"daily"</code>, <code>"weekly"</code>, <code>"monthly"</code>.</td></tr><tr><td>criteriaToSchedule</td><td><strong>Object.</strong> Conditions evaluated before the schedule is registered. If these fail, the timer is never set.<br><br>For details, see the <a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/configurable-layouts/criteria">Criteria</a> documentation.</td></tr></tbody></table>

### Configuring an `execution` Object

The execution object defines what happens when the scheduled time arrives. The execution object consists of the following parameters:

| Field             | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| customIntent      | <p><strong>Object.</strong> The payload to execute. Contains an <code>action</code> string, a <code>typeIntent</code> (e.g. <code>"p"</code> for platform actions), and other optional parameters.</p><p></p><p>For the full list of supported <code>action</code> strings, refer to the <a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/custom-intents/platform-actions">Custom Intents Platform Actions</a>. For the full list of supported parameters, see  <a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/custom-intents/technical-guide#key-value-pairs">Key-Value Pairs</a>.</p> |
| retryMissedAlarm  | <p><strong>Boolean.</strong> If true, the launcher will re-attempt to fire a missed action due to failed execution.<br><br>Default value is <code>false</code>. </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| retryAfterMinutes | <p><strong>Integer.</strong> The delay (in minutes) before attempting a retry if the initial execution criteria failed or the alarm was missed.<br><br>Default value is <code>5</code>.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| criteria          | <p><strong>Object.</strong> Real-time conditions evaluated at the exact moment the schedule fires. If false, the action is skipped.<br><br>For details, see the <a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/configurable-layouts/criteria">Criteria</a> documentation.</p>                                                                                                                                                                                                                                                                                                                                                        |

### Full Example

An example of a full configuration for two Schedule Actions, `"deviceReboot"` and `"AdjustVolume"`:

```json
 "schedules": {
   "deviceReboot": {
     "schedule": {
       "hour": "13",
       "minute": "30",
       "dayOfWeek": "",
       "day": "",
       "month": "",
       "year": "",
       "frequency": "daily",
       "criteriaToSchedule": {
         "criteria_OR": [
           {
             "field": "_${session.userId}",
             "pattern": "^_$"
           }
         ]
       }
     },
     "execution": {
       "criteria": {
         "criteria_OR": [
           {
             "field": "${launcherState.isConnectedToNetwork}",
             "pattern": "true"
           }
         ]
       },
       "customIntent": {
         "action": "REBOOT",
         "typeIntent": "p",
         "extras": {
           "notification": 0,
           "alarm": 0,
           "others": 0
         }
       },
       "retryMissedAlarm": true,
       "retryAfterMinutes": 5
     }
   },
   "AdjustVolume": {
     "schedule": {
       "hour": "",
       "minute": "30",
       "dayOfWeek": "",
       "day": "",
       "month": "",
       "year": "",
       "frequency": "minutely",
       "criteriaToSchedule": {
         "criteria_OR": [
           {
             "field": "_${session.userId}",
             "pattern": "^_$"
           }
         ]
       }
     },
     "execution": {
       "criteria": {
         "criteria_OR": [
           {
             "field": "${launcherState.isConnectedToNetwork}",
             "pattern": "true"
           }
         ]
       },
       "customIntent": {
         "action": "ADJUST_AUDIO",
         "typeIntent": "p",
         "extras": {
           "notification": 100,
           "alarm": 100,
           "others": 100
         }
       },
       "retryMissedAlarm": true,
       "retryAfterMinutes": 5
     }
   }
 }
```

Schedule Actions was introduced in Launcher 4.4.32.


# Getting Started

## Getting Started

### Before you begin

1. Request a free trial BFE account by emailing <info@bluefletch.com>.
2. Once you have a BFE account, log into the BFE Portal using your account credentials.
3. Follow the steps below to quickly get Launcher up and running on your device.

### About this task

This tutorial describes how to set up and activate BlueFletch Launcher to manage your devices. The BlueFletch Launcher installation process consists of several components, including the Launcher application, configuration files, and other dependencies.

**In the instructions below, you'll learn how to:**

* Create a new configuration.
* Set a custom theme.
* Add an application and/or a web shortcut.
* Install the configuration.

#### Create a New Configuration

1. Log into the BFE Portal using your credentials.
2. Go to the **Enterprise Launcher → Configurations** section.
3. Click on New Configuration to create a new configuration file.
4. Enter a Title and Description for this configuration file.

#### Set a Custom Theme

1. Go to Themes section and turn on the Enable toggle to enable the custom theme.
2. Enter a URL or a file path on the device for the Logo. (If using a file path, the jpg or png file must be present at that location).
3. Enter an Accent Color in the form of HTML color notation, e.g. #A3D4DG.
4. Enter a URL or a file path on the device for the Wallpaper Image. The Launcher will automatically set the device wallpaper with this image.

#### Add an Application and/or a Web Shortcut

1. Go to the Layouts section and under the \* (or Open Zone) application group.
2. Click on Add Application and enter the package name of the app to be displayed. Click Update to save.
3. Click on Add Shortcut and enter a Label and URL to the website to be opened from the Launcher. Click Update to save.

Once the new configuration file has been saved, it is now available for use.

#### Install the Configuration <a href="#install-the-launcher-and-configuration-8" id="install-the-launcher-and-configuration-8"></a>

You can install the Launcher and configuration file either through your existing MDM (via Managed Google Play) or by sideloading (e.g. Using ADB commands via USB).

{% hint style="info" %}
The Launcher's configuration JSON file is case-sensitive. When deploying this file, use the file name "launcher.json" (all lower-case).
{% endhint %}

**Installing using MDM via Managed Google Play**

1. BlueFletch will share the Launcher application with your company's Android Enterprise organization ID.
2. Within your MDM, proceed through the flow for adding an Android application with Managed Google Play.
3. In the Managed Google Play Store iFrame, search for *"BlueFletch"* (include quotation marks) and select the Launcher app.
4. Proceed through your MDM's flow for adding an app policy.
   1. Select the Launcher, which will now have been made available by Managed Google Play.
   2. In the section for a managed configuration, there should be a **Launcher Configuration URL** key and a **Launcher Configuration Checksum** key.
   3. From the BlueFletch Portal, copy your configuration's URL and checksum from the **Enterprise Launcher → Configurations** page and paste into the respective fields in your MDM's managed configuration.\\

      <figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fbj8zyoB7RR0b4P4GWUcq%2FScreenshot%202024-06-27%20at%201.35.25%20PM.png?alt=media&#x26;token=6c229702-9cbf-42f8-9889-d1abff242893" alt=""><figcaption><p>Example from Microsoft Intune</p></figcaption></figure>
   4. Save changes.
5. Deploy APK/app policy to devices.

**Install by sideloading (using ADB via USB)**

1. Download the launcher.json configuration file from the BlueFletch Portal **Enterprise Launcher → Configurations** page and then proceed with the ADB commands below.
2. <pre><code><strong>adb install -g &#x3C;file path to locally-hosted Launcher APK>  // installs the Launcher APK with all permissions granted
   </strong></code></pre>
3. <pre><code><strong>adb push &#x3C;file path to locally-hosted launcher.json configuration> /sdcard/Download/ems/launcher.json  // creates an 'ems' directory and downloads the Launcher configuration to it
   </strong></code></pre>
4. ```
   adb shell am start -n com.bluefletch.ems.emm.launcher/com.bluefletch.launcher.ui.views.launcher.LauncherActivity  // starts the Launcher's primary activity
   ```

{% hint style="info" %}
Be sure to push the file as "launcher.json" (all lower-case). The configuration file's name is case-sensitive.
{% endhint %}

The Launcher should now be installed on your device in a simple kiosk mode.


# Technical Guide

## Technical Guide

### Base

<table data-full-width="false"><thead><tr><th width="479">Field</th><th>Description</th></tr></thead><tbody><tr><td>configVersion</td><td><strong>string</strong> A free-form user-defined string that can be used to indicate the version of this configuration file being published. Added as a convenience field to help customers track which configuration file version is on the device.</td></tr><tr><td>license</td><td><strong>string</strong> (mandatory) A customer-specific license key to provide access to the Launcher. There will only be one key assigned per customer and should be applied to all the customer's devices. To obtain a license key, request one from the BlueFletch sales representative.</td></tr><tr><td>group_inclusion</td><td>Listing of LDAP or security groups expected; each security group will contain an array of applicable application groups.In the example above, users that log in as "Manager" will get applications listed under GroupA, GroupB and "*"."*" is the default security group, and will be applicable when no one is logged into the device. Note that this only works in conjunction with 'groups' below 3.2.x. Beginning 3.2.x, group_inclusion can also be applied to "layouts".</td></tr><tr><td>groups</td><td>Contains the "whitelist" of package names for each application group. This is a simplified listing of packages. For more control, use "layouts".</td></tr><tr><td>layouts</td><td><strong>object</strong> Defines which applications to display based on Login state.</td></tr><tr><td>layoutSettings</td><td><strong>object</strong> (optional) Defines advanced global settings for the layout.</td></tr><tr><td>settings</td><td><strong>object</strong> Key Value pairs of settings that control processing. See Settings for details.</td></tr><tr><td>luggageTag</td><td><strong>object</strong> Key Value pairs of Luggage Tag settings. Customizes how Launcher locks the device when it's not on a network listed in the approvedNetworks array.</td></tr><tr><td>approvedNetworks</td><td><strong>array</strong> A list of networks that's been approved for a device to use. Apply a luggageTag object to enforce.</td></tr><tr><td>defaultSession</td><td>An object representing the default session that will be stored in the Launcher session content provider if no user is logged in.</td></tr><tr><td>patterns</td><td><strong>array</strong> A set of pattern objects representing a configuration for associating search text with applications. If the search text matches the configured regex pattern, the application specified will be displayed, and could also specify the intent and extras that will be passed to the app when the search result is tapped.</td></tr><tr><td>extendedAttributes</td><td><strong>object</strong> Can be used to specify key-value pairs that customers can use to provide additional custom settings.</td></tr><tr><td>protectedList</td><td><strong>array</strong> List of package names that are not deleted when calling <code>disablePackages</code>. Built-in protected packages include the BlueFletch applications Launcher, Messaging, Support Tool, Platform Services, and Remote Control. Additional packages can be added to the array.</td></tr><tr><td>disablePackages</td><td><strong>array</strong> This is a list of packages that launcher is to disable. Launcher will disable these at device boot, or if the packages get installed. This is available starting in 2.8.x.<em><strong>WARNING:</strong></em> <em>Disabling system applications may affect device behavior. Always test changes before deploying to production.</em></td></tr><tr><td>theme</td><td><strong>object</strong> Contains information on an Organization's device theme. See Theme for details.</td></tr><tr><td>altThemes</td><td><strong>object</strong> Theme configuration values associated with site objects in the siteTheme column of a sitelist.csv file.</td></tr><tr><td>emsSupportTool</td><td><strong>object</strong> Key Value pairs that control support application processing. See Support Application Configurations for more information.</td></tr><tr><td>notifications</td><td><strong>array</strong> Collection of MQTT Broker Object connection settings. See Messaging Configurations for more information.</td></tr><tr><td>auth_ldap</td><td><strong>object</strong> Key Value pairs of settings that control LDAP Authorization.</td></tr><tr><td>auth_ldap_connections</td><td><strong>array</strong> An ordered list of LDAP domain/connection point objects, giving multiple authentication options in case one service is unavailable. The authentication module will attempt each one until it successfully logs a user in with the provided credentials.</td></tr><tr><td>auth_adal</td><td><strong>object</strong> Key Value pairs of settings that control ADAL Authorization.</td></tr><tr><td>auth_okta</td><td><strong>object</strong> Key Value pairs of settings that control OKTA Authorization (Supported OKTA APK 2.x). Prior to 2.x, see Settings for Okta Auth Settings.</td></tr><tr><td>auth_oktaRest</td><td><strong>object</strong> Key Value pairs of settings that control Okta REST Authorization.</td></tr><tr><td>auth_msal</td><td><strong>object</strong> Key Value pairs of settings that control MSAL Authorization for Azure Active Directory.</td></tr><tr><td>auth_oauth2</td><td><strong>object</strong> Key Value pairs of settings that control AppAuth/OAuth2 Authorization.</td></tr><tr><td>knownLaunchers</td><td><strong>array</strong> List of additional launcher package names to check when setting BlueFletch Launcher as default. Packages built-into the list include Google and Honeywell launchers; additional packages can be added to the array.</td></tr><tr><td>keyboard</td><td><strong>object</strong> Key Value pairs of settings that control keyboard.</td></tr><tr><td>browser</td><td><strong>object</strong> BlueFletch Browser defaults to these settings unless overridden by browserOverrides object.</td></tr><tr><td>remoteControl</td><td><strong>object</strong> Key-value pairs for configuring the Remote Control application. The separate configuration was introduced in Launcher version 3.20.12.</td></tr><tr><td>intents</td><td><strong>object</strong> Custom intents to fire at certain processing points, such as Login, Logout, Screen On, Boot, Cradle and Un-Cradle.</td></tr><tr><td>customField</td><td><strong>object</strong> Configuration to define the format and source for custom UI fields.</td></tr><tr><td>secureNotifications</td><td><strong>object</strong> Configurations for Secure Notification Support.</td></tr><tr><td>externalSiteInfoFinder</td><td><strong>object</strong> Configuration for using an external Site Location finder service.</td></tr><tr><td>externalManualSiteSelect</td><td><strong>object</strong> Configuration for using an external Manual Site Selection. Introduced in Launcher version 3.19.19.</td></tr><tr><td>orientationOverride</td><td><strong>object</strong> Configuration for changing the BlueFletch Launcher orientation based on device model. Note that this is for the Launcher only, and does not affect orientation for the entire device or other applications.</td></tr><tr><td>assets</td><td><strong>object</strong> Configuration for specifying UI or file assets to use in UI rendering.</td></tr><tr><td>epmConfig</td><td><strong>object</strong> Enterprise Password Manager settings. For future implementation.</td></tr><tr><td>bfChat</td><td><strong>object</strong> Key-value pairs for configuring the BlueFletch Chat application. For the required values, consult the <em><strong>BlueFletch Chat Technical Guide</strong></em>.</td></tr><tr><td>authorizedClients</td><td><strong>array</strong> Starting in 3.15.x, a string array of packages that will be allowed to read from the LauncherProvider. To prevent all apps from reading the LauncherProvider session, set this <code>[]</code>, omit or set to <code>null</code> to disable application checking. Default is <code>null</code>. Introduced in Launcher version 3.15.4.</td></tr><tr><td>deviceFinder</td><td><strong>object</strong> Key-value pairs for configuring the Device Finder application. For more details, see the <em><strong>Device Finder Technical Guide</strong></em>. Introduced in Launcher version 3.16.15.</td></tr><tr><td>uniqueLogin</td><td><strong>object</strong> Key-value pairs for configuring the Unique Login feature for the BlueFletch Launcher. See Unique Login for more details. Introduced in Launcher version 3.18.10.</td></tr><tr><td>keyManagement</td><td><strong>object</strong> Key-value pairs to enable a device to accept API security via device tokens. Introduced in Launcher version 3.18.10.</td></tr><tr><td>impliedGroups</td><td><strong>object</strong> Provides the capability to add layouts by comparing regular expressions to users' session attributes. Introduced in Launcher version 3.19.15.</td></tr><tr><td>epmPluginConfig</td><td><strong>object</strong> Key-value pairs for configuring the Enterprise Password Manager (EPM) Plugin. Launcher can works with EPM to auto-fill credentials or click buttons on native apps defined in the configuration. Introduced in Launcher version 3.22.25.</td></tr><tr><td>secureDevice</td><td><strong>object</strong> Key-value pairs for configuring Secure Device Mode. The separate configuration was introduced in Launcher version 3.22.31.</td></tr><tr><td>header</td><td><strong>array</strong> Array of objects for configuring the Open Zone and/or session headliner widget. Introduced in Launcher version 3.22.25.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/technical-documentation/deploying-bluefletch-enterprise/deploying-to-samsungs/launcher-configuration-for-samsungs">knoxSettings</a></td><td><strong>object</strong> Key-value pairs for configuring Knox-enrolled Samsung devices. Ignored for other devices.</td></tr></tbody></table>

### Settings

| Field                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| activateSearchBar                    | <p><strong>boolean</strong> If set to <code>true</code> will display the search bar on the Launcher home screen. Tapping on search bar will trigger the search activity. <em>This setting was deprecated in Launcher v3.13.9, but re-enabled in v3.14.15</em>. If using Quick Start, set this value to false, and search activity can still be displayed as an Application Object:\*<br>{“package”: “com.bluefletch.launcher”, “activity”: “com.bluefletch.baselauncher.search.SearchActivity”, “label”: “Search”}</p>                                   |
| enableNotifications                  | **boolean** Determines whether the notifications service will be started. Default is true.                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| idleTimeInMinutes                    | **integer** Number value in minutes of idle time after which the Launcher will automatically logout the user. Countdown for idle time starts when the screen turns off, and timer resets when the screen is woken up. If the device is not woken up before the timer expires, the screen will wake up logged out.                                                                                                                                                                                                                                        |
| maxSessionTimeInMinutes              | **integer** Number value in minutes of total session time after which the Launcher will automatically logout the user. Countdown for max session time starts on user login.                                                                                                                                                                                                                                                                                                                                                                              |
| maxSessionExpiryWarningTimeInMinutes | <p><strong>integer</strong> If defined, this value is the number of minutes before logout from <code>maxSessionTimeout</code> when the user should be notified; upon triggering, a warning message will display and an audible alarm will sound to indicate the impending forced logout. If not defined, the default is that this feature is not applied. <br><br>Introduced in Launcher 4.4.17.</p>                                                                                                                                                     |
| requireAuthOnScreenOn                | **boolean** If true, launch the configured Login page for reauthentication when the device screen is turned on. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                                        |
| requireAuthLockDelay                 | **integer** Time in seconds before the Launcher requires re-authentication after the device goes to sleep (only applies if requireAuthOnScreenOn is set to true).                                                                                                                                                                                                                                                                                                                                                                                        |
| useSecondaryAuth                     | **string** Indicates type of secondary auth during re-authorization. Values are `"none"`, `"pin"`, `"face"`, `"nfc"`, and `"barcode"` (NFC available in EMS Auth 3.2.2). Default is none.                                                                                                                                                                                                                                                                                                                                                                |
| alternateSecondaryAuth               | **string** Sets an alternative secondary authentication method available during reauthentication training. Accepted values are `"pin"`, `"face"`, `"nfc"`, and `"barcode"`. Only applied if `useSecondaryAuth` is set and is a different value than `alternateSecondaryAuth`.If configured, during the secondary authentication training immediately following login there will be an option to use the alternate method for reauthentication.                                                                                                           |
| secondaryAuthRequired                | **boolean** If set to true, will logout the user if they cancel creation of pin. Default is false. Available starting Launcher 3.3.x. **Starting 3.6.x, user will have the option to logout during verification as well.**                                                                                                                                                                                                                                                                                                                               |
| secondaryAuthPinLength               | **integer** Set the minimun number of digits required for pin. Minimum value is 4, default is 6 if not specified. Available in Auth 3.1.x.                                                                                                                                                                                                                                                                                                                                                                                                               |
| pinMaxLength                         | **integer** Number of required digits for the PIN, default is 6 if not specified, minimum of 4, maximum of 10. This setting supercedes `secondaryAuthPinLength`, available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                                                                    |
| pinEnforceConsecutiveRule            | **boolean** If true will not allow more than 3 consecutive similar digits. Default is set to true. (e.g. 1111 will not be allowed, but 1112 is allowed). Available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                                                                            |
| pinEnforceSequentialRule             | **boolean** If true will not allow more than 3 sequential digits up or down (e.g. 1234 is not allowed but 1235 is allowed). Default is set to true. Available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                                                                                 |
| pinEnforceBlackList                  | **string** Comma-delimited list of PIN codes that cannot be used by the user (e.g. if 1112 is specified, even if it passes the consecutive rule, it will be disallowed by blacklist). Available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                                               |
| pinMaxRetryCount                     | **integer** During verification, max number of incorrect attempts allowed, after which the currently logged in user is forcibly logged out. Available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                                                                                         |
| pinAutoSubmit                        | **boolean** If set to false, will require the user to tap on the Enter key after entering their PIN. If set to true, the PIN will be submitted after last entry (based on `pinMaxLength`). Default is true. Available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                         |
| secondaryAuthQuickStartPackage       | <p><strong>string</strong> Allow one package to be opened from the PIN unlock screen. After a PIN has been setup during a login session, when a user opens the device they will see this app's icon in the lower right corner and can choose to access the package's main activity without unlocking the device.<br>e.g. If the value is <code>"com.android.dialer"</code>, the user will see the Android phone icon and can launch the activity <code>com.android.dialer.app.DialtactsActivity</code>.</p>                                              |
| secondaryAuthQuickStartIcon          | <p><strong>string</strong> Overrides the default application icon used used to launch <code>secondaryAuthQuickStartPackage</code> with an image defined by file location on the device.<br>e.g. <code>"/sdcard/DCIM/icons/bluefletch\_logo.png"</code>.</p>                                                                                                                                                                                                                                                                                              |
| useFaceRecognition                   | *Deprecated, start using useSecondaryAuth*. **boolean** If true use the face recognition functionality to re-authorize the user during re-authentication. Default is false.                                                                                                                                                                                                                                                                                                                                                                              |
| adminUserId                          | **string** The ID used for local device administration. Defaults to the built-in local admin ID.                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| adminPassword                        | **string** Field that contains the hash of the local admin password. Defaults to the built-in local admin password.                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| externalAuthIntentActions            | **string** Allows Launcher to listen for authorization login/logout requests from other applications. Format as `"['action', 'action2']"`.                                                                                                                                                                                                                                                                                                                                                                                                               |
| useAppEnabler                        | **boolean** By default (if set to false) the launcher will only hide application icons corresponding to the whitelist. Typically this should be sufficient as users will not be able to launch applications if the launcher is present. If set to true, the launcher will perform an additional step to disable the application at an OS level (installed but not usable) if not part of current session whitelist.                                                                                                                                      |
| enableOptiko                         | **boolean** Set to true if Support agent is present. This will report login, store information, etc. to the Support agent. *Deprecated in 3.x, value is always true.*                                                                                                                                                                                                                                                                                                                                                                                    |
| authBrokerService                    | **boolean** Set to true if Auth Service Broker is needed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| nfcDataTypes                         | **string** The data type/tag that contains the user credentials.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| device\_lost\_hours                  | **integer** Used within Device Information. Represents number of hours to have not heard from a device to indicate as lost.                                                                                                                                                                                                                                                                                                                                                                                                                              |
| vision\_threshold                    | **double** When using vision re-auth, what is the percentage threshold to indicate a match. ie. 0.45.                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| vision\_attempts                     | **integer** When using vision re-auth, number of attempts to match a face to the vision database.                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| authVisionDatabaseUrl                | <p><strong>string</strong> URL that points to a zipped file called "database", containing but not limited to the following files: "data", "facenet.pb", "label", "model", "mtcnn.pb". Access to the database.zip can refine the facial recognition software's competence at matching faces through machine learning.<br>Ask a BlueFletch account manager if you require the URL.</p>                                                                                                                                                                     |
| useSiteInfoService                   | **boolean** Indicates to use the sites csv file to determine the location of the device. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| sitelistUrl                          | **string** URL that points to a CSV file to download. The file should be named `sitelist.csv` and contain site IDs, site names, and other values associated with a device's possible store/office locations. This setting is available in Launcher 3.12.7+.                                                                                                                                                                                                                                                                                              |
| siteListPollingIntervalMinutes       | **integer** If using the siteListUrl for site list management, this value will be used to indicate the polling interval to check for updates. Introduced in Launcher version 3.24.11.                                                                                                                                                                                                                                                                                                                                                                    |
| refreshSiteOnStartup                 | **boolean** If set to true, will attempt to always determine current site after a reboot. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| refreshSiteRequiresNetwork           | **boolean** In case the device does not have an IP address, setting this to true will make the Launcher wait until the device receives an IP address, after which it will re-attempt site location. Default is false.                                                                                                                                                                                                                                                                                                                                    |
| refreshSiteOnNetworkChange           | **boolean** Forces a refresh of site ID when a network change occurs. Default is false. Introduced in Launcher version 3.21.25.                                                                                                                                                                                                                                                                                                                                                                                                                          |
| defaultSiteId                        | **string** If Site Info Service is used, and the service is unable to determine the current site, this value will be used as the default site. This value must be a valid site ID that exists within the sitelist csv file. Introduced in Launcher version 3.24.x.                                                                                                                                                                                                                                                                                       |
| defaultLocation                      | **string** If the Site Info Service location name is not set, then this value is used as a placeholder text for the location on the device. If useSiteInfoService is true, this value is ignored.                                                                                                                                                                                                                                                                                                                                                        |
| distanceInMeters                     | **integer** When using the Site Information Service, the radius distance in meters for GPS Location matching.                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| screenTimeout                        | **integer** Number of seconds for device screen timeout (15, 30, 60, 120, 300, 600). Support on Zebra devices starting in launcher 3.3.x.                                                                                                                                                                                                                                                                                                                                                                                                                |
| onCradleIgnoreLogout                 | **boolean** If set to true the Launcher will not logout the user when the device is cradled or starts charging. Default is false. This setting is available starting Launcher 3.9.6+.                                                                                                                                                                                                                                                                                                                                                                    |
| cradleLogoutDelayInSeconds           | **integer** If set to greater than 0, the Launcher will not immediately logout the user. Instead when the device is cradled or docked, the Launcher will prompt the user to either continue with the session or logout immediately. If the user does not respond within the # of seconds specified, the user will be logged out automatically, the default is 0 (no prompt). This setting is ignored if `onCradleIgnoreLogout` is set to true.This feature requires that the draw-over permission, `android.permission.SYSTEM_ALERT_WINDOW`, be granted. |
| disallowSiteChange                   | **boolean** If set to true, the user will not be able to manually launch the change location activity or retry the automatic location service. Default is false, in which case both are allowed.                                                                                                                                                                                                                                                                                                                                                         |
| disallowManualSiteChange             | **boolean** If set to true, the user will not be able to manually launch the change location activity but can retry the automatic location service. Default is false, in which case both are allowed.                                                                                                                                                                                                                                                                                                                                                    |
| disallowLoggedInSiteChange           | **boolean** If set to true, the user will not be able to manually launch the change location activity if they are logged in. Default is true.                                                                                                                                                                                                                                                                                                                                                                                                            |
| nfcTurnOff                           | **boolean** Indicates NFC should be turned off at BOOT and during Logout. False indicates do nothing with NFC. Valid values are "true" and "false", defaults to "false".                                                                                                                                                                                                                                                                                                                                                                                 |
| nfcTurnOnAtLogin                     | **boolean** Indicates NFC should be turned On after user login. False indicates do nothing with NFC. Valid values are "true" and "false", defaults to "false".                                                                                                                                                                                                                                                                                                                                                                                           |
| lockInMotion                         | **boolean** Indicates that the device should be locked while the user is driving. `false` indicates that the device should not be locked while the user is driving. Valid values are `true` and `false`, defaults to `false`.                                                                                                                                                                                                                                                                                                                            |
| lockInMotionConfidence               | **integer** Indicates the needed level of confidence that the user is driving in order to lock the device. For instance, if this is set to `50`, the device will be locked when we are at least 50 percent confident that the user is driving. This value can range from 0 to 100, and the default value is 80. Note that this setting will only be utilized if `lockInMotion` is set to `true`.                                                                                                                                                         |
| lockInMotionInterval                 | **integer** Indicates the interval (in milliseconds) to query motion information from the system. Default is 5000 ms (5 seconds). Introduced in Launcher version 3.11.4.                                                                                                                                                                                                                                                                                                                                                                                 |
| lockInMotionUseGps                   | <p>Indicates that the device will be using GPS to determine if the user is driving. <code>false</code> indicates that the device will not use GPS for lock in motion detection. Note that this setting will only be utilized if <code>lockInMotion</code> is set to <code>true</code>.<br><strong>Only set to <code>true</code> if the device is GPS-enabled. If set to <code>true</code> on a non-GPS device, motion lock will not engage.</strong></p>                                                                                                 |
| lockInMotionSpeedInMph               | Indicates the movement speed threshold in miles per hour required to lock the device. For example, if it is set to `2`, the device will be locked if the detected speed is greater than or equal to 2 miles per hour. Default is 5 miles per hour. Note that this setting will only be utilized if `lockInMotionUseGps` is set to `true`.                                                                                                                                                                                                                |
| lockInMotionGpsUpdateInterval        | Indicates the GPS minimimum time interval in milliseconds to update. For instance, if it is set to `10000`, the GPS update time interval will run every 10 seconds. Default is 5000 milliseconds. Note that this setting will only be utilized if `lockInMotionUseGps` is set to `true`.                                                                                                                                                                                                                                                                 |
| lockInMotionGpsMinDistanceThreshold  | Indicates that the detected speed is greater than the distance between GPS updates in meters. For instance, if it is set to `5`, the GPS updates will run every 5 meters. Default is 0, which means that GPS updates will constantly update. Note that this setting will only be utilized if `lockInMotionUseGps` is set to `true`.                                                                                                                                                                                                                      |
| clearAppDataOnLogout                 | **boolean** If set to true will clear the application data for all applications opened within the user session on logout. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                              |
| clearAppDataIncludeList              | **string** Comma-delimited string of packages that will be cleared of application data on logout, regardless of whether they were opened or not. Use for applications that are not directly opened by the user from the Launcher home screen.                                                                                                                                                                                                                                                                                                            |
| clearAppDataExcludeList              | **string** Comma-delimited string of packages that are exempt from clearing of application data even on logout (but recent tasks will be removed, unless specified in the `clearRecentExcludeList`).                                                                                                                                                                                                                                                                                                                                                     |
| clearRecentIncludeList               | **string** Comma-delimited string of packages that must be killed when the user logs out or when the device is cradled (Honeywell only). This is typically used for scenarios where one app starts another app, and Launcher is unaware it needs to kill the 2nd app. If `clearAppDataOnLogout` is set to true, the package must also be specified in the `clearAppDataExcludeList`.                                                                                                                                                                     |
| clearRecentExcludeList               | **string** Comma-delimited string of packages that are exempt from being killed when the user logs out or when the device is cradled (Honeywell only). If `clearAppDataOnLogout` is set to true, the package must also be specified in the `clearAppDataExcludeList`.                                                                                                                                                                                                                                                                                    |
| clearRecentTasksDelay                | **int** Delay in milliseconds before clearing recent tasks. Default is 2000.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| stopVisibleTasks                     | <p><strong>boolean</strong> If set to <code>true</code>, clears all applications in the Recents queue on logout without clearing app data, unless separately configured. Default is <code>true</code>. Introduced in Launcher v3.18.x.<br>This setting is for devices running a signed BlueFletch Platform Service APK, version 1.3.x or above. BlueFletch clears all recent applications on logout by default on Zebra devices.</p>                                                                                                                     |
| authProfileManager                   | **boolean** If set to true, will enable integration with Zebra's Profile Manager. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| disableRecents                       | **boolean** If set to true, the recents button will be disabled. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| portraitDiagonalInches               | <p><strong>integer</strong> Indicates the transition point between Launcher defaulting to portrait and Launcher defaulting to landscape (tablet) mode. The transition is determined by the diagonal screen measurement in inches for a device. Default is 7.<br>e.g. If a device display's diagonal size is greater than or equal to 7 inches, Launcher will start in landscape by default.Overriden by <code>orientationOverride</code>.</p>                                                                                                            |
| unsecuredDeviceTimeoutInSecs         | **integer** Indicates the number of seconds the device is given to be logged in or cradled before an indefinitely looping alarm sounds until the device is logged into or cradled. See secured device for details.                                                                                                                                                                                                                                                                                                                                       |
| unsecuredDeviceEffects               | **boolean** Indicates whether a warning countdown alarm should sound when 12 seconds or less are remaining on the unsecured device timeout. Default is false.                                                                                                                                                                                                                                                                                                                                                                                            |
| secureDeviceSnoozeDuration           | **integer** Indicates the number of seconds for which a looping alarm can be silenced without logging into or cradling a secured device. Only applied if `unsecuredDeviceTimeoutInSecs` is also set.                                                                                                                                                                                                                                                                                                                                                     |
| secureDeviceMaxSnoozeCount           | **integer** Indicates the number of times that a looping alarm can be silenced without logging into or cradling a secured device. Default is 1. Only applied if `unsecuredDeviceTimeoutInSecs` is also set. Introduced in 3.20.12.                                                                                                                                                                                                                                                                                                                       |
| unsecuredDeviceEffectsSound          | **string** This allows using a different sound for the unsecured device countdown effect. The setting can reference a file on the sdcard or a file referenced in the Assets Manager configuration. Introduced in 3.18.13.                                                                                                                                                                                                                                                                                                                                |
| unsecuredDeviceAlarmSound            | **string** This allows using a different sound for the unsecured device alarm. The setting can reference a file on the sdcard or a file referenced in the Assets Manager configuration. Introduced in 3.18.13.                                                                                                                                                                                                                                                                                                                                           |
| unsecuredDeviceSoundVolume           | **integer** This allows for changing the sound volume used with the unsecured device effect and alarm sounds. Is a value from 0 to 100 and represents percentage of max volume. Default is 100. Introduced in 3.18.13.                                                                                                                                                                                                                                                                                                                                   |
| logLevel                             | **string** Determines the level of log to be logged in Support Agent. Valid values are "debug", "info", or "error" . If set, only the level of logs set and below will be logged. Defaults to "info".                                                                                                                                                                                                                                                                                                                                                    |
| suppressUserId                       | **boolean** If set to true, will tell launcher to suppress reporting User Id and User Name to Support application events. Also will not write User Id or Name to application logs. Default to false. Introduced in 3.9.22 of launcher.                                                                                                                                                                                                                                                                                                                   |
| knoxLicenseKey                       | **string** Specify the Knox Customization License Key for using Samsung Device running Knox 3.x or newer.                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| knoxProKioskMode                     | **boolean** Set to `true` to use Launcher in ProKiosk mode, which also disables the Recents button. If not specified in the configuration file, the default value will be `false`. This option is available in Launcher 3.18.11 and higher.                                                                                                                                                                                                                                                                                                              |
| thirdPartyAuthKey                    | **string** A SHA-256 hashed key. Launcher will listen for login and logout messages from a third-party/customer-supported authentication application. This security key will need to be sent from the third-party authentication application to support this capability.                                                                                                                                                                                                                                                                                 |
| useLowBatteryMode                    | **boolean** If `true`, the device will enter Low Battery Mode, a locked state where the user cannot interact with the device, once the battery level falls to the percentage defined in `lowBatteryModeStartLevel`; the device will exit Low Battery Mode once the battery is charged to the level defined in `lowBatteryModeEndLevel`. Default is `false`.                                                                                                                                                                                              |
| lowBatteryModeStartLevel             | **integer** The threshold, in percentage of battery life, for locking the device in Low Battery Mode mode if `useLowBatteryMode` is `true`. Default is 10.                                                                                                                                                                                                                                                                                                                                                                                               |
| lowBatteryModeEndLevel               | **integer** The threshold, in percentage of battery life, for exiting Low Battery Mode mode if `useLowBatteryMode` is `true`. Default is `lowBatteryModeStartLevel` + 5 (e.g. if `lowBatteryModeStartLevel` is not defined, `lowBatteryModeEndLevel` defaults to 15).                                                                                                                                                                                                                                                                                    |
| hideNotificationsOpenZone            | <p><strong>boolean</strong> If set to <code>true</code>, Launcher will hide all notifications when the user is not logged in. Default value is <code>false</code>.<br>Prior to Launcher version 3.26.24, this parameter disabled SMS apps when a user was not logged in. Starting in version 3.26.24, if <code>true</code>, all notifications will be hidden but SMS apps will remain enabled.</p>                                                                                                                                                       |
| includeUserApps                      | **boolean** If `true`, all apps installed by the user will be added to a device's layouts. Introduced in Launcher version 3.17.29.                                                                                                                                                                                                                                                                                                                                                                                                                       |
| authorizedAppStores                  | **string** Comma-delimited list of one or more package name(s) of trusted application stores. If defined, only apps downloaded from these stores will be displayed in a device's layouts when `includeUserApps` is `true`. Apps belonging to an authorized store can be manually deleted by long-pressing on their icon in a layout. Introduced in Launcher version 3.17.29.                                                                                                                                                                             |
| userAppInstallCutoffTime             | **long** System/epoch date/time to millisecond level (13 digits). If set in conjunction with `includeUserApps` and `authorizedAppStores`, Launcher will only display store-downloaded apps in the layout if the apps were installed after that date. Introduced in Launcher version 3.17.29.                                                                                                                                                                                                                                                             |
| includeUserAppsWhenAuthorized        | **boolean** If `true`, Launcher will only display user-installed apps in the layout while logged into an authenticated session. Only applies if `includeUserApps` is also `true`. Default is `false`. Introduced in Launcher version 3.19.4.                                                                                                                                                                                                                                                                                                             |
| verifyIdpOnReauth                    | **boolean** If `true`, the authentication configuration will need to set `redirect_url_verify` to `"com.bluefletch.ems.auth://verified"`; the authentication module will refresh cookies on the browser if reauthentication is successful. Default is `false`. Introduced in Launcher version 3.17.29.                                                                                                                                                                                                                                                   |
| secondaryAuthWhenScreenOff           | **boolean** If `true`, the reauthentication screen will be displayed while turning the screen off, not while turning the screen on. This will retain the most recent application to the foreground upon waking the device, not bring Launcher to foreground. If `false`, the most recent application will be minimized after reauthentication on screen wake. Default is `true`. Introduced in Launcher version 3.19.4.                                                                                                                                  |
| disableStatusBar                     | **boolean** If `true`, the pull-down notification tray will be hidden at all times. Default is `false`. Introduced in Launcher version 3.24.20.                                                                                                                                                                                                                                                                                                                                                                                                          |
| recentsActivityEnabled               | **boolean** If `true`, will display an icon next to the search bar which when tapped will show recently launched applications. This feature requires the search bar to be enabled. Introduced in Launcher version 3.25.1.                                                                                                                                                                                                                                                                                                                                |
| allowNotificationsOnReauth           | **boolean** If `true`, will allow device notifications to be display during device reauth display. Introduced in Launcher version 3.26.30.                                                                                                                                                                                                                                                                                                                                                                                                               |
|                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |

The proceeding settings will be deprecated starting Launcher 3.x. If using Launcher 3.x, refer to Auth Provider Configurations.

| Field                                                                 | Description                                                                                                                                                                              |
| --------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| *The following only applies if using LDAP based identity provider:*   |                                                                                                                                                                                          |
| ldap\_hostname                                                        | Hostname of the LDAP server (LDAP Auth only).                                                                                                                                            |
| ldap\_port                                                            | Port of the LDAP server (LDAP Auth only).                                                                                                                                                |
| ldap\_domain                                                          | The domain of the user when logging in, i.e. @domain.                                                                                                                                    |
| ldap\_rootDN                                                          | The Root DN of where the users can be searched after authentication.                                                                                                                     |
| ldap\_useHttps                                                        | Set to true to use LDAPS when authenticating.                                                                                                                                            |
| *The following will be used to configure the internal Oauth2 Broker:* |                                                                                                                                                                                          |
| oauth2\_claim\_userId                                                 | The field to use for the userId claim (used by internal broker).                                                                                                                         |
| oauth2\_claim\_username                                               | The field to use for the PTT Pro user name field.                                                                                                                                        |
| *The following are for OKTA or OpenID connect identity providers:*    |                                                                                                                                                                                          |
| okta\_issuer\_uri                                                     | The configured Issuer URI for the identity provider.                                                                                                                                     |
| okta\_client\_id                                                      | The configured client ID for this application.                                                                                                                                           |
| okta\_redirect\_uri                                                   | The configured redirect callback URI for this application.                                                                                                                               |
| okta\_scopes                                                          | The scopes where this authentication applies.                                                                                                                                            |
| okta\_force\_logout                                                   | This allows for overriding the default logout End Session URL. This is required for OneLogin.                                                                                            |
| *The following are for ADAL connect identity providers:*              |                                                                                                                                                                                          |
| adal\_authority                                                       | Configured resource ID for this application.                                                                                                                                             |
| adal\_resourceId                                                      | Configured resource ID for this application.                                                                                                                                             |
| adal\_clientId                                                        | Configured Client ID for this application.                                                                                                                                               |
| adal\_redirectUri                                                     | Configured callback URL for this application.                                                                                                                                            |
| adal\_claim\_userId                                                   | Passthrough field containing the userID (e.g. unique\_name).                                                                                                                             |
| adal\_claim\_username                                                 | LDAP passthrough field containing the user's display name.                                                                                                                               |
| adal\_claim\_groups                                                   | LDAP passthrough field containing the groups (e.g. equivalent to MemberOf).                                                                                                              |
| adal\_claim\_baseUrl                                                  | The base url for the ADFS environment.                                                                                                                                                   |
| adal\_claim\_defaultDomain                                            | Optional, to pre-populate the username field with the domain prefix.                                                                                                                     |
| *The following are used within OKTA connect identity providers:*      |                                                                                                                                                                                          |
| auth\_location\_field                                                 | An optional setting that tells authorization which field in the auth provider response contains Location information. Used in conjunction with auth\_location\_regex.                    |
| auth\_location\_regex                                                 | A regular expression to extract the location value from the location field. Used in conjunction with auth\_location\_field.                                                              |
| auth\_group\_field                                                    | An optional setting that tells authorization which field in the auth provider response contains Group information. Used in conjunction with auth\_group\_regex.                          |
| auth\_group\_regex                                                    | A regular expression to match against the group information.                                                                                                                             |
| auth\_group\_regex\_true                                              | If the regular expression auth\_group\_regex returns true (found a value), will use this group value.                                                                                    |
| auth\_default\_group                                                  | A default group.                                                                                                                                                                         |
| auth\_role\_field                                                     | An optional setting that tells authorization which field in the auth provider response contains User ROLE information. Used in conjunction with auth\_role\_regex. Available AUTH 1.1.x. |
| auth\_role\_regex                                                     | A regular expression to match against the role information.                                                                                                                              |
| auth\_role\_regex\_true                                               | If the regular expression auth\_role\_regex returns true (found a value), will use this Role value.                                                                                      |
| auth\_default\_role                                                   | A default user role.                                                                                                                                                                     |

### Luggage Tag

| Field              | Description                                                                                                                                                                                                                                                                    |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| enable             | **boolean** Indicates that the device should be locked while the device is connected to an unapproved network. False indicates that the device is free to connect to any network and will not activate Luggage Tag Mode.                                                       |
| thresholdInMinutes | **integer** Indicates the number of elapsed minutes while the device is on an unapproved network needed before locking the device.                                                                                                                                             |
| logo               | **string** The URL for an image to be displayed on the Luggage Tag view. If not set, Launcher will skip this and display other information if available.                                                                                                                       |
| line1              | **string** Indicates the first line of an address for people to contact on the Luggage Tag view when attempting to help return a device to where it should be.                                                                                                                 |
| line2              | **string** Indicates the second line of an address for people to contact on the Luggage Tag view when attempting to help return a device to where it should be.                                                                                                                |
| email              | **string** Indicates a preferred email address for people to contact on the Luggage Tag view when attempting to help return a device to where it should be.                                                                                                                    |
| phoneNumber        | **string** Indicates a preferred phone number for people to contact on the Luggage Tag view when attempting to help return a device to where it should be.                                                                                                                     |
| unlockPassword     | **string** The password required to unlock the device out of Luggage Tag Mode. If not available, Launcher will default to validating against the admin password. Password must be a SHA-256 hashed string.                                                                     |
| alarmLoopInMinutes | **integer** Indicates the number of elapsed minutes needed while Luggage Tag Mode is activated to play the alarm and continues to replay every time the same minutes has elapsed again until Luggage Tag Mode is deactivated. Set this value to zero (0) to disable the alarm. |

### Layout Settings

Layout settings defines advanced global settings for displaying the icons on the Launcher workspace.

| Field                   | Description                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| columns                 | **integer** The number of icon columns for devices in the fixed portrait mode. If not specified, the default value is 3 (minimum of 3).                                                                                                                                                                                                                                                                                     |
| tabletColumns           | **integer** The number of icon columns for devices in landscape mode. If not specified, the default value is 6 (minimum of 3).                                                                                                                                                                                                                                                                                              |
| iconSize                | **string** Set to "normal" to use the standard icon size for the device. Set to "large" to display larger icons (1.5x). Set to "fit" to make the icon width fit the available space, based on the column size. The default value is "normal".                                                                                                                                                                               |
| showLabel               | **boolean** Set to false to hide the label on all the icons. The default value is true.                                                                                                                                                                                                                                                                                                                                     |
| boldTypeLabel           | **boolean** If set to true, the labels will be rendered using boldface type. The default value is false.                                                                                                                                                                                                                                                                                                                    |
| labelFontSize           | **number** If set will change the font size of the icon labels. Default is 14.                                                                                                                                                                                                                                                                                                                                              |
| quickStartIconSize      | **string** Determines the size of icons pinned to the bottom of the launcher when there is a folder object with `"quickStartFolder": true`. The only valid string is "small", which sets the icons at a smaller size. If empty, undefined, or invalid, the icons default to the standard size (same as `"iconSize": "normal"` ).                                                                                            |
| pageWidthOffsetOverride | **integer** This allows for adjusting the displayed page width. The default value is 14.                                                                                                                                                                                                                                                                                                                                    |
| heightAdjust            | <p><strong>integer</strong> This allows for adjusting the spacing between rows of icons, typically used when the last row was barely bumped to the next page. This value is a relative number with a default value of 0. A positive number (e.g. 30) will add spacing between icons; A negative number (e.g. -30) will reduce the spacing between rows.<br><br>In Launcher 4, this was re-introduced in version 4.4.17.</p> |

Example:

```
    "layoutSettings" : {
       "columns" : 3,
       "tabletColumns" : 6,
       "iconSize" : "normal",
       "showLabel" : true,
       "boldTypeLabel" : false,
       "labelFontSize" : 14,
       "quickStartIconSize": "",
       "heightAdjust": -5
    },
```

### Layouts

Layouts represent which applications the launcher will display, based on who is logged in.

| Field     | Description                                                                                                                                                                                                                                                                                             |
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **GROUP** | **object** An application object that represents applications for which the logged user has access. Example: manager, associate. Each GROUP has a collection of Application, Folder, and/or Shortcuts. See Application Object, Shortcut Object, Folder Object, or Action Object for additional details. |

Example:

```
    "layouts" : {
        "Manager":[ -Logged in Managers will have access to these Applications.- ],
        "Associates":[ -Logged in Associates will have access to these Applications.- ],
        "*": [ -OPEN ZONE definition of applications- ]
    },

```

### Group Inclusions

Group Inclusions allow you to set application groups for identity provider groups.

| Field            | Description                                                                                                                                                                                                                                                              |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| group\_inclusion | **objects** Contains the list of relevant identity provider groups, along with an array of application groups that will be applied when a user belongs to that identity group. Each application group can be defined in the layouts section and will be merged together. |

Example:

In the example below, when a user with a *Managers* group logs in, he will see all three application group sets, while the user with a *WarehouseAssociate* group will only see the Back office and Open zone apps.

```
{
  "configVersion" : "example configuration",
  "group_inclusion" : {
    "Managers" : ["BackOfficeApps", "FloorApps", "OpenZone"],
    "WarehouseAssociate" : ["BackOfficeApps", "OpenZone"],
    "FloorAssociates" : ["FloorApps", "OpenZone"],
    "Cashiers" : ["FloorApps", "OpenZone"],
    "*" : ["*"]
  },
  "layouts" : {
    "BackOfficeApps" : [
      {  "package" : "com.bluefletch.receiving" },
      {  "package": "com.bluefletch.delivery" },
      {  "package" : "com.bluefletch.itemlookup" }
    ],
    "FloorApps" : [
      {  "package" : "com.bluefletch.itemlookup" },
      {  "package" : "com.bluefletch.bopis" },
      {  "package": "com.bluefletch.mpos" }
    ],
    "OpenZone" : [
      {  "package" : "com.android.calculator" }
    ]
  }
  ...

```

### Application Object

Available fields used to describe applications displayed on the Launcher home screen.

| Field              | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| package            | **string** The package name of the application to start.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| label              | <p><strong>string</strong> The name of the application to display (optional).<br>No hard limit on character count but text wraps or truncates based on a 13-character-per-line display layout:</p><ul><li>13 characters or less: Displays on a single line.</li><li>Over 13 characters (multi-word, with spaces): Wraps across two lines on word boundaries.</li><li>Over 13 characters (single word, no spaces): Truncates to 13 characters followed by an ellipsis.</li><li>Under 26 characters: Recommended maximum with a space to wrap into two lines.</li></ul> |
| activity           | **string** The Activity to start (optional).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| kiosk              | **boolean** If set to true, will put launcher into Kiosk mode for this application (optional).                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| icon               | **string** Represents a icon to overvide the default application image. Can be a local file or an asset download via **assets** setting. Example: **assets:image** or /sdcard/DCIM/icons/logo.png (optional).                                                                                                                                                                                                                                                                                                                                                         |
| nfcEnable          | **boolean** If this Application is started by End User, and the value is "true", then enable NFC (if not on). False indicates do nothing with NFC. Valid values are "true" and "false", defaults to "false".                                                                                                                                                                                                                                                                                                                                                          |
| includeUserInfo    | **boolean** If set to true, will pass the following user information as extras when calling the intent: EXTRA\_USERID, EXTRA\_USERNAME, EXTRA\_GROUP and EXTRA\_ACCESS\_TOKEN.                                                                                                                                                                                                                                                                                                                                                                                        |
| intentExtras       | **object** If populated, these key-value pairs will be added to the launching intent as extras. The value data will be sent as strings, regardless of how the data type is specified in the configuration. The values do support Custom Intents Replacement Variables. Setting added in Launcher version 3.9.15.                                                                                                                                                                                                                                                      |
| password           | **string** The SHA-256 hashed version of the password required to launch the application.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| allowInMotionLock  | **boolean** If `true`, the application or website is allowed in motion lock. Apps that are allowed are listed at the bottom of the screen once motion lock engages. A maximum of three can be allowed. Default is `false`. Introduced in Launcher version 3.20.x.                                                                                                                                                                                                                                                                                                     |
| requirePinToLaunch | **boolean** If true, the user will be required to enter their re-auth PIN code to launch the application. Introduced in Launcher version 3.24.11.                                                                                                                                                                                                                                                                                                                                                                                                                     |
| isWearableItem     | **boolean** If true, this indicates the item is meant for the wearable device. The item package information will be sent to the wearable device. Introduced in Launcher version 3.24.11.                                                                                                                                                                                                                                                                                                                                                                              |

Example:

```
    {
        "label" : "BlueFletch",
        "url" : "https://bluefletch.com",
        "icon" : "/sdcard/DCIM/icons/bluefletch_logo.png",
        "nfcEnable": true
    },
    {
        "package": "com.android.calculator2",
        "nfcEnable": true
    },
    {
        "package" : "com.bluefletch.ems.support",
        "password": "d9b5f58f0b38198293971865a14074f59eba3e82595becbe86ae51f1d9f1f65e"
    },
    {
        "label": "Test Intent Receiver",
        "package": "com.bluefletch.ems.testintentreceiver",
        "intentExtras": {
            "url": "https://somewhere.com",
            "anExtra": "an Extra field",
            "boolean": true,
            "integer": 42,
            "replaceExample": "Can replace ${session.location}"
        }   
    },
    {
      "package": "com.google.android.apps.maps",
      "allowInMotionLock": true
    }

```

### Web Shortcut Object

Available fields used to describe web shortcuts displayed on the Launcher home screen.

| Field              | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| label              | <p><strong>string</strong> The name of the application to display (optional).</p><p>No hard limit on character count but text wraps or truncates based on a 13-character-per-line display layout:</p><ul><li>13 characters or less: Displays on a single line.</li><li>Over 13 characters (multi-word, with spaces): Wraps across two lines on word boundaries.</li><li>Over 13 characters (single word, no spaces): Truncates to 13 characters followed by an ellipsis.</li><li>Under 26 characters: Recommended maximum with a space to wrap into two lines.</li></ul> |
| url                | **string** A URL to navigate to.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| icon               | **string** Represents a icon to overvide the default application image. ie. /sdcard/DCIM/icons/logo.png (optional).                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| kiosk              | **boolean** If set to true, will put launcher into Kiosk mode for this shortcut (optional).                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| nfcEnable          | **boolean** If this Application is started by End User, and the value is "true", then enable NFC (if not on). False indicates do nothing with NFC. Valid values are "true" and "false", defaults to "false".                                                                                                                                                                                                                                                                                                                                                             |
| browser            | **string** Set to the package name of the target browser to use for this shortcut. If not specified, the Launcher will open the URL in a Chrome Custom Tab.                                                                                                                                                                                                                                                                                                                                                                                                              |
| browserOverrides   | **object** If using the BF Browser, this is an object with the browser settings to be overriden for this specific shortcut. All of the settings described in the browser documentation page can be overriden in this section.                                                                                                                                                                                                                                                                                                                                            |
| showUrl            | **boolean** Determines if the url will be displayed to the user. Valid values are "true" and "false", defaults to browser settings. (optional) *Note: this setting will be deprecated, use browserOverrides instead.*                                                                                                                                                                                                                                                                                                                                                    |
| showTitle          | **boolean** Determines if the webpage title is displayed to the user. Valid values are "true" and "false", defaults to browser settings. (optional) *Note: this setting will be deprecated, use browserOverrides instead.*                                                                                                                                                                                                                                                                                                                                               |
| allowCookiePreview | **boolean** Determines if user can view the cookies for the current url. This is used for development purposes. Valid values are "true" and "false", defaults to browser settings. (optional) *Note: this setting will be deprecated, use browserOverrides instead.*                                                                                                                                                                                                                                                                                                     |
| fixOrientation     | **boolean** Determines if the view is fixed to portrait. Valid values are "true" and "false", defaults to browser settings. (optional) *Note: this setting will be deprecated, use browserOverrides instead.*                                                                                                                                                                                                                                                                                                                                                            |
| intentExtras       | **object** If populated, these key-value pairs will be added to the launching intent as extras. The value data will be sent as strings, regardless of how the data type is specified in the configuration. The values do support Custom Intents Replacement Variables. Setting added in Launcher version 3.9.15.                                                                                                                                                                                                                                                         |
| password           | **string** The SHA-256 hashed version of the password required to launch the shortcut.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| allowInMotionLock  | **boolean** If `true`, the application or web shortcut is allowed in motion lock. Web shortcuts that are allowed are listed at the bottom of the screen once motion lock engages. A maximum of three can be allowed. Default is `false`. Introduced in Launcher version 3.20.x.                                                                                                                                                                                                                                                                                          |

Example:

```
{
    "label": "BlueFletch",
    "url": "https://bluefletch.com",
    "icon": "/sdcard/DCIM/icons/bluefletch_logo.png",
    "browser": "com.bluefletch.ems.browser",
    "browserOverrides": {
        "showUrl": false,
        "showTitle": true,
        "allowCookiePreview": false,
        "fixOrientation": true
    },
    "nfcEnable": true,
    "intentExtras": {
        "anExtra": "an Extra field",
        "boolean": true,
        "integer": 42,
        "replaceExample": "Can replace ${session.location}"
    },
    "password": "d9b5f58f0b38198293971865a14074f59eba3e82595becbe86ae51f1d9f1f65e"
},
{
  "label": "Drivers Stop List",
  "url": "https://company.com/drivers/list-of-stops",
  "browser": "com.bluefletch.ems.browser",
  "icon": "/sdcard/DCIM/icons/bluefletch_logo.png",
  "allowInMotionLock": true
}
```

### Folder Object

Available fields used to describe folders on the Launcher home screen.

| Field            | Description                                                                                                                                                                                                                                 |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| label            | **string** The name of the folder to display (required).                                                                                                                                                                                    |
| quickStartFolder | **boolean** Indicates whether or not this folder is a Quick Start application list; a Quick Start folder will have its icons pinned to the bottom of the launcher Home screen. Default is `false`. Available in Launcher v3.13.9 and later. |
| contents         | **array** An array of application objects. Used in grouping applications into folders.                                                                                                                                                      |
| icon             | **string** Represents an icon image file to override the default thumbnail, which is a preview of the apps, actions, and shortcuts within the folder. Image may be referenced by file path or asset.                                        |
| password         | **string** The SHA-256 hashed version of the password required to display the folder.                                                                                                                                                       |

Example:

```
 {
        "label" : "Tools",
        "quickStartFolder": false,
        "password": "d9b5f58f0b38198293971865a14074f59eba3e82595becbe86ae51f1d9f1f65e",
        "contents":[
            {
                "package" : "com.bluefletch.ems.support"
            },
            {
                "package" : "com.symbol.datawedge"
            },
            {
                "label" : "BlueFletch",
                "url" : "https://bluefletch.com",
                "icon" : "/sdcard/DCIM/icons/bluefletch_logo.png"
            },
            {
                "label" : "Staging tools",
                "contents" : [
                    {
                        "package" : "com.symbol.tool.stagenow"
                    }
                ]
            }

        ]
    }
```

### Action Object

Available fields used to describe a System Action to display on the Launcher home screen.

| Field               | Description                                                                                                                                                                                                                                                                                                      |
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| action              | **string** The system level action string to invoke. Example: android.settings.WIFI\_SETTINGS or android.settings.BLUETOOTH\_SETTINGS.                                                                                                                                                                           |
| label               | **string** The name to display (required).                                                                                                                                                                                                                                                                       |
| icon                | **string** Represents a icon to overvide the default application image. Ie. /sdcard/DCIM/icons/logo.png or a package name: com.android.settings (optional).                                                                                                                                                      |
| wifiSettingsEnabled | **boolean** If this Application is started by End User, and the value is "true", then enable access to and editing of the Wifi Settings. False indicates do nothing with Wifi Settings UI. Valid values are "true" and "false", defaults to "false".                                                             |
| intentExtras        | **object** If populated, these key-value pairs will be added to the launching intent as extras. The value data will be sent as strings, regardless of how the data type is specified in the configuration. The values do support Custom Intents Replacement Variables. Setting added in Launcher version 3.9.15. |
| password            | **string** The SHA-256 hashed version of the password required to launch the action.                                                                                                                                                                                                                             |

> **Note:** BlueFletch supports the custom actions `com.bluefletch.ems.RUN_XML` and `com.bluefletch.ems.AUDIO`, as well as `android.settings.WIFI_SETTINGS` and `android.settings.BLUETOOTH_SETTINGS`.\
> Android Developer documentation provides a list of [Android Settings actions](https://developer.android.com/reference/android/provider/Settings#constants_1), although some actions may not currently be fully supported by BlueFletch.

{% hint style="danger" %}
**Caution:** On certain versions of **Android 11** for Zebra devices, launching `android.settings.WIFI_SETTINGS` has been observed to grant full access to the Android Settings app, including the Quick Settings tiles.

BlueFletch recommends that `android.settings.WIFI_SETTINGS` and other Android Settings API shortcuts be placed in layouts for **manager** roles *or* have a **password** set, which only managers know, if the shortcuts are in the Open Zone.

BlueFletch does **NOT** recommend placing these shortcuts in the Open Zone without protections in place due to the risk of users reaching full Android Settings.
{% endhint %}

Example:

```
{
    "label" : "Wifi Settings",
    "action": "android.settings.WIFI_SETTINGS",
    "icon": "com.android.settings",
    "wifiSettingsEnabled": true,
    "password": "ef92b778bafe771e89245b89ecbc08a44a4e166c06659911881f383d4473e94f"
}
```

### Default Session

Default session used by the Launcher when no user is logged in.

| Field    | Description                                                                       |
| -------- | --------------------------------------------------------------------------------- |
| userId   | **string** Defaulted userId value. Suggested to be blank.                         |
| userName | **string** Defaulted display within the User Name display. Suggested to be blank. |
| groups   | **string** The defaulted Groups value to use for OpenZone. Default is \*.         |
| location | **string** The Site / Location to default the device.                             |

Example:

```
 "defaultSession": {
        "userId": "",
        "userName": "",
        "groups": "*",
        "location": ""
    },
```

### Theme

Available settings for 'theming' a device UI per an Organization's needs. Starting 3.0.x, you are able to define and customize separate wallpapers for the main and lock screens.

| Field       | Description                                                                                                                                                         |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| enable      | **boolean** To enable theme support. Default true.                                                                                                                  |
| logo        | **string** A file location for a company specific logo. A URL is fine, but for better performance use a local file downloaded via MDM.                              |
| logoHeight  | <p><strong>integer</strong> The height in pixels of the logo within the banner. Default is 100.<br><br>In Launcher 4, this was re-introduced in version 4.4.17.</p> |
| background  | **string** A hex code for a company specific background color. Starting in 3.0.x, set to blank to use the device wallpaper as the background.                       |
| accentColor | **string** A hex code for a company specific accent color.                                                                                                          |

The following additional theme settings were introduced starting in version 3.0.x of the Launcher:

| Field                 | Description                                                                                                                                                                                                                                                                                                                                       |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| darkTheme             | **boolean** Set to false when using a light background/theme, as this will change all element text colors to black. If using dark wallpaper, set to true. Defaulted to true.                                                                                                                                                                      |
| wallpaperImage        | **string** name, local path or URL to use as the wallpaper for the **Main** screens. The following valid values can be used which are built-in with the Launcher: **bubble**, **topology**, **messe** or **swirl**.                                                                                                                               |
| duoToneWhite          | **string** Colorize/tint the wallpaper using Duotone, this value is the hex value of the light halftone color of the image. Examples of Duotone images can be found [here](https://duotone.shapefactory.co/). Beginning 3.3.x, set to "" to keep the original color of the wallpaper.                                                             |
| duoToneBlack          | **string** Colorize/tint the wallpaper using Duotone, this value is the hex value of the dark halftone color of the image. Examples of Duotone images can be found [here](https://duotone.shapefactory.co/). Beginning 3.3.x, set to "" to keep the original color of the wallpaper.                                                              |
| blurRadius            | **integer** Blur the specified wallpaper image using this blur radius.                                                                                                                                                                                                                                                                            |
| blurPasses            | **integer** Use in conjunction with the **blurRadius** configuration setting, will apply a blur filter to the wallpaper this many times. If set to 0 the wallpaper will not apply any blur filters.                                                                                                                                               |
| folderBackgroundColor | **string** A hex code for the background color of an open folder object. This value should comply with the **darkTheme** setting. For instance, choosing a light background color while enabling **darkTheme** would make text difficult to read.                                                                                                 |
| folderTextColor       | **string** A hex code for the text color of an open folder object. This value should comply with the **darkTheme** setting. For instance, choosing a light background color while enabling **darkTheme** would make text difficult to read. Default is "#000000". Introduced in Launcher 3.24.11                                                  |
| badgeColor            | **string** A hex code for the background color of the notification badges displayed on application icons. Available starting in Launcher 3.17.x.                                                                                                                                                                                                  |
| searchIcon            | <p><strong>string</strong> The file location of an image to be displayed for the Launcher search bar. The value can point to a file location of an image downloaded on the device or the asset defined for a file's URL.<br> <br>In Launcher 4, this was re-introduced in version 4.4.17.</p>                                                     |
| darkStatusIcons       | **boolean** This value sets the contrast theme for the device status bar icons. Setting to `true` will tell the system to use dark-colored status bar icons, to contrast a lighter status bar background. Setting to `false` will use light-colored icons for contrast on darker backgrounds. Default is `false`. Introduced in Launcher 3.24.11. |
| fadingPageIndicators  | **boolean** Determines the persistence of the page indicator icon (a set of four dots near the bottom of a Launcher layout). If `false`, the icon will remain visible permanently; if `true`, the icon will fade after a few seconds. Default is `true`. Introduced in Launcher 4.3.98.                                                           |

Use the settings below to apply a separate theme to the **Lock** screen, starting in 3.0.x. If the following settings are omitted, the lock screen will use the same wallpaper as the main screen:

| Field                | Description                                                                                                                                                                                                                                                                           |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| wallpaperImage\_lock | **string** name, local path or URL to use as the wallpaper for the **Main** screens. The following valid values can be used which are built-in with the Launcher: **bubble**, **topology**, **messe** or **swirl**.                                                                   |
| duoToneWhite\_lock   | **string** Colorize/tint the wallpaper using Duotone, this value is the hex value of the light halftone color of the image. Examples of Duotone images can be found [here](https://duotone.shapefactory.co/). Beginning 3.3.x, set to "" to keep the original color of the wallpaper. |
| duoToneBlack\_lock   | **string** Colorize/tint the wallpaper using Duotone, this value is the hex value of the dark halftone color of the image. Examples of Duotone images can be found [here](https://duotone.shapefactory.co/). Beginning 3.3.x, set to "" to keep the original color of the wallpaper.  |
| blurRadius\_lock     | **integer** Blur the specified wallpaper image using this blur radius.                                                                                                                                                                                                                |
| blurPasses\_lock     | **integer** Use in conjunction with the **blurRadius\_lock** configuration setting, will apply a blur filter to the wallpaper this many times. If set to 0 the wallpaper will not apply any blur filters.                                                                             |

Example:

```
"theme" : {
        "enable" : "true",
        "logo" : "/sdcard/Download/ems/bsb_bikes_logo.png",
        "darkTheme" : true,
        "logoHeight" : 100,
        "searchIcon" : "/sdcard/Download/ems/magnifying_glass.png",
        "wallpaperImage" : "messe",
        "duoToneWhite" : "#006497",
        "duoToneBlack" : "#002442",
        "blurRadius" : 5,
        "blurPasses" : 0,
        "folderBackgroundColor" : "#AAAAAA",
        "wallpaperImage_lock" : "topology",
        "duoToneWhite_lock" : "#006497",
        "duoToneBlack_lock" : "#002442",
        "blurRadius_lock" : 5,
        "blurPasses_lock" : 0

    }
```

### Custom Fields

Allows display of values in the Launcher home screen retrieved from an external file.

| Field  | Description                                                                                                                                                                                                                                                                                      |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| format | **string** The format of the string to display on the UI. **name** placeholders should be enclosed in braces and must match the corresponding **name** field.                                                                                                                                    |
| source | **object array** An array of objects that define the source file, regular expression and field name to be parsed. If multiple pieces of information is being parsed from a file, create multiple instances of this object using the same file name but different regex patterns and field names. |

Each **source** object is defined as follows:

| Field    | Description                                                                                                                                                                                   |
| -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| pathfile | **string** The full path and filename of the file to be parsed.                                                                                                                               |
| regex    | **string** A Java regular expression string that will extract the information from the file. The regular expression should result in the information being returned on the first match group. |
| name     | **string** The value retrieved by the regular expression will be placed in this field name. This is the field name that will be present in the **format** placeholder.                        |
| data     | **string** Specifies the data to retrieve. For example, to get the device’s serial number, reference the config extended attribute ${config,ex.deviceId}.                                     |

Example:

```json
    ...
    "customField" : {
        "format" : "{Extension} - {Department}",
        "source" : [
            {
                "pathfile": "/sdcard/Download/extension_dept.txt",
                "regex": "Ext=(.*)",
                "name": "Extension"
            },
            {
                "pathfile": "/sdcard/Download/extension_dept.txt",
                "regex": "Dept=(.*)",
                "name": "Department"
            },
            {
                "data": "${config.ex.deviceId}",
                "regex": "(.{4})$",
                "name": "TruncatedSerial"
            }
        ]
    },
    ...
```

### Pattern Object

Represents configuration for associating search text with applications. If the search text matches the configured regex pattern, the application specified will be displayed, and could also specify the intent and extras that will be passed to the app when the search result is tapped.

On Zebra devices, the patterns are also used when Launcher detects a device hardware scan event.

| Field         | Description                                                                                                                                 |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| pattern       | **string** A regular expression to match the entered search text or scanned text.                                                           |
| displayPrefix | **string** What to display in the search results for this pattern match.                                                                    |
| package       | **string** The package to invoke if user presses the search result.                                                                         |
| extraKey      | **string** The name of the extraKey to use if search result is pressed.                                                                     |
| intent        | **string** Placeholder for future use.                                                                                                      |
| unrestricted  | **boolean** If set, then pattern search will compare against any application installed on the device. Default false. Introduced in 3.19.16. |

Example:

```
"patterns" : [
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.acc.itemlookup", "intent" : "Intent", "extraKey" : "SEARCH_TEXT" },
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.demoscanreceiver", "intent" : "Intent", "extraKey" : "SCAN_TEXT" },
    {"pattern": ".*", "displayPrefix" : "Open", "package" : "com.bluefletch.retail.iteminquiry", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{10}$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{10}$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.demoscanreceiver", "intent" : "Intent", "extraKey" : "SCAN_TEXT" },
    {"pattern": "^(\\d{4})?$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^(\\d{4})?$", "displayPrefix" : "Call", "package" : "com.symbol.wfc.voice", "intent" : "Intent", "extraKey" : "KEY" }
  ]
```

This example shows a pattern that will start the BlueFletch Browser when Launcher receives a scan event, and that scan contains a URL with 'https\://' and 'bluefletch.com'.

```

"patterns" : [
    ...
    {
        "pattern": "https?:\/\/.*.bluefletch.com",
        "displayPrefix": "Open",
        "package": "com.bluefletch.ems.browser",
        "intent": "Intent",
        "extraKey": "url",
        "unrestricted": true
    }
    ...
  ]
```

### Secure Notifications

Settings for Custom Notifications support.

| Key           | Description                                                                                                                                                                                                                                                                                                     |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| enabled       | **boolean** Enable/disable the secure notifications feature. Default is `false` (disabled).                                                                                                                                                                                                                     |
| enableHeadsUp | **boolean** Enable/disable the heads-up popup feature. Default is `false` (disabled).                                                                                                                                                                                                                           |
| headsUpTime   | **integer** Time in milliseconds to display a high priority heads-up popup on the screen. Default is `3000` (3 seconds).                                                                                                                                                                                        |
| blacklist     | **array** An array of packages to blacklist. Notifications from packages in this list will be suppressed. Default is no blacklisted notifications.                                                                                                                                                              |
| whitelist     | **array** An array of packages to whitelist. If used, only packages that appear in this list will be allowed to display notifications. If the list is empty then no notifications will be shown. If this field is ommitted then all notifications will be presented unless they are specified in the blacklist. |
| bubbleColor   | **string** Hex code for color of the notification bubble. Default is `#FFFFFF` (white). A reboot is required for a change to this value to apply to a device.                                                                                                                                                   |
| bubbleOffset  | **integer** Horizontal position of bubble, in percentage points of screen width. Valid values are 0-100, with `0` being far left and `100` being far right. Default is `50`. A reboot is required for a change to this value to apply to a device.                                                              |

Example:

```
    "secureNotifications" : {
        "enabled": true,
        "enableHeadsUp": true,
        "headsUpTime": 2000,
        "whitelist": ["com.example.phone", "com.example.music"],
        "blacklist": ["com.example.browser"],
        "bubbleColor": "#8AFF8A",
        "bubbleOffset": 75
    }
```

### External Site Info Finder

Settings when using a custom Site Location finder service. If both parameters are set, the Launcher will use this service to obtain the siteId instead of the built-in lookup system. See Automated Site Information Service for additional information.

| Field       | Description                                                                                                               |
| ----------- | ------------------------------------------------------------------------------------------------------------------------- |
| packageName | **string** The package name of the application that contains the custom service.                                          |
| resourceId  | **string** The fully qualified name of the Android service to be called e.g. 'com.bluefletch.services.CustomSiteService'. |

Example:

```
  "externalSiteInfoFinder": {
    "packageName": "com.bluefletch.customservice",
    "serviceName": "com.bluefletch.customservice.CustomSiteFinder"
  }
```

### External Manual Site Select

Settings when using a custom manual site select or overriding the current site information. This is used when the built-in manual site selection that depends on `sitelist.csv` won't be used.

| Field        | Description                                                                                                                 |
| ------------ | --------------------------------------------------------------------------------------------------------------------------- |
| packageName  | **string** The package name of the application that contains the custom service.                                            |
| activityName | **string** The fully qualified name of the Android Activity to be called e.g. 'com.bluefletch.ems.auth.SiteSelectActivity'. |

Example:

```
  "externalSiteInfoFinder": {
    "packageName": "com.bluefletch.ems.auth",
    "activityName": "com.bluefletch.ems.auth.SiteSelectActivity"
  }
```

### Orientation Override

Settings that change the BlueFletch Launcher orientation based on the device model. By default the Launcher will be set to portrait if the display is less than 7 inches (measured diagonally) and will default to landscape if the screen is 7 inches or greater. This setting can be used to force the Launcher to use portrait on a tablet or vice versa.

The configuration is represented as a set of key/value pairs, with the model of the device being the key, and the value being the desired orientation.

| Field       | Description                                                           |
| ----------- | --------------------------------------------------------------------- |
| ***key***   | **string** The device model.                                          |
| ***value*** | **string** The desired orientation, either 'portrait' or 'landscape'. |

Example:

Shows how to set device model ET51 and TC700H to portrait mode.

```
  "orientationOverride": {
        "TC700H": "portrait",
        "ET51": "portrait"
  }
```

### Assets Manager

Settings that specify assets that the BlueFletch Launcher should download and use for UI display processing. To reference the asset, use the format of 'assets:name'.

| Field       | Description                                  |
| ----------- | -------------------------------------------- |
| ***key***   | **string** Asset name.                       |
| ***value*** | **string** URL to use to download the asset. |

Example:

Shows that two images are being downloaded, and can be referenced as 'imageName' and 'anotherImage'.

```
  "assets": {
        "imageName": "https://somewhere.com/image.png",
        "anotherImage": "https://somewhere.com/image2.png"
  }
```

Usage within layouts:

```
    {
        "package": "com.google.android.music",
        "icon": "assets:anotherImage"
    },
```

### Full Example

```
{
  "configVersion" : "example configuration",
  "group_inclusion" : {
    "MANAGER_ROLE" : ["Managers", "Associates", "*"],
    "Associates" : ["Associates", "*"],
    "*" : ["*"]
  },
  "layouts" : {
    "CPP" : [
      {  "package" : "com.symbol.wfc.pttpro" },
      {  "package": "com.bluefletch.ems.support" }
    ],
    "MPP" : [
      {  "package" : "com.symbol.wfc.pttpro" },
      {  "package": "com.bluefletch.ems.support" }
    ],
    "Managers":[
      {
        "label" : "Vision Settings",
        "package": "com.bluefletch.ems.vision",
        "activity": "PreferenceActivity"
      },
      {
        "label" : "Vision Training",
        "package": "com.bluefletch.ems.vision",
        "activity": "FaceTrainActivity"
      },
      {
        "package": "com.bluefletch.go"
      }
    ],
    "ADMIN":[
      {
        "package": "com.bluefletch.ems.support",
        "nfcEnable": true
      },
      {
        "package": "com.android.settings",
        "nfcEnable": true
      }
    ],
    "Associates":[
      {  "package" : "com.symbol.wfc.pttpro" },
      {
        "label" : "Vision Settings",
        "package": "com.bluefletch.ems.vision",
        "activity": "PreferenceActivity"
      },
      {
        "label" : "Vision Training",
        "package": "com.bluefletch.ems.vision",
        "activity": "FaceTrainActivity"
      },
      {
        "package": "com.bluefletch.ems.support",
        "label": "Support"
      },
      {
        "package": "com.android.calculator2"
      }
    ],
    "*": [
      {
        "package": "com.staylinked.AndroidClient"
      },
      {
        "package": "com.android.chrome"
      },
      {
        "package" : "com.google.android.gm"
      },
      {
        "package" : "com.google.android.calendar"
      },
      {
        "package" : "com.bluefletch.ems.testpermissions"
      },
      {
        "label" : "Yahoo News",
        "url" : "https://news.yahoo.com",
        "icon" : "/sdcard/DCIM/icons/news.png",
        "showUrl" : false,
        "showTitle" : false,
        "allowCookiePreview" : false,
        "fixOrientation" : false
      },
      {
        "package": "com.bluefletch.ems.support"
      },
      {
        "label" : "Tools Folder",
        "contents":[
          {
            "package":"com.bluefletch.ems.messaging"
          },
          {
            "package":"com.bluefletch.acc.themerapp"
          },
          {
            "package": "com.bluefletch.ems.tester"
          },
          {
            "package" : "com.bluefletch.ems.support",
            "label": "Strapper",
            "icon" : "/sdcard/DCIM/icons/soccer.jpeg"
          },
          {
            "package" : "com.symbol.datawedge",
            "label": "Wedge"
          },
          {
            "package" : "com.symbol.tool.stagenow"
          },
          {
              "label" : "WebSites",
              "contents":[
                {
                  "label" : "Google",
                  "url" : "https://google.com",
                  "icon" : "/sdcard/DCIM/icons/google.png",
                  "showUrl" : false,
                  "showTitle" : false,
                  "allowCookiePreview" : false,
                  "fixOrientation" : false
                },
                {
                  "label" : "Google",
                  "url" : "https://google.com",
                  "icon" : "/sdcard/DCIM/icons/google.png",
                  "showUrl" : false,
                  "showTitle" : false,
                  "allowCookiePreview" : false,
                  "fixOrientation" : false
                },{
                  "label" : "Yahoo News",
                  "url" : "https://news.yahoo.com",
                  "icon" : "/sdcard/DCIM/icons/news.png",
                  "showUrl" : false,
                  "showTitle" : false,
                  "allowCookiePreview" : false,
                  "fixOrientation" : false
                }
              ]
          }
        ]
      },
      {
        "label" : "Google",
        "url" : "https://google.com",
        "icon" : "/sdcard/DCIM/icons/google.png",
        "showUrl" : false,
        "showTitle" : false,
        "allowCookiePreview" : false,
        "fixOrientation" : false
      },
      {
        "label" : "One item",
        "contents":[
          {
            "label" : "Google",
            "url" : "https://google.com",
            "icon" : "/sdcard/DCIM/icons/google.png",
            "showUrl" : false,
            "showTitle" : false,
            "allowCookiePreview" : false,
            "fixOrientation" : false
          },
          {
            "package": "com.android.chrome"
          }
        ]
      },
      {
        "label" : "Two items",
        "contents":[
          {
            "label" : "Google",
            "url" : "https://google.com",
            "icon" : "/sdcard/DCIM/icons/google.png",
            "showUrl" : false,
            "showTitle" : false,
            "allowCookiePreview" : false,
            "fixOrientation" : false
          },
          {
            "package" : "com.bluefletch.ems.support"
          }
        ]
      },
      {
        "label" : "Quick Start Applications Folder",
        "quickStartFolder": true,
        "contents":[
          {
            "label" : "Google",
            "url" : "https://google.com",
            "icon" : "/sdcard/DCIM/icons/google.png",
            "showUrl" : false,
            "showTitle" : false,
            "allowCookiePreview" : false,
            "fixOrientation" : false
          },
          {
            "package" : "com.bluefletch.ems.support"
          },
          {
            "package" : "com.bluefletch.ems.deviceinformation"
          }
        ]
      }
    ]
  },
  "groups": {
    "Managers":[
      "com.bluefletch.(.*)",
      "com.bluefletch.go",
      "com.android.settings"
    ],
    "Associates":[
      "com.android.dialer",
      "com.android.contacts",
      "com.android.calendar",
      "com.android.email",
      "com.android.browser",
      "com.bluefletch.ems(.*)",
      "com.android.gallery3d",
      "com.bluefletch.demoscanreceiver"
    ],
    "*":[
      "(.*)",
      "com.bluefletch.ems.support",
      "com.bluefletch.acc.themerapp",
      "com.android.calculator2",
      "com.cisco.anyconnect.vpn.android.avf",
      "BlueFletch",
      "Auth",
      "All Symbol",
      "Heads Up"
    ]
  },
  "layoutSettings:" {
    "quickStartIconSize": "small",
    "heightAdjust": -5
  },
  "fullyHidden":[
    "com.bluefletch.ems.auth"
  ],
  "settings":{
    "activateSearchBar":true,
    "idleTimeInMinutes": 5,
    "maxSessionTimeInMinutes": 120,
    "maxSessionExpiryWarningTimeInMinutes": 3,
    "requireAuthOnScreenOn" : true,
    "useFaceRecognition" : true,
    "adminPassword" : "",
    "enableNotifications" : true,
    "enableNotificationsAlwaysOn" : true,
    "brokerUrl" : "tcp://ems-notifications-staging.bluefletch.com:1883",
    "enableHeadsUpNotifications" : true,
    "headsUpTimeoutInSeconds" : 4,
    "receiveOfflineMessages" : true,
    "useEnhancedMessaging" : true,
    "muteNotificationOnCall" : true,
    "autoSubscribeWithSession" : true,
    "useAppEnabler" : false,
    "nfcLoginSupport" : true,
    "nfcDataTypes" : "data/com.bluefletch.ems.auth",
    "device_lost_hours" : 12,
    "vision_threshold" : 0.45,
    "vision_attempts" : 20,
    "turnOffNFC" : true,
    "turnOnAtLogin" : true,
    "lockInMotion" : true,
    "lockInMotionConfidence" : 50,
    "disableRecents" : false,
    "unsecuredDeviceTimeoutInSecs": 30,
    "unsecuredDeviceEffects": true,
    "includeUserApps": true,
    "authorizedAppStores": "com.android.vending"
  },
  "luggageTag": {
    "enable": true,
    "thresholdInMinutes": 30,
    "logo": "https://www.image.com/url/to/logo.png",
    "line1": "123 Blue Fletch Street",
    "line2": "Atlanta, GA 45678",
    "email": "help@bluefletch.com",
    "phoneNumber": "(855) 529-6349",
    "unlockPassword": "936A185CAAA266BB9CBE981E9E05CB78CD732B0B3280EB944412BB6F8F8F07AF",
    "alarmLoopInMinutes": 10
  },
  "approvedNetworks": [
    "office-wifi-1",
    "office-wifi-2",
  ],
  "keyboard": {
    "hapticFeedback" : "hapticClick",
    "bigButtonText" : false,
    "alphanumeric" : true,
    "keyPreview" : false,
    "allowToggle": true,
    "toggleLoggedIn": false
  },
  "browser" : {
    "showUrl" : false,
    "showTitle" : false,
    "allowCookiePreview" : false,
    "fixOrientation" : false
  },
  "defaultSession" : {
    "userId" : "",
    "userName" : "",
    "groups" : "*",
    "location" : "992"
  },
  "notifications" : [
    {
      "brokerId" : "deviceManager",
      "url": "tcp://ems-notifications-prd.bluefletch.com:1883",
      "name" : "Device ",
      "enableOrganizationGroup" : true,
      "useEnhancedMessaging" : true,
      "muteNotificationsOnCall" : true,
      "notificationAcquireWakelocks" : true,
      "receiveOfflineMessages" : true,
      "enableNotificationsAlwaysOn" : true,
      "enableHeadsUpNotifications" : true,
      "disableVolumeAdjustment" : true
    },{
      "brokerId" : "StoreTest",
      "url": "tcp://ems-notifications-prd.bluefletch.com:1883",
      "name" : "Store",
      "enableOrganizationGroup" : true,
      "useEnhancedMessaging" : true,
      "muteNotificationsOnCall" : true,
      "notificationAcquireWakelocks" : true,
      "receiveOfflineMessages" : true,
      "enableNotificationsAlwaysOn" : false,
      "enableHeadsUpNotifications" : true
    }
  ],
  "customField" : {
    "format" : "{Extension} - {Department}",
    "source" : [
        {
            "pathfile": "/sdcard/Download/extension_dept.txt",
            "regex": "Ext=(.*)",
            "name": "Extension"
        },
        {
            "pathfile": "/sdcard/Download/extension_dept.txt",
            "regex": "Dept=(.*)",
            "name": "Department"
        }
    ]
  },
  "patterns" : [
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.acc.itemlookup", "intent" : "Intent", "extraKey" : "SEARCH_TEXT" },
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.demoscanreceiver", "intent" : "Intent", "extraKey" : "SCAN_TEXT" },
    {"pattern": ".*", "displayPrefix" : "Open", "package" : "com.bluefletch.retail.iteminquiry", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{10}$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{10}$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.demoscanreceiver", "intent" : "Intent", "extraKey" : "SCAN_TEXT" },
    {"pattern": "^(\\d{4})?$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" }
  ],
  "extendedAttributes" : {
    "gateway_auth_url" : ""
  },
 "theme" : {
    "enable" : "true",
    "logo" : "/sdcard/Download/ems/bsb_bikes_logo.png",
    "darkTheme" : true,
    "logoHeight": 90,
    "searchIcon": "/sdcard/Download/ems/magnifying_glass.png",
    "wallpaperImage" : "messe",
    "duoToneWhite" : "#006497",
    "duoToneBlack" : "#002442",
    "blurRadius" : 5,
    "blurPasses" : 0,
    "folderBackgroundColor" : "#AAAAAA",
    "wallpaperImage_lock" : "topology",
    "duoToneWhite_lock" : "#006497",
    "duoToneBlack_lock" : "#002442",
    "blurRadius_lock" : 5,
    "blurPasses_lock" : 0
  },
  "altThemes": {
    "siteOne": {
        "darkTheme": true,
        "enable": true,
        "logo": "/sdcard/Download/ems/maingroupicon.png",
        "accentColor": "#3049CB",
        "wallpaperImage": "/sdcard/Download/ems/main.png"
      },
    "siteTwo": {
        "darkTheme": true,
        "enable": true,
        "logo": "/sdcard/Download/ems/siteTwo.png",
        "accentColor": "#343A20",
        "wallpaperImage": "/sdcard/Download/ems/siteTwo.png"
      }
  },
  "secureNotifications" : {
    "enabled": true,
    "enableHeadsUp": true,
    "headsUpTime": 2000,
    "whitelist": ["com.example.phone", "com.example.music"],
    "blacklist": ["com.example.browser"]
  },
  "emsSupportTool" : {
    "orgId": "asdf-asdf-asdf"
  },
  "protectedList": [
  ],
  "disablePackages": [
  ],
  "intents" : {
    "login" : [],
    "logout":[],
    "boot" : [],
    "uncradle": [],
    "cradle": [],
    "screenOn": []
  },
  "license" : "dkas;lsad;ladjl;asd;io3489043lkasdlk;dxvoipc oic kqw4k439-xvknzcxvoip4r934ket9",
  "orientationOverride": {
    "TC700H": "portrait",
    "ET51": "portrait"
  },
  "keyManagement": {
    "enabled": true,
    "refreshIntervalInSeconds": 1740
  }

}
```


# Load Configurations via QR Code Scan

This Launcher feature enables QR code scanning to apply a Launcher configuration directly to a device.

### Overview

To streamline testing, troubleshooting, and onboarding, the BlueFletch Portal generates a QR code that represents the Launcher configuration. This QR code is a compressed version of the Launcher configuration. When the QR code is scanned, the Launcher decompresses the code and verifies that it is a valid configuration. Once verified, the configuration is applied to the device.

### User Guide

1. Create a valid Launcher Configuration within the BlueFletch Portal.
2. Display the QR Code within the Portal.
3. From the Launcher home screen, scan the QR Code.
4. If there is not a configuration on the device, the configuration will be applied.
5. If there is a configuration on the device, the user will be prompted to overwrite the configuration.

### Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up the Load Configurations via QR Code Scan feature for a particular device profile or device group, follow the steps on Creating a Configuration within the Portal documentation.

{% hint style="info" %}
Load Configurations via QR Code Scan feature was introduced in Launcher 2.11.x.
{% endhint %}


# Configuration Structure (new)

## Overview

BlueFletch Launcher 4 updates its configuration structure to improve flexibility, usability, and consistency. Configurations for all BF apps are now centralized within **`appConfig`**, while **`applicationObjects`** introduce reusable variables to boost efficiency. These updates simplify configuration management, reducing complexity and improving the organization of applications and layout items.

The **`appConfig`** block standardizes how app-specific options are structured and managed, allowing users to add new configuration options without requiring frequent Launcher updates. The **`applicationObjects`** block, on the other hand, enables users to configure layout items as reusable variables, eliminating the need to duplicate them across multiple layouts.

## Application Configurations (appConfig)

The **`appConfig`** section consolidates all configurations for individual applications, including:

* `emsSupportTool`
* `bfChat`
* `keyboard`
* `browser`
* `epmConfig`
* `remoteControl`
* `deviceFinder`&#x20;
* `bfCustomTabs`
* `bfAuth`

This allows new configuration options to be added to applications and accessed immediately, without requiring a Launcher upgrade. Additionally, configurations are now standardized with a consistent naming convention.

To configure your BlueFletch applications in Launcher 4, follow these steps to migrate existing configurations into the new **`appConfig`** section:

1. Create an **`appConfig`** JSON object in your launcher.json file.
2. Identify and copy all existing BlueFletch application configurations into the **`appConfig`** section.
3. Rename each object according to the new naming convention.

The table below shows how legacy configuration names are mapped to new names within the **`appConfig`** section.

| Legacy Configuration Names              | Launcher 4 Configuration Names                                                 |
| --------------------------------------- | ------------------------------------------------------------------------------ |
| <p>"emsSupportTool": {<br>...<br>},</p> | <p>"appConfig": {<br>"bfSupportAgent" : {<br>...<br>},<br>},</p>               |
| <p>"bfChat": {<br>...<br>},</p>         | <p>"appConfig": {<br>"bfChat" : {<br>...<br>},<br>},</p>                       |
| <p>"keyboard": {<br>...<br>},</p>       | <p>"appConfig": {<br>"bfKeyboard" : {<br>...<br>},<br>},</p>                   |
| <p>"browser": {<br>...<br>},</p>        | <p>"appConfig": {<br>"bfBrowser" : {<br>...<br>},<br>},</p>                    |
| <p>"epmConfig": {<br>...<br>},</p>      | <p>"appConfig": {<br>"bfEpmConfig" : {<br>...<br>},<br>}<code>,</code></p>     |
| <p>"remoteControl": {<br>...<br>},</p>  | <p>"appConfig": {<br>"bfRemoteControl" : {<br>...<br>},<br>}<code>,</code></p> |
| <p>"deviceFinder": {<br>...<br>}</p>    | <p>"appConfig": {<br>"bfDeviceFinder" : {<br>...<br>},<br><code>},</code></p>  |

#### The legacy configuration for application configurations looked like this:

```json
"emsSupportTool": {
    ...
},
"bfChat": {
    ...
},
"keyboard": {
    ...
},
"browser": {
    ...
},
"epmConfig": {
    ...
},
"remoteControl": {
    ...
},
"deviceFinder": {
    ...
}

```

In Launcher 4, the new **`appConfig`** section is defined as follows:

```json
"appConfig": {
    "bfSupportAgent" : {
      "eventUrl" : "https://ems-pb-api.bluefletch.com/eventsAPI/apiv1/",
      "logUrl" : "https://ems-pb-api.bluefletch.com/",
      "orgId": "YOUR_ORG_ID",
      "findMeAlarmVolume": 100,
      "findMeLowBatteryAlarmVolume": 100,
      "reportSystemApps": false
    },
    "bfChat" : {
      "apiKey": "",
      "dataHost": "",
      "chatHost": "",
      "fileHost": "",
      "autoPlayAudio": true,
      "allowAttachments": true,
      "enableOfflinePresence": true
    },
    "bfKeyboard": {
      "hapticFeedback" : "hapticClick",
      "bigButtonText" : false,
      "alphanumeric" : false,
      "keyPreview" : false
    },
    "bfBrowser": {
      "showUrl" : false,
      "showTitle" : false,
      "allowCookiePreview" : false,
      "fixOrientation" : false,
      "allowUrlEdit" : false,
      "defaultHomepage" : ""
    },
    "bfAuth": {
      "userPrefs": {
        "hostUrl": "",
        "apiKey": "",
        "keys": {
          "groups": "",
          "<arbitrary pref key>": ""
        }
      }
    },
    "bfEpmConfig": {
      "orgId": "",
      "fastLoginType": "",
      "baseUrl": "",
      "useBackgroundFaceTraining": false
    },
    "bfRemoteControl": {
      ...
    },
    "bfDeviceFinder": {
      ...
    },
    "bfCustomTabs": {
      ...
    }
  }
```

### App Configurations New to Launcher 4

BlueFletch has also introduced new app configuration objects in releases of Launcher 4 that did not have corollaries in Launcher 3.

#### **bfCustomTabs**

Configures settings for Chrome Custom Tab (CCT) instances

| Key                 | Data Type | Description                                                                                                                                                                               |
| ------------------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| browserPackage      | String    | Full package name of the target CCT browser (e.g. `com.android.chrome`, `com.microsoft.emmx`). If the listed package is not installed, Launcher falls back to the system default browser. |
| shareState          | String    | Controls the presence of the CCT "Share" button. Valid options are "on", "off", and "default".                                                                                            |
| bookmarksEnabled    | Boolean   | To show the "Bookmarks" button, set to `true`; to hide the button, set to `false`.                                                                                                        |
| downloadsEnabled    | Boolean   | To show the "Downloads" button, set to `true`; to hide the button, set to `false`.                                                                                                        |
| urlBarHidingEnabled | Boolean   | To hide the URL bar, set to `true`; to leave the URL bar available set to `false`.                                                                                                        |
| showTitle           | Boolean   | If `true`, replaces the URL bar with a page title. If `false`, the URL bar remains.                                                                                                       |
| useBackArrowClose   | Boolean   | If `true`, replaces the default "Close" \[X] button with a Back arrow icon. If `false`, the default "Close" button remains.                                                               |

**Example:**

<pre class="language-json"><code class="lang-json"><strong>"appConfig": {
</strong>    "bfCustomTabs": {
      "browserPackage": "com.microsoft.emmx",
      "shareState": "off",
      "bookmarksEnabled": false,
      "downloadsEnabled": false,
      "urlBarHidingEnabled": true,
      "showTitle": true,
      "useBackArrowClose": true
    }
}
</code></pre>

## Application Objects (**applicationObjects)**

The **`applicationObjects`** section enables users to define reusable app or layout configurations as key-value pairs in the launcher.json file. Once defined, these variables can be referenced across multiple layout groups, eliminating the need to copy and paste configuration blocks.

To create key-value pairs in the launcher.json file and reference them in layout groups, follow these steps:

1. Use the **`applicationObjects`** section to create a key (e.g., chatApp) and store reusable app or layout configurations.
2. Use the **`appObjectKey`** field in layout groups (e.g., AssociateApps or ManagerApps) to reference the key. Please see sample configuration [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/configurable-layouts/layouts).
3. Override the label field in layout groups to provide unique labels for each reference.

#### Using Chat App as an example: Specify its package name, label, description, etc.

```json
"applicationObjects": {
"chatApp": {
   "package": "com.bluefletch.staging.chat",
   "label": "Chat Label Will Be Overridden In Figure Below",
   "dateModified": "2024-10-03 10:10:10 UTC",
   "description": "describe the app here, reference info only for portal"
   }
}
```

#### Using Camera App as an example: Specify a label, URL, browser package, and browser-specific overrides.

```json
"applicationObjects": {
"cameraApp": {
   	"label": "Camera Test",
   	"url": "https://usefulangle.com/demos/352/camera-capture-photo.html",
   	"browser": "com.bluefletch.ems.staging.browser",
   	"browserOverrides": {
     	"showTitle": true,
     	"showUrl": true,
     	"fixOrientation": true,
     	"allowCameraAccess": true
   }
}
```

### Configuring Layout Groups with Variables

Once application variables are specified, they can be referenced in layout groups using the **`appObjectKey`** field. This approach allows you to reuse the same configuration across multiple groups without duplicating the entire block.

Below is an example of using the **`chatApp`** application variable in the AssociateApps and ManagerApps layout groups:

```json
"AssociateApps": [
  {
    "appObjectKey": "chatApp",
    "label": "Associate Chat"
  }
],
"ManagerApps": [
  {
    "appObjectKey": "chatApp",
    "label": "Manager Chat"
  }
]
```

{% hint style="info" %}
Application Configuration was introduced in Launcher 4.\
Application Objects was introduced in Launcher 4.
{% endhint %}


# Technical Guide (hidden)

## Technical Guide

### Base

<table data-full-width="false"><thead><tr><th width="479">Field</th><th>Description</th></tr></thead><tbody><tr><td>configVersion</td><td><strong>string</strong> A free-form user-defined string that can be used to indicate the version of this configuration file being published. Added as a convenience field to help customers track which configuration file version is on the device.</td></tr><tr><td>license</td><td><strong>string</strong> (mandatory) A customer-specific license key to provide access to the Launcher. There will only be one key assigned per customer and should be applied to all the customer's devices. To obtain a license key, request one from the BlueFletch sales representative.</td></tr><tr><td>group_inclusion</td><td>Listing of LDAP or security groups expected; each security group will contain an array of applicable application groups.In the example above, users that log in as "Manager" will get applications listed under GroupA, GroupB and "*"."*" is the default security group, and will be applicable when no one is logged into the device. Note that this only works in conjunction with 'groups' below 3.2.x. Beginning 3.2.x, group_inclusion can also be applied to "layouts".</td></tr><tr><td>groups</td><td>Contains the "whitelist" of package names for each application group. This is a simplified listing of packages. For more control, use "layouts".</td></tr><tr><td>layouts</td><td><strong>object</strong> Defines which applications to display based on Login state.</td></tr><tr><td>layoutSettings</td><td><strong>object</strong> (optional) Defines advanced global settings for the layout.</td></tr><tr><td>settings</td><td><strong>object</strong> Key Value pairs of settings that control processing. See Settings for details.</td></tr><tr><td>luggageTag</td><td><strong>object</strong> Key Value pairs of Luggage Tag settings. Customizes how Launcher locks the device when it's not on a network listed in the approvedNetworks array.</td></tr><tr><td>approvedNetworks</td><td><strong>array</strong> A list of networks that's been approved for a device to use. Apply a luggageTag object to enforce.</td></tr><tr><td>defaultSession</td><td>An object representing the default session that will be stored in the Launcher session content provider if no user is logged in.</td></tr><tr><td>patterns</td><td><strong>array</strong> A set of pattern objects representing a configuration for associating search text with applications. If the search text matches the configured regex pattern, the application specified will be displayed, and could also specify the intent and extras that will be passed to the app when the search result is tapped.</td></tr><tr><td>extendedAttributes</td><td><strong>object</strong> Can be used to specify key-value pairs that customers can use to provide additional custom settings.</td></tr><tr><td>protectedList</td><td><strong>array</strong> List of package names that are not deleted when calling <code>disablePackages</code>. Built-in protected packages include the BlueFletch applications Launcher, Messaging, Support Tool, Platform Services, and Remote Control. Additional packages can be added to the array.</td></tr><tr><td>disablePackages</td><td><strong>array</strong> This is a list of packages that launcher is to disable. Launcher will disable these at device boot, or if the packages get installed. This is available starting in 2.8.x.<em><strong>WARNING:</strong></em> <em>Disabling system applications may affect device behavior. Always test changes before deploying to production.</em></td></tr><tr><td>theme</td><td><strong>object</strong> Contains information on an Organization's device theme. See Theme for details.</td></tr><tr><td>altThemes</td><td><strong>object</strong> Theme configuration values associated with site objects in the siteTheme column of a sitelist.csv file.</td></tr><tr><td>emsSupportTool</td><td><strong>object</strong> Key Value pairs that control support application processing. See Support Application Configurations for more information.</td></tr><tr><td>notifications</td><td><strong>array</strong> Collection of MQTT Broker Object connection settings. See Messaging Configurations for more information.</td></tr><tr><td>auth_ldap</td><td><strong>object</strong> Key Value pairs of settings that control LDAP Authorization.</td></tr><tr><td>auth_ldap_connections</td><td><strong>array</strong> An ordered list of LDAP domain/connection point objects, giving multiple authentication options in case one service is unavailable. The authentication module will attempt each one until it successfully logs a user in with the provided credentials.</td></tr><tr><td>auth_adal</td><td><strong>object</strong> Key Value pairs of settings that control ADAL Authorization.</td></tr><tr><td>auth_okta</td><td><strong>object</strong> Key Value pairs of settings that control OKTA Authorization (Supported OKTA APK 2.x). Prior to 2.x, see Settings for Okta Auth Settings.</td></tr><tr><td>auth_oktaRest</td><td><strong>object</strong> Key Value pairs of settings that control Okta REST Authorization.</td></tr><tr><td>auth_msal</td><td><strong>object</strong> Key Value pairs of settings that control MSAL Authorization for Azure Active Directory.</td></tr><tr><td>auth_oauth2</td><td><strong>object</strong> Key Value pairs of settings that control AppAuth/OAuth2 Authorization.</td></tr><tr><td>knownLaunchers</td><td><strong>array</strong> List of additional launcher package names to check when setting BlueFletch Launcher as default. Packages built-into the list include Google and Honeywell launchers; additional packages can be added to the array.</td></tr><tr><td>keyboard</td><td><strong>object</strong> Key Value pairs of settings that control keyboard.</td></tr><tr><td>browser</td><td><strong>object</strong> BlueFletch Browser defaults to these settings unless overridden by browserOverrides object.</td></tr><tr><td>remoteControl</td><td><strong>object</strong> Key-value pairs for configuring the Remote Control application. The separate configuration was introduced in Launcher version 3.20.12.</td></tr><tr><td>intents</td><td><strong>object</strong> Custom intents to fire at certain processing points, such as Login, Logout, Screen On, Boot, Cradle and Un-Cradle.</td></tr><tr><td>customField</td><td><strong>object</strong> Configuration to define the format and source for custom UI fields.</td></tr><tr><td>secureNotifications</td><td><strong>object</strong> Configurations for Secure Notification Support.</td></tr><tr><td>externalSiteInfoFinder</td><td><strong>object</strong> Configuration for using an external Site Location finder service.</td></tr><tr><td>externalManualSiteSelect</td><td><strong>object</strong> Configuration for using an external Manual Site Selection. Introduced in Launcher version 3.19.19.</td></tr><tr><td>orientationOverride</td><td><strong>object</strong> Configuration for changing the BlueFletch Launcher orientation based on device model. Note that this is for the Launcher only, and does not affect orientation for the entire device or other applications.</td></tr><tr><td>assets</td><td><strong>object</strong> Configuration for specifying UI or file assets to use in UI rendering.</td></tr><tr><td>epmConfig</td><td><strong>object</strong> Enterprise Password Manager settings. For future implementation.</td></tr><tr><td>bfChat</td><td><strong>object</strong> Key-value pairs for configuring the BlueFletch Chat application. For the required values, consult the <em><strong>BlueFletch Chat Technical Guide</strong></em>.</td></tr><tr><td>authorizedClients</td><td><strong>array</strong> Starting in 3.15.x, a string array of packages that will be allowed to read from the LauncherProvider. To prevent all apps from reading the LauncherProvider session, set this <code>[]</code>, omit or set to <code>null</code> to disable application checking. Default is <code>null</code>. Introduced in Launcher version 3.15.4.</td></tr><tr><td>deviceFinder</td><td><strong>object</strong> Key-value pairs for configuring the Device Finder application. For more details, see the <em><strong>Device Finder Technical Guide</strong></em>. Introduced in Launcher version 3.16.15.</td></tr><tr><td>uniqueLogin</td><td><strong>object</strong> Key-value pairs for configuring the Unique Login feature for the BlueFletch Launcher. See Unique Login for more details. Introduced in Launcher version 3.18.10.</td></tr><tr><td>keyManagement</td><td><strong>object</strong> Key-value pairs to enable a device to accept API security via device tokens. Introduced in Launcher version 3.18.10.</td></tr><tr><td>impliedGroups</td><td><strong>object</strong> Provides the capability to add layouts by comparing regular expressions to users' session attributes. Introduced in Launcher version 3.19.15.</td></tr><tr><td>epmPluginConfig</td><td><strong>object</strong> Key-value pairs for configuring the Enterprise Password Manager (EPM) Plugin. Launcher can works with EPM to auto-fill credentials or click buttons on native apps defined in the configuration. Introduced in Launcher version 3.22.25.</td></tr><tr><td>secureDevice</td><td><strong>object</strong> Key-value pairs for configuring Secure Device Mode. The separate configuration was introduced in Launcher version 3.22.31.</td></tr><tr><td>header</td><td><strong>array</strong> Array of objects for configuring the Open Zone and/or session headliner widget. Introduced in Launcher version 3.22.25.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/technical-documentation/deploying-bluefletch-enterprise/deploying-to-samsungs/launcher-configuration-for-samsungs">knoxSettings</a></td><td><strong>object</strong> Key-value pairs for configuring Knox-enrolled Samsung devices. Ignored for other devices.</td></tr></tbody></table>

### Settings

| Field                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| activateSearchBar                    | <p><strong>boolean</strong> If set to <code>true</code> will display the search bar on the Launcher home screen. Tapping on search bar will trigger the search activity. <em>This setting was deprecated in Launcher v3.13.9, but re-enabled in v3.14.15</em>. If using Quick Start, set this value to false, and search activity can still be displayed as an Application Object:\*<br>{“package”: “com.bluefletch.launcher”, “activity”: “com.bluefletch.baselauncher.search.SearchActivity”, “label”: “Search”}</p>                                   |
| enableNotifications                  | **boolean** Determines whether the notifications service will be started. Default is true.                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| idleTimeInMinutes                    | **integer** Number value in minutes of idle time after which the Launcher will automatically logout the user. Countdown for idle time starts when the screen turns off, and timer resets when the screen is woken up. If the device is not woken up before the timer expires, the screen will wake up logged out.                                                                                                                                                                                                                                        |
| maxSessionTimeInMinutes              | **integer** Number value in minutes of total session time after which the Launcher will automatically logout the user. Countdown for max session time starts on user login.                                                                                                                                                                                                                                                                                                                                                                              |
| maxSessionExpiryWarningTimeInMinutes | <p><strong>integer</strong> If defined, this value is the number of minutes before logout from <code>maxSessionTimeout</code> when the user should be notified; upon triggering, a warning message will display and an audible alarm will sound to indicate the impending forced logout. If not defined, the default is that this feature is not applied. <br><br>Introduced in Launcher 4.4.17.</p>                                                                                                                                                     |
| requireAuthOnScreenOn                | **boolean** If true, launch the configured Login page for reauthentication when the device screen is turned on. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                                        |
| requireAuthLockDelay                 | **integer** Time in seconds before the Launcher requires re-authentication after the device goes to sleep (only applies if requireAuthOnScreenOn is set to true).                                                                                                                                                                                                                                                                                                                                                                                        |
| useSecondaryAuth                     | **string** Indicates type of secondary auth during re-authorization. Values are `"none"`, `"pin"`, `"face"`, `"nfc"`, and `"barcode"` (NFC available in EMS Auth 3.2.2). Default is none.                                                                                                                                                                                                                                                                                                                                                                |
| alternateSecondaryAuth               | **string** Sets an alternative secondary authentication method available during reauthentication training. Accepted values are `"pin"`, `"face"`, `"nfc"`, and `"barcode"`. Only applied if `useSecondaryAuth` is set and is a different value than `alternateSecondaryAuth`.If configured, during the secondary authentication training immediately following login there will be an option to use the alternate method for reauthentication.                                                                                                           |
| secondaryAuthRequired                | **boolean** If set to true, will logout the user if they cancel creation of pin. Default is false. Available starting Launcher 3.3.x. **Starting 3.6.x, user will have the option to logout during verification as well.**                                                                                                                                                                                                                                                                                                                               |
| secondaryAuthPinLength               | **integer** Set the minimun number of digits required for pin. Minimum value is 4, default is 6 if not specified. Available in Auth 3.1.x.                                                                                                                                                                                                                                                                                                                                                                                                               |
| pinMaxLength                         | **integer** Number of required digits for the PIN, default is 6 if not specified, minimum of 4, maximum of 10. This setting supercedes `secondaryAuthPinLength`, available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                                                                    |
| pinEnforceConsecutiveRule            | **boolean** If true will not allow more than 3 consecutive similar digits. Default is set to true. (e.g. 1111 will not be allowed, but 1112 is allowed). Available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                                                                            |
| pinEnforceSequentialRule             | **boolean** If true will not allow more than 3 sequential digits up or down (e.g. 1234 is not allowed but 1235 is allowed). Default is set to true. Available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                                                                                 |
| pinEnforceBlackList                  | **string** Comma-delimited list of PIN codes that cannot be used by the user (e.g. if 1112 is specified, even if it passes the consecutive rule, it will be disallowed by blacklist). Available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                                               |
| pinMaxRetryCount                     | **integer** During verification, max number of incorrect attempts allowed, after which the currently logged in user is forcibly logged out. Available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                                                                                         |
| pinAutoSubmit                        | **boolean** If set to false, will require the user to tap on the Enter key after entering their PIN. If set to true, the PIN will be submitted after last entry (based on `pinMaxLength`). Default is true. Available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                         |
| secondaryAuthQuickStartPackage       | <p><strong>string</strong> Allow one package to be opened from the PIN unlock screen. After a PIN has been setup during a login session, when a user opens the device they will see this app's icon in the lower right corner and can choose to access the package's main activity without unlocking the device.<br>e.g. If the value is <code>"com.android.dialer"</code>, the user will see the Android phone icon and can launch the activity <code>com.android.dialer.app.DialtactsActivity</code>.</p>                                              |
| secondaryAuthQuickStartIcon          | <p><strong>string</strong> Overrides the default application icon used used to launch <code>secondaryAuthQuickStartPackage</code> with an image defined by file location on the device.<br>e.g. <code>"/sdcard/DCIM/icons/bluefletch\_logo.png"</code>.</p>                                                                                                                                                                                                                                                                                              |
| useFaceRecognition                   | *Deprecated, start using useSecondaryAuth*. **boolean** If true use the face recognition functionality to re-authorize the user during re-authentication. Default is false.                                                                                                                                                                                                                                                                                                                                                                              |
| adminUserId                          | **string** The ID used for local device administration. Defaults to the built-in local admin ID.                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| adminPassword                        | **string** Field that contains the hash of the local admin password. Defaults to the built-in local admin password.                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| externalAuthIntentActions            | **string** Allows Launcher to listen for authorization login/logout requests from other applications. Format as `"['action', 'action2']"`.                                                                                                                                                                                                                                                                                                                                                                                                               |
| useAppEnabler                        | **boolean** By default (if set to false) the launcher will only hide application icons corresponding to the whitelist. Typically this should be sufficient as users will not be able to launch applications if the launcher is present. If set to true, the launcher will perform an additional step to disable the application at an OS level (installed but not usable) if not part of current session whitelist.                                                                                                                                      |
| enableOptiko                         | **boolean** Set to true if Support agent is present. This will report login, store information, etc. to the Support agent. *Deprecated in 3.x, value is always true.*                                                                                                                                                                                                                                                                                                                                                                                    |
| authBrokerService                    | **boolean** Set to true if Auth Service Broker is needed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| nfcDataTypes                         | **string** The data type/tag that contains the user credentials.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| device\_lost\_hours                  | **integer** Used within Device Information. Represents number of hours to have not heard from a device to indicate as lost.                                                                                                                                                                                                                                                                                                                                                                                                                              |
| vision\_threshold                    | **double** When using vision re-auth, what is the percentage threshold to indicate a match. ie. 0.45.                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| vision\_attempts                     | **integer** When using vision re-auth, number of attempts to match a face to the vision database.                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| authVisionDatabaseUrl                | <p><strong>string</strong> URL that points to a zipped file called "database", containing but not limited to the following files: "data", "facenet.pb", "label", "model", "mtcnn.pb". Access to the database.zip can refine the facial recognition software's competence at matching faces through machine learning.<br>Ask a BlueFletch account manager if you require the URL.</p>                                                                                                                                                                     |
| useSiteInfoService                   | **boolean** Indicates to use the sites csv file to determine the location of the device. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| sitelistUrl                          | **string** URL that points to a CSV file to download. The file should be named `sitelist.csv` and contain site IDs, site names, and other values associated with a device's possible store/office locations. This setting is available in Launcher 3.12.7+.                                                                                                                                                                                                                                                                                              |
| siteListPollingIntervalMinutes       | **integer** If using the siteListUrl for site list management, this value will be used to indicate the polling interval to check for updates. Introduced in Launcher version 3.24.11.                                                                                                                                                                                                                                                                                                                                                                    |
| refreshSiteOnStartup                 | **boolean** If set to true, will attempt to always determine current site after a reboot. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| refreshSiteRequiresNetwork           | **boolean** In case the device does not have an IP address, setting this to true will make the Launcher wait until the device receives an IP address, after which it will re-attempt site location. Default is false.                                                                                                                                                                                                                                                                                                                                    |
| refreshSiteOnNetworkChange           | **boolean** Forces a refresh of site ID when a network change occurs. Default is false. Introduced in Launcher version 3.21.25.                                                                                                                                                                                                                                                                                                                                                                                                                          |
| defaultSiteId                        | **string** If Site Info Service is used, and the service is unable to determine the current site, this value will be used as the default site. This value must be a valid site ID that exists within the sitelist csv file. Introduced in Launcher version 3.24.x.                                                                                                                                                                                                                                                                                       |
| defaultLocation                      | **string** If the Site Info Service location name is not set, then this value is used as a placeholder text for the location on the device. If useSiteInfoService is true, this value is ignored.                                                                                                                                                                                                                                                                                                                                                        |
| distanceInMeters                     | **integer** When using the Site Information Service, the radius distance in meters for GPS Location matching.                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| screenTimeout                        | **integer** Number of seconds for device screen timeout (15, 30, 60, 120, 300, 600). Support on Zebra devices starting in launcher 3.3.x.                                                                                                                                                                                                                                                                                                                                                                                                                |
| onCradleIgnoreLogout                 | **boolean** If set to true the Launcher will not logout the user when the device is cradled or starts charging. Default is false. This setting is available starting Launcher 3.9.6+.                                                                                                                                                                                                                                                                                                                                                                    |
| cradleLogoutDelayInSeconds           | **integer** If set to greater than 0, the Launcher will not immediately logout the user. Instead when the device is cradled or docked, the Launcher will prompt the user to either continue with the session or logout immediately. If the user does not respond within the # of seconds specified, the user will be logged out automatically, the default is 0 (no prompt). This setting is ignored if `onCradleIgnoreLogout` is set to true.This feature requires that the draw-over permission, `android.permission.SYSTEM_ALERT_WINDOW`, be granted. |
| disallowSiteChange                   | **boolean** If set to true, the user will not be able to manually launch the change location activity or retry the automatic location service. Default is false, in which case both are allowed.                                                                                                                                                                                                                                                                                                                                                         |
| disallowManualSiteChange             | **boolean** If set to true, the user will not be able to manually launch the change location activity but can retry the automatic location service. Default is false, in which case both are allowed.                                                                                                                                                                                                                                                                                                                                                    |
| disallowLoggedInSiteChange           | **boolean** If set to true, the user will not be able to manually launch the change location activity if they are logged in. Default is true.                                                                                                                                                                                                                                                                                                                                                                                                            |
| nfcTurnOff                           | **boolean** Indicates NFC should be turned off at BOOT and during Logout. False indicates do nothing with NFC. Valid values are "true" and "false", defaults to "false".                                                                                                                                                                                                                                                                                                                                                                                 |
| nfcTurnOnAtLogin                     | **boolean** Indicates NFC should be turned On after user login. False indicates do nothing with NFC. Valid values are "true" and "false", defaults to "false".                                                                                                                                                                                                                                                                                                                                                                                           |
| lockInMotion                         | **boolean** Indicates that the device should be locked while the user is driving. `false` indicates that the device should not be locked while the user is driving. Valid values are `true` and `false`, defaults to `false`.                                                                                                                                                                                                                                                                                                                            |
| lockInMotionConfidence               | **integer** Indicates the needed level of confidence that the user is driving in order to lock the device. For instance, if this is set to `50`, the device will be locked when we are at least 50 percent confident that the user is driving. This value can range from 0 to 100, and the default value is 80. Note that this setting will only be utilized if `lockInMotion` is set to `true`.                                                                                                                                                         |
| lockInMotionInterval                 | **integer** Indicates the interval (in milliseconds) to query motion information from the system. Default is 5000 ms (5 seconds). Introduced in Launcher version 3.11.4.                                                                                                                                                                                                                                                                                                                                                                                 |
| lockInMotionUseGps                   | <p>Indicates that the device will be using GPS to determine if the user is driving. <code>false</code> indicates that the device will not use GPS for lock in motion detection. Note that this setting will only be utilized if <code>lockInMotion</code> is set to <code>true</code>.<br><strong>Only set to <code>true</code> if the device is GPS-enabled. If set to <code>true</code> on a non-GPS device, motion lock will not engage.</strong></p>                                                                                                 |
| lockInMotionSpeedInMph               | Indicates the movement speed threshold in miles per hour required to lock the device. For example, if it is set to `2`, the device will be locked if the detected speed is greater than or equal to 2 miles per hour. Default is 5 miles per hour. Note that this setting will only be utilized if `lockInMotionUseGps` is set to `true`.                                                                                                                                                                                                                |
| lockInMotionGpsUpdateInterval        | Indicates the GPS minimimum time interval in milliseconds to update. For instance, if it is set to `10000`, the GPS update time interval will run every 10 seconds. Default is 5000 milliseconds. Note that this setting will only be utilized if `lockInMotionUseGps` is set to `true`.                                                                                                                                                                                                                                                                 |
| lockInMotionGpsMinDistanceThreshold  | Indicates that the detected speed is greater than the distance between GPS updates in meters. For instance, if it is set to `5`, the GPS updates will run every 5 meters. Default is 0, which means that GPS updates will constantly update. Note that this setting will only be utilized if `lockInMotionUseGps` is set to `true`.                                                                                                                                                                                                                      |
| clearAppDataOnLogout                 | **boolean** If set to true will clear the application data for all applications opened within the user session on logout. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                              |
| clearAppDataIncludeList              | **string** Comma-delimited string of packages that will be cleared of application data on logout, regardless of whether they were opened or not. Use for applications that are not directly opened by the user from the Launcher home screen.                                                                                                                                                                                                                                                                                                            |
| clearAppDataExcludeList              | **string** Comma-delimited string of packages that are exempt from clearing of application data even on logout (but recent tasks will be removed, unless specified in the `clearRecentExcludeList`).                                                                                                                                                                                                                                                                                                                                                     |
| clearRecentIncludeList               | **string** Comma-delimited string of packages that must be killed when the user logs out or when the device is cradled (Honeywell only). This is typically used for scenarios where one app starts another app, and Launcher is unaware it needs to kill the 2nd app. If `clearAppDataOnLogout` is set to true, the package must also be specified in the `clearAppDataExcludeList`.                                                                                                                                                                     |
| clearRecentExcludeList               | **string** Comma-delimited string of packages that are exempt from being killed when the user logs out or when the device is cradled (Honeywell only). If `clearAppDataOnLogout` is set to true, the package must also be specified in the `clearAppDataExcludeList`.                                                                                                                                                                                                                                                                                    |
| clearRecentTasksDelay                | **int** Delay in milliseconds before clearing recent tasks. Default is 2000.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| stopVisibleTasks                     | <p><strong>boolean</strong> If set to <code>true</code>, clears all applications in the Recents queue on logout without clearing app data, unless separately configured. Default is <code>true</code>. Introduced in Launcher v3.18.x.<br>This setting is for devices running a signed BlueFletch Platform Service APK, version 1.3.x or above. BlueFletch clears all recent applications on logout by default on Zebra devices.</p>                                                                                                                     |
| authProfileManager                   | **boolean** If set to true, will enable integration with Zebra's Profile Manager. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| disableRecents                       | **boolean** If set to true, the recents button will be disabled. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| portraitDiagonalInches               | <p><strong>integer</strong> Indicates the transition point between Launcher defaulting to portrait and Launcher defaulting to landscape (tablet) mode. The transition is determined by the diagonal screen measurement in inches for a device. Default is 7.<br>e.g. If a device display's diagonal size is greater than or equal to 7 inches, Launcher will start in landscape by default.Overriden by <code>orientationOverride</code>.</p>                                                                                                            |
| unsecuredDeviceTimeoutInSecs         | **integer** Indicates the number of seconds the device is given to be logged in or cradled before an indefinitely looping alarm sounds until the device is logged into or cradled. See secured device for details.                                                                                                                                                                                                                                                                                                                                       |
| unsecuredDeviceEffects               | **boolean** Indicates whether a warning countdown alarm should sound when 12 seconds or less are remaining on the unsecured device timeout. Default is false.                                                                                                                                                                                                                                                                                                                                                                                            |
| secureDeviceSnoozeDuration           | **integer** Indicates the number of seconds for which a looping alarm can be silenced without logging into or cradling a secured device. Only applied if `unsecuredDeviceTimeoutInSecs` is also set.                                                                                                                                                                                                                                                                                                                                                     |
| secureDeviceMaxSnoozeCount           | **integer** Indicates the number of times that a looping alarm can be silenced without logging into or cradling a secured device. Default is 1. Only applied if `unsecuredDeviceTimeoutInSecs` is also set. Introduced in 3.20.12.                                                                                                                                                                                                                                                                                                                       |
| unsecuredDeviceEffectsSound          | **string** This allows using a different sound for the unsecured device countdown effect. The setting can reference a file on the sdcard or a file referenced in the Assets Manager configuration. Introduced in 3.18.13.                                                                                                                                                                                                                                                                                                                                |
| unsecuredDeviceAlarmSound            | **string** This allows using a different sound for the unsecured device alarm. The setting can reference a file on the sdcard or a file referenced in the Assets Manager configuration. Introduced in 3.18.13.                                                                                                                                                                                                                                                                                                                                           |
| unsecuredDeviceSoundVolume           | **integer** This allows for changing the sound volume used with the unsecured device effect and alarm sounds. Is a value from 0 to 100 and represents percentage of max volume. Default is 100. Introduced in 3.18.13.                                                                                                                                                                                                                                                                                                                                   |
| logLevel                             | **string** Determines the level of log to be logged in Support Agent. Valid values are "debug", "info", or "error" . If set, only the level of logs set and below will be logged. Defaults to "info".                                                                                                                                                                                                                                                                                                                                                    |
| suppressUserId                       | **boolean** If set to true, will tell launcher to suppress reporting User Id and User Name to Support application events. Also will not write User Id or Name to application logs. Default to false. Introduced in 3.9.22 of launcher.                                                                                                                                                                                                                                                                                                                   |
| knoxLicenseKey                       | **string** Specify the Knox Customization License Key for using Samsung Device running Knox 3.x or newer.                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| knoxProKioskMode                     | **boolean** Set to `true` to use Launcher in ProKiosk mode, which also disables the Recents button. If not specified in the configuration file, the default value will be `false`. This option is available in Launcher 3.18.11 and higher.                                                                                                                                                                                                                                                                                                              |
| thirdPartyAuthKey                    | **string** A SHA-256 hashed key. Launcher will listen for login and logout messages from a third-party/customer-supported authentication application. This security key will need to be sent from the third-party authentication application to support this capability.                                                                                                                                                                                                                                                                                 |
| useLowBatteryMode                    | **boolean** If `true`, the device will enter Low Battery Mode, a locked state where the user cannot interact with the device, once the battery level falls to the percentage defined in `lowBatteryModeStartLevel`; the device will exit Low Battery Mode once the battery is charged to the level defined in `lowBatteryModeEndLevel`. Default is `false`.                                                                                                                                                                                              |
| lowBatteryModeStartLevel             | **integer** The threshold, in percentage of battery life, for locking the device in Low Battery Mode mode if `useLowBatteryMode` is `true`. Default is 10.                                                                                                                                                                                                                                                                                                                                                                                               |
| lowBatteryModeEndLevel               | **integer** The threshold, in percentage of battery life, for exiting Low Battery Mode mode if `useLowBatteryMode` is `true`. Default is `lowBatteryModeStartLevel` + 5 (e.g. if `lowBatteryModeStartLevel` is not defined, `lowBatteryModeEndLevel` defaults to 15).                                                                                                                                                                                                                                                                                    |
| hideNotificationsOpenZone            | <p><strong>boolean</strong> If set to <code>true</code>, Launcher will hide all notifications when the user is not logged in. Default value is <code>false</code>.<br>Prior to Launcher version 3.26.24, this parameter disabled SMS apps when a user was not logged in. Starting in version 3.26.24, if <code>true</code>, all notifications will be hidden but SMS apps will remain enabled.</p>                                                                                                                                                       |
| includeUserApps                      | **boolean** If `true`, all apps installed by the user will be added to a device's layouts. Introduced in Launcher version 3.17.29.                                                                                                                                                                                                                                                                                                                                                                                                                       |
| authorizedAppStores                  | **string** Comma-delimited list of one or more package name(s) of trusted application stores. If defined, only apps downloaded from these stores will be displayed in a device's layouts when `includeUserApps` is `true`. Apps belonging to an authorized store can be manually deleted by long-pressing on their icon in a layout. Introduced in Launcher version 3.17.29.                                                                                                                                                                             |
| userAppInstallCutoffTime             | **long** System/epoch date/time to millisecond level (13 digits). If set in conjunction with `includeUserApps` and `authorizedAppStores`, Launcher will only display store-downloaded apps in the layout if the apps were installed after that date. Introduced in Launcher version 3.17.29.                                                                                                                                                                                                                                                             |
| includeUserAppsWhenAuthorized        | **boolean** If `true`, Launcher will only display user-installed apps in the layout while logged into an authenticated session. Only applies if `includeUserApps` is also `true`. Default is `false`. Introduced in Launcher version 3.19.4.                                                                                                                                                                                                                                                                                                             |
| verifyIdpOnReauth                    | **boolean** If `true`, the authentication configuration will need to set `redirect_url_verify` to `"com.bluefletch.ems.auth://verified"`; the authentication module will refresh cookies on the browser if reauthentication is successful. Default is `false`. Introduced in Launcher version 3.17.29.                                                                                                                                                                                                                                                   |
| secondaryAuthWhenScreenOff           | **boolean** If `true`, the reauthentication screen will be displayed while turning the screen off, not while turning the screen on. This will retain the most recent application to the foreground upon waking the device, not bring Launcher to foreground. If `false`, the most recent application will be minimized after reauthentication on screen wake. Default is `true`. Introduced in Launcher version 3.19.4.                                                                                                                                  |
| disableStatusBar                     | **boolean** If `true`, the pull-down notification tray will be hidden at all times. Default is `false`. Introduced in Launcher version 3.24.20.                                                                                                                                                                                                                                                                                                                                                                                                          |
| recentsActivityEnabled               | **boolean** If `true`, will display an icon next to the search bar which when tapped will show recently launched applications. This feature requires the search bar to be enabled. Introduced in Launcher version 3.25.1.                                                                                                                                                                                                                                                                                                                                |
| allowNotificationsOnReauth           | **boolean** If `true`, will allow device notifications to be display during device reauth display. Introduced in Launcher version 3.26.30.                                                                                                                                                                                                                                                                                                                                                                                                               |
|                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |

The proceeding settings will be deprecated starting Launcher 3.x. If using Launcher 3.x, refer to Auth Provider Configurations.

| Field                                                                 | Description                                                                                                                                                                              |
| --------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| *The following only applies if using LDAP based identity provider:*   |                                                                                                                                                                                          |
| ldap\_hostname                                                        | Hostname of the LDAP server (LDAP Auth only).                                                                                                                                            |
| ldap\_port                                                            | Port of the LDAP server (LDAP Auth only).                                                                                                                                                |
| ldap\_domain                                                          | The domain of the user when logging in, i.e. @domain.                                                                                                                                    |
| ldap\_rootDN                                                          | The Root DN of where the users can be searched after authentication.                                                                                                                     |
| ldap\_useHttps                                                        | Set to true to use LDAPS when authenticating.                                                                                                                                            |
| *The following will be used to configure the internal Oauth2 Broker:* |                                                                                                                                                                                          |
| oauth2\_claim\_userId                                                 | The field to use for the userId claim (used by internal broker).                                                                                                                         |
| oauth2\_claim\_username                                               | The field to use for the PTT Pro user name field.                                                                                                                                        |
| *The following are for OKTA or OpenID connect identity providers:*    |                                                                                                                                                                                          |
| okta\_issuer\_uri                                                     | The configured Issuer URI for the identity provider.                                                                                                                                     |
| okta\_client\_id                                                      | The configured client ID for this application.                                                                                                                                           |
| okta\_redirect\_uri                                                   | The configured redirect callback URI for this application.                                                                                                                               |
| okta\_scopes                                                          | The scopes where this authentication applies.                                                                                                                                            |
| okta\_force\_logout                                                   | This allows for overriding the default logout End Session URL. This is required for OneLogin.                                                                                            |
| *The following are for ADAL connect identity providers:*              |                                                                                                                                                                                          |
| adal\_authority                                                       | Configured resource ID for this application.                                                                                                                                             |
| adal\_resourceId                                                      | Configured resource ID for this application.                                                                                                                                             |
| adal\_clientId                                                        | Configured Client ID for this application.                                                                                                                                               |
| adal\_redirectUri                                                     | Configured callback URL for this application.                                                                                                                                            |
| adal\_claim\_userId                                                   | Passthrough field containing the userID (e.g. unique\_name).                                                                                                                             |
| adal\_claim\_username                                                 | LDAP passthrough field containing the user's display name.                                                                                                                               |
| adal\_claim\_groups                                                   | LDAP passthrough field containing the groups (e.g. equivalent to MemberOf).                                                                                                              |
| adal\_claim\_baseUrl                                                  | The base url for the ADFS environment.                                                                                                                                                   |
| adal\_claim\_defaultDomain                                            | Optional, to pre-populate the username field with the domain prefix.                                                                                                                     |
| *The following are used within OKTA connect identity providers:*      |                                                                                                                                                                                          |
| auth\_location\_field                                                 | An optional setting that tells authorization which field in the auth provider response contains Location information. Used in conjunction with auth\_location\_regex.                    |
| auth\_location\_regex                                                 | A regular expression to extract the location value from the location field. Used in conjunction with auth\_location\_field.                                                              |
| auth\_group\_field                                                    | An optional setting that tells authorization which field in the auth provider response contains Group information. Used in conjunction with auth\_group\_regex.                          |
| auth\_group\_regex                                                    | A regular expression to match against the group information.                                                                                                                             |
| auth\_group\_regex\_true                                              | If the regular expression auth\_group\_regex returns true (found a value), will use this group value.                                                                                    |
| auth\_default\_group                                                  | A default group.                                                                                                                                                                         |
| auth\_role\_field                                                     | An optional setting that tells authorization which field in the auth provider response contains User ROLE information. Used in conjunction with auth\_role\_regex. Available AUTH 1.1.x. |
| auth\_role\_regex                                                     | A regular expression to match against the role information.                                                                                                                              |
| auth\_role\_regex\_true                                               | If the regular expression auth\_role\_regex returns true (found a value), will use this Role value.                                                                                      |
| auth\_default\_role                                                   | A default user role.                                                                                                                                                                     |

### Luggage Tag

| Field              | Description                                                                                                                                                                                                                                                                    |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| enable             | **boolean** Indicates that the device should be locked while the device is connected to an unapproved network. False indicates that the device is free to connect to any network and will not activate Luggage Tag Mode.                                                       |
| thresholdInMinutes | **integer** Indicates the number of elapsed minutes while the device is on an unapproved network needed before locking the device.                                                                                                                                             |
| logo               | **string** The URL for an image to be displayed on the Luggage Tag view. If not set, Launcher will skip this and display other information if available.                                                                                                                       |
| line1              | **string** Indicates the first line of an address for people to contact on the Luggage Tag view when attempting to help return a device to where it should be.                                                                                                                 |
| line2              | **string** Indicates the second line of an address for people to contact on the Luggage Tag view when attempting to help return a device to where it should be.                                                                                                                |
| email              | **string** Indicates a preferred email address for people to contact on the Luggage Tag view when attempting to help return a device to where it should be.                                                                                                                    |
| phoneNumber        | **string** Indicates a preferred phone number for people to contact on the Luggage Tag view when attempting to help return a device to where it should be.                                                                                                                     |
| unlockPassword     | **string** The password required to unlock the device out of Luggage Tag Mode. If not available, Launcher will default to validating against the admin password. Password must be a SHA-256 hashed string.                                                                     |
| alarmLoopInMinutes | **integer** Indicates the number of elapsed minutes needed while Luggage Tag Mode is activated to play the alarm and continues to replay every time the same minutes has elapsed again until Luggage Tag Mode is deactivated. Set this value to zero (0) to disable the alarm. |

### Layout Settings

Layout settings defines advanced global settings for displaying the icons on the Launcher workspace.

| Field                   | Description                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| columns                 | **integer** The number of icon columns for devices in the fixed portrait mode. If not specified, the default value is 3 (minimum of 3).                                                                                                                                                                                                                                                                                     |
| tabletColumns           | **integer** The number of icon columns for devices in landscape mode. If not specified, the default value is 6 (minimum of 3).                                                                                                                                                                                                                                                                                              |
| iconSize                | **string** Set to "normal" to use the standard icon size for the device. Set to "large" to display larger icons (1.5x). Set to "fit" to make the icon width fit the available space, based on the column size. The default value is "normal".                                                                                                                                                                               |
| showLabel               | **boolean** Set to false to hide the label on all the icons. The default value is true.                                                                                                                                                                                                                                                                                                                                     |
| boldTypeLabel           | **boolean** If set to true, the labels will be rendered using boldface type. The default value is false.                                                                                                                                                                                                                                                                                                                    |
| labelFontSize           | **number** If set will change the font size of the icon labels. Default is 14.                                                                                                                                                                                                                                                                                                                                              |
| quickStartIconSize      | **string** Determines the size of icons pinned to the bottom of the launcher when there is a folder object with `"quickStartFolder": true`. The only valid string is "small", which sets the icons at a smaller size. If empty, undefined, or invalid, the icons default to the standard size (same as `"iconSize": "normal"` ).                                                                                            |
| pageWidthOffsetOverride | **integer** This allows for adjusting the displayed page width. The default value is 14.                                                                                                                                                                                                                                                                                                                                    |
| heightAdjust            | <p><strong>integer</strong> This allows for adjusting the spacing between rows of icons, typically used when the last row was barely bumped to the next page. This value is a relative number with a default value of 0. A positive number (e.g. 30) will add spacing between icons; A negative number (e.g. -30) will reduce the spacing between rows.<br><br>In Launcher 4, this was re-introduced in version 4.4.17.</p> |

Example:

```
    "layoutSettings" : {
       "columns" : 3,
       "tabletColumns" : 6,
       "iconSize" : "normal",
       "showLabel" : true,
       "boldTypeLabel" : false,
       "labelFontSize" : 14,
       "quickStartIconSize": "",
       "heightAdjust": -5
    },
```

### Layouts

Layouts represent which applications the launcher will display, based on who is logged in.

| Field     | Description                                                                                                                                                                                                                                                                                             |
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **GROUP** | **object** An application object that represents applications for which the logged user has access. Example: manager, associate. Each GROUP has a collection of Application, Folder, and/or Shortcuts. See Application Object, Shortcut Object, Folder Object, or Action Object for additional details. |

Example:

```
    "layouts" : {
        "Manager":[ -Logged in Managers will have access to these Applications.- ],
        "Associates":[ -Logged in Associates will have access to these Applications.- ],
        "*": [ -OPEN ZONE definition of applications- ]
    },

```

### Group Inclusions

Group Inclusions allow you to set application groups for identity provider groups.

| Field            | Description                                                                                                                                                                                                                                                              |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| group\_inclusion | **objects** Contains the list of relevant identity provider groups, along with an array of application groups that will be applied when a user belongs to that identity group. Each application group can be defined in the layouts section and will be merged together. |

Example:

In the example below, when a user with a *Managers* group logs in, he will see all three application group sets, while the user with a *WarehouseAssociate* group will only see the Back office and Open zone apps.

```
{
  "configVersion" : "example configuration",
  "group_inclusion" : {
    "Managers" : ["BackOfficeApps", "FloorApps", "OpenZone"],
    "WarehouseAssociate" : ["BackOfficeApps", "OpenZone"],
    "FloorAssociates" : ["FloorApps", "OpenZone"],
    "Cashiers" : ["FloorApps", "OpenZone"],
    "*" : ["*"]
  },
  "layouts" : {
    "BackOfficeApps" : [
      {  "package" : "com.bluefletch.receiving" },
      {  "package": "com.bluefletch.delivery" },
      {  "package" : "com.bluefletch.itemlookup" }
    ],
    "FloorApps" : [
      {  "package" : "com.bluefletch.itemlookup" },
      {  "package" : "com.bluefletch.bopis" },
      {  "package": "com.bluefletch.mpos" }
    ],
    "OpenZone" : [
      {  "package" : "com.android.calculator" }
    ]
  }
  ...

```

### Application Object

Available fields used to describe applications displayed on the Launcher home screen.

| Field              | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| package            | **string** The package name of the application to start.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| label              | <p><strong>string</strong> The name of the application to display (optional).<br>No hard limit on character count but text wraps or truncates based on a 13-character-per-line display layout:</p><ul><li>13 characters or less: Displays on a single line.</li><li>Over 13 characters (multi-word, with spaces): Wraps across two lines on word boundaries.</li><li>Over 13 characters (single word, no spaces): Truncates to 13 characters followed by an ellipsis.</li><li>Under 26 characters: Recommended maximum with a space to wrap into two lines.</li></ul> |
| activity           | **string** The Activity to start (optional).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| kiosk              | **boolean** If set to true, will put launcher into Kiosk mode for this application (optional).                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| icon               | **string** Represents a icon to overvide the default application image. Can be a local file or an asset download via **assets** setting. Example: **assets:image** or /sdcard/DCIM/icons/logo.png (optional).                                                                                                                                                                                                                                                                                                                                                         |
| nfcEnable          | **boolean** If this Application is started by End User, and the value is "true", then enable NFC (if not on). False indicates do nothing with NFC. Valid values are "true" and "false", defaults to "false".                                                                                                                                                                                                                                                                                                                                                          |
| includeUserInfo    | **boolean** If set to true, will pass the following user information as extras when calling the intent: EXTRA\_USERID, EXTRA\_USERNAME, EXTRA\_GROUP and EXTRA\_ACCESS\_TOKEN.                                                                                                                                                                                                                                                                                                                                                                                        |
| intentExtras       | **object** If populated, these key-value pairs will be added to the launching intent as extras. The value data will be sent as strings, regardless of how the data type is specified in the configuration. The values do support Custom Intents Replacement Variables. Setting added in Launcher version 3.9.15.                                                                                                                                                                                                                                                      |
| password           | **string** The SHA-256 hashed version of the password required to launch the application.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| allowInMotionLock  | **boolean** If `true`, the application or website is allowed in motion lock. Apps that are allowed are listed at the bottom of the screen once motion lock engages. A maximum of three can be allowed. Default is `false`. Introduced in Launcher version 3.20.x.                                                                                                                                                                                                                                                                                                     |
| requirePinToLaunch | **boolean** If true, the user will be required to enter their re-auth PIN code to launch the application. Introduced in Launcher version 3.24.11.                                                                                                                                                                                                                                                                                                                                                                                                                     |
| isWearableItem     | **boolean** If true, this indicates the item is meant for the wearable device. The item package information will be sent to the wearable device. Introduced in Launcher version 3.24.11.                                                                                                                                                                                                                                                                                                                                                                              |

Example:

```
    {
        "label" : "BlueFletch",
        "url" : "https://bluefletch.com",
        "icon" : "/sdcard/DCIM/icons/bluefletch_logo.png",
        "nfcEnable": true
    },
    {
        "package": "com.android.calculator2",
        "nfcEnable": true
    },
    {
        "package" : "com.bluefletch.ems.support",
        "password": "d9b5f58f0b38198293971865a14074f59eba3e82595becbe86ae51f1d9f1f65e"
    },
    {
        "label": "Test Intent Receiver",
        "package": "com.bluefletch.ems.testintentreceiver",
        "intentExtras": {
            "url": "https://somewhere.com",
            "anExtra": "an Extra field",
            "boolean": true,
            "integer": 42,
            "replaceExample": "Can replace ${session.location}"
        }   
    },
    {
      "package": "com.google.android.apps.maps",
      "allowInMotionLock": true
    }

```

### Web Shortcut Object

Available fields used to describe web shortcuts displayed on the Launcher home screen.

| Field              | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| label              | <p><strong>string</strong> The name of the application to display (optional).</p><p>No hard limit on character count but text wraps or truncates based on a 13-character-per-line display layout:</p><ul><li>13 characters or less: Displays on a single line.</li><li>Over 13 characters (multi-word, with spaces): Wraps across two lines on word boundaries.</li><li>Over 13 characters (single word, no spaces): Truncates to 13 characters followed by an ellipsis.</li><li>Under 26 characters: Recommended maximum with a space to wrap into two lines.</li></ul> |
| url                | **string** A URL to navigate to.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| icon               | **string** Represents a icon to overvide the default application image. ie. /sdcard/DCIM/icons/logo.png (optional).                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| kiosk              | **boolean** If set to true, will put launcher into Kiosk mode for this shortcut (optional).                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| nfcEnable          | **boolean** If this Application is started by End User, and the value is "true", then enable NFC (if not on). False indicates do nothing with NFC. Valid values are "true" and "false", defaults to "false".                                                                                                                                                                                                                                                                                                                                                             |
| browser            | **string** Set to the package name of the target browser to use for this shortcut. If not specified, the Launcher will open the URL in a Chrome Custom Tab.                                                                                                                                                                                                                                                                                                                                                                                                              |
| browserOverrides   | **object** If using the BF Browser, this is an object with the browser settings to be overriden for this specific shortcut. All of the settings described in the browser documentation page can be overriden in this section.                                                                                                                                                                                                                                                                                                                                            |
| showUrl            | **boolean** Determines if the url will be displayed to the user. Valid values are "true" and "false", defaults to browser settings. (optional) *Note: this setting will be deprecated, use browserOverrides instead.*                                                                                                                                                                                                                                                                                                                                                    |
| showTitle          | **boolean** Determines if the webpage title is displayed to the user. Valid values are "true" and "false", defaults to browser settings. (optional) *Note: this setting will be deprecated, use browserOverrides instead.*                                                                                                                                                                                                                                                                                                                                               |
| allowCookiePreview | **boolean** Determines if user can view the cookies for the current url. This is used for development purposes. Valid values are "true" and "false", defaults to browser settings. (optional) *Note: this setting will be deprecated, use browserOverrides instead.*                                                                                                                                                                                                                                                                                                     |
| fixOrientation     | **boolean** Determines if the view is fixed to portrait. Valid values are "true" and "false", defaults to browser settings. (optional) *Note: this setting will be deprecated, use browserOverrides instead.*                                                                                                                                                                                                                                                                                                                                                            |
| intentExtras       | **object** If populated, these key-value pairs will be added to the launching intent as extras. The value data will be sent as strings, regardless of how the data type is specified in the configuration. The values do support Custom Intents Replacement Variables. Setting added in Launcher version 3.9.15.                                                                                                                                                                                                                                                         |
| password           | **string** The SHA-256 hashed version of the password required to launch the shortcut.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| allowInMotionLock  | **boolean** If `true`, the application or web shortcut is allowed in motion lock. Web shortcuts that are allowed are listed at the bottom of the screen once motion lock engages. A maximum of three can be allowed. Default is `false`. Introduced in Launcher version 3.20.x.                                                                                                                                                                                                                                                                                          |

Example:

```
{
    "label": "BlueFletch",
    "url": "https://bluefletch.com",
    "icon": "/sdcard/DCIM/icons/bluefletch_logo.png",
    "browser": "com.bluefletch.ems.browser",
    "browserOverrides": {
        "showUrl": false,
        "showTitle": true,
        "allowCookiePreview": false,
        "fixOrientation": true
    },
    "nfcEnable": true,
    "intentExtras": {
        "anExtra": "an Extra field",
        "boolean": true,
        "integer": 42,
        "replaceExample": "Can replace ${session.location}"
    },
    "password": "d9b5f58f0b38198293971865a14074f59eba3e82595becbe86ae51f1d9f1f65e"
},
{
  "label": "Drivers Stop List",
  "url": "https://company.com/drivers/list-of-stops",
  "browser": "com.bluefletch.ems.browser",
  "icon": "/sdcard/DCIM/icons/bluefletch_logo.png",
  "allowInMotionLock": true
}
```

### Folder Object

Available fields used to describe folders on the Launcher home screen.

| Field            | Description                                                                                                                                                                                                                                 |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| label            | **string** The name of the folder to display (required).                                                                                                                                                                                    |
| quickStartFolder | **boolean** Indicates whether or not this folder is a Quick Start application list; a Quick Start folder will have its icons pinned to the bottom of the launcher Home screen. Default is `false`. Available in Launcher v3.13.9 and later. |
| contents         | **array** An array of application objects. Used in grouping applications into folders.                                                                                                                                                      |
| icon             | **string** Represents an icon image file to override the default thumbnail, which is a preview of the apps, actions, and shortcuts within the folder. Image may be referenced by file path or asset.                                        |
| password         | **string** The SHA-256 hashed version of the password required to display the folder.                                                                                                                                                       |

Example:

```
 {
        "label" : "Tools",
        "quickStartFolder": false,
        "password": "d9b5f58f0b38198293971865a14074f59eba3e82595becbe86ae51f1d9f1f65e",
        "contents":[
            {
                "package" : "com.bluefletch.ems.support"
            },
            {
                "package" : "com.symbol.datawedge"
            },
            {
                "label" : "BlueFletch",
                "url" : "https://bluefletch.com",
                "icon" : "/sdcard/DCIM/icons/bluefletch_logo.png"
            },
            {
                "label" : "Staging tools",
                "contents" : [
                    {
                        "package" : "com.symbol.tool.stagenow"
                    }
                ]
            }

        ]
    }
```

### Action Object

Available fields used to describe a System Action to display on the Launcher home screen.

| Field               | Description                                                                                                                                                                                                                                                                                                      |
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| action              | **string** The system level action string to invoke. Example: android.settings.WIFI\_SETTINGS or android.settings.BLUETOOTH\_SETTINGS.                                                                                                                                                                           |
| label               | **string** The name to display (required).                                                                                                                                                                                                                                                                       |
| icon                | **string** Represents a icon to overvide the default application image. Ie. /sdcard/DCIM/icons/logo.png or a package name: com.android.settings (optional).                                                                                                                                                      |
| wifiSettingsEnabled | **boolean** If this Application is started by End User, and the value is "true", then enable access to and editing of the Wifi Settings. False indicates do nothing with Wifi Settings UI. Valid values are "true" and "false", defaults to "false".                                                             |
| intentExtras        | **object** If populated, these key-value pairs will be added to the launching intent as extras. The value data will be sent as strings, regardless of how the data type is specified in the configuration. The values do support Custom Intents Replacement Variables. Setting added in Launcher version 3.9.15. |
| password            | **string** The SHA-256 hashed version of the password required to launch the action.                                                                                                                                                                                                                             |

> **Note:** BlueFletch supports the custom actions `com.bluefletch.ems.RUN_XML` and `com.bluefletch.ems.AUDIO`, as well as `android.settings.WIFI_SETTINGS` and `android.settings.BLUETOOTH_SETTINGS`.\
> Android Developer documentation provides a list of [Android Settings actions](https://developer.android.com/reference/android/provider/Settings#constants_1), although some actions may not currently be fully supported by BlueFletch.

{% hint style="danger" %}
**Caution:** On certain versions of **Android 11** for Zebra devices, launching `android.settings.WIFI_SETTINGS` has been observed to grant full access to the Android Settings app, including the Quick Settings tiles.

BlueFletch recommends that `android.settings.WIFI_SETTINGS` and other Android Settings API shortcuts be placed in layouts for **manager** roles *or* have a **password** set, which only managers know, if the shortcuts are in the Open Zone.

BlueFletch does **NOT** recommend placing these shortcuts in the Open Zone without protections in place due to the risk of users reaching full Android Settings.
{% endhint %}

Example:

```
{
    "label" : "Wifi Settings",
    "action": "android.settings.WIFI_SETTINGS",
    "icon": "com.android.settings",
    "wifiSettingsEnabled": true,
    "password": "ef92b778bafe771e89245b89ecbc08a44a4e166c06659911881f383d4473e94f"
}
```

### Default Session

Default session used by the Launcher when no user is logged in.

| Field    | Description                                                                       |
| -------- | --------------------------------------------------------------------------------- |
| userId   | **string** Defaulted userId value. Suggested to be blank.                         |
| userName | **string** Defaulted display within the User Name display. Suggested to be blank. |
| groups   | **string** The defaulted Groups value to use for OpenZone. Default is \*.         |
| location | **string** The Site / Location to default the device.                             |

Example:

```
 "defaultSession": {
        "userId": "",
        "userName": "",
        "groups": "*",
        "location": ""
    },
```

### Theme

Available settings for 'theming' a device UI per an Organization's needs. Starting 3.0.x, you are able to define and customize separate wallpapers for the main and lock screens.

| Field       | Description                                                                                                                                                         |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| enable      | **boolean** To enable theme support. Default true.                                                                                                                  |
| logo        | **string** A file location for a company specific logo. A URL is fine, but for better performance use a local file downloaded via MDM.                              |
| logoHeight  | <p><strong>integer</strong> The height in pixels of the logo within the banner. Default is 100.<br><br>In Launcher 4, this was re-introduced in version 4.4.17.</p> |
| background  | **string** A hex code for a company specific background color. Starting in 3.0.x, set to blank to use the device wallpaper as the background.                       |
| accentColor | **string** A hex code for a company specific accent color.                                                                                                          |

The following additional theme settings were introduced starting in version 3.0.x of the Launcher:

| Field                 | Description                                                                                                                                                                                                                                                                                                                                       |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| darkTheme             | **boolean** Set to false when using a light background/theme, as this will change all element text colors to black. If using dark wallpaper, set to true. Defaulted to true.                                                                                                                                                                      |
| wallpaperImage        | **string** name, local path or URL to use as the wallpaper for the **Main** screens. The following valid values can be used which are built-in with the Launcher: **bubble**, **topology**, **messe** or **swirl**.                                                                                                                               |
| duoToneWhite          | **string** Colorize/tint the wallpaper using Duotone, this value is the hex value of the light halftone color of the image. Examples of Duotone images can be found [here](https://duotone.shapefactory.co/). Beginning 3.3.x, set to "" to keep the original color of the wallpaper.                                                             |
| duoToneBlack          | **string** Colorize/tint the wallpaper using Duotone, this value is the hex value of the dark halftone color of the image. Examples of Duotone images can be found [here](https://duotone.shapefactory.co/). Beginning 3.3.x, set to "" to keep the original color of the wallpaper.                                                              |
| blurRadius            | **integer** Blur the specified wallpaper image using this blur radius.                                                                                                                                                                                                                                                                            |
| blurPasses            | **integer** Use in conjunction with the **blurRadius** configuration setting, will apply a blur filter to the wallpaper this many times. If set to 0 the wallpaper will not apply any blur filters.                                                                                                                                               |
| folderBackgroundColor | **string** A hex code for the background color of an open folder object. This value should comply with the **darkTheme** setting. For instance, choosing a light background color while enabling **darkTheme** would make text difficult to read.                                                                                                 |
| folderTextColor       | **string** A hex code for the text color of an open folder object. This value should comply with the **darkTheme** setting. For instance, choosing a light background color while enabling **darkTheme** would make text difficult to read. Default is "#000000". Introduced in Launcher 3.24.11                                                  |
| badgeColor            | **string** A hex code for the background color of the notification badges displayed on application icons. Available starting in Launcher 3.17.x.                                                                                                                                                                                                  |
| searchIcon            | <p><strong>string</strong> The file location of an image to be displayed for the Launcher search bar. The value can point to a file location of an image downloaded on the device or the asset defined for a file's URL.<br> <br>In Launcher 4, this was re-introduced in version 4.4.17.</p>                                                     |
| darkStatusIcons       | **boolean** This value sets the contrast theme for the device status bar icons. Setting to `true` will tell the system to use dark-colored status bar icons, to contrast a lighter status bar background. Setting to `false` will use light-colored icons for contrast on darker backgrounds. Default is `false`. Introduced in Launcher 3.24.11. |
| fadingPageIndicators  | **boolean** Determines the persistence of the page indicator icon (a set of four dots near the bottom of a Launcher layout). If `false`, the icon will remain visible permanently; if `true`, the icon will fade after a few seconds. Default is `true`. Introduced in Launcher 4.3.98.                                                           |

Use the settings below to apply a separate theme to the **Lock** screen, starting in 3.0.x. If the following settings are omitted, the lock screen will use the same wallpaper as the main screen:

| Field                | Description                                                                                                                                                                                                                                                                           |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| wallpaperImage\_lock | **string** name, local path or URL to use as the wallpaper for the **Main** screens. The following valid values can be used which are built-in with the Launcher: **bubble**, **topology**, **messe** or **swirl**.                                                                   |
| duoToneWhite\_lock   | **string** Colorize/tint the wallpaper using Duotone, this value is the hex value of the light halftone color of the image. Examples of Duotone images can be found [here](https://duotone.shapefactory.co/). Beginning 3.3.x, set to "" to keep the original color of the wallpaper. |
| duoToneBlack\_lock   | **string** Colorize/tint the wallpaper using Duotone, this value is the hex value of the dark halftone color of the image. Examples of Duotone images can be found [here](https://duotone.shapefactory.co/). Beginning 3.3.x, set to "" to keep the original color of the wallpaper.  |
| blurRadius\_lock     | **integer** Blur the specified wallpaper image using this blur radius.                                                                                                                                                                                                                |
| blurPasses\_lock     | **integer** Use in conjunction with the **blurRadius\_lock** configuration setting, will apply a blur filter to the wallpaper this many times. If set to 0 the wallpaper will not apply any blur filters.                                                                             |

Example:

```
"theme" : {
        "enable" : "true",
        "logo" : "/sdcard/Download/ems/bsb_bikes_logo.png",
        "darkTheme" : true,
        "logoHeight" : 100,
        "searchIcon" : "/sdcard/Download/ems/magnifying_glass.png",
        "wallpaperImage" : "messe",
        "duoToneWhite" : "#006497",
        "duoToneBlack" : "#002442",
        "blurRadius" : 5,
        "blurPasses" : 0,
        "folderBackgroundColor" : "#AAAAAA",
        "wallpaperImage_lock" : "topology",
        "duoToneWhite_lock" : "#006497",
        "duoToneBlack_lock" : "#002442",
        "blurRadius_lock" : 5,
        "blurPasses_lock" : 0

    }
```

### Custom Fields

Allows display of values in the Launcher home screen retrieved from an external file.

| Field  | Description                                                                                                                                                                                                                                                                                      |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| format | **string** The format of the string to display on the UI. **name** placeholders should be enclosed in braces and must match the corresponding **name** field.                                                                                                                                    |
| source | **object array** An array of objects that define the source file, regular expression and field name to be parsed. If multiple pieces of information is being parsed from a file, create multiple instances of this object using the same file name but different regex patterns and field names. |

Each **source** object is defined as follows:

| Field    | Description                                                                                                                                                                                   |
| -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| pathfile | **string** The full path and filename of the file to be parsed.                                                                                                                               |
| regex    | **string** A Java regular expression string that will extract the information from the file. The regular expression should result in the information being returned on the first match group. |
| name     | **string** The value retrieved by the regular expression will be placed in this field name. This is the field name that will be present in the **format** placeholder.                        |
| data     | **string** Specifies the data to retrieve. For example, to get the device’s serial number, reference the config extended attribute ${config,ex.deviceId}.                                     |

Example:

```json
    ...
    "customField" : {
        "format" : "{Extension} - {Department}",
        "source" : [
            {
                "pathfile": "/sdcard/Download/extension_dept.txt",
                "regex": "Ext=(.*)",
                "name": "Extension"
            },
            {
                "pathfile": "/sdcard/Download/extension_dept.txt",
                "regex": "Dept=(.*)",
                "name": "Department"
            },
            {
                "data": "${config.ex.deviceId}",
                "regex": "(.{4})$",
                "name": "TruncatedSerial"
            }
        ]
    },
    ...
```

### Pattern Object

Represents configuration for associating search text with applications. If the search text matches the configured regex pattern, the application specified will be displayed, and could also specify the intent and extras that will be passed to the app when the search result is tapped.

On Zebra devices, the patterns are also used when Launcher detects a device hardware scan event.

| Field         | Description                                                                                                                                 |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| pattern       | **string** A regular expression to match the entered search text or scanned text.                                                           |
| displayPrefix | **string** What to display in the search results for this pattern match.                                                                    |
| package       | **string** The package to invoke if user presses the search result.                                                                         |
| extraKey      | **string** The name of the extraKey to use if search result is pressed.                                                                     |
| intent        | **string** Placeholder for future use.                                                                                                      |
| unrestricted  | **boolean** If set, then pattern search will compare against any application installed on the device. Default false. Introduced in 3.19.16. |

Example:

```
"patterns" : [
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.acc.itemlookup", "intent" : "Intent", "extraKey" : "SEARCH_TEXT" },
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.demoscanreceiver", "intent" : "Intent", "extraKey" : "SCAN_TEXT" },
    {"pattern": ".*", "displayPrefix" : "Open", "package" : "com.bluefletch.retail.iteminquiry", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{10}$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{10}$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.demoscanreceiver", "intent" : "Intent", "extraKey" : "SCAN_TEXT" },
    {"pattern": "^(\\d{4})?$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^(\\d{4})?$", "displayPrefix" : "Call", "package" : "com.symbol.wfc.voice", "intent" : "Intent", "extraKey" : "KEY" }
  ]
```

This example shows a pattern that will start the BlueFletch Browser when Launcher receives a scan event, and that scan contains a URL with 'https\://' and 'bluefletch.com'.

```

"patterns" : [
    ...
    {
        "pattern": "https?:\/\/.*.bluefletch.com",
        "displayPrefix": "Open",
        "package": "com.bluefletch.ems.browser",
        "intent": "Intent",
        "extraKey": "url",
        "unrestricted": true
    }
    ...
  ]
```

### Secure Notifications

Settings for Custom Notifications support.

| Key           | Description                                                                                                                                                                                                                                                                                                     |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| enabled       | **boolean** Enable/disable the secure notifications feature. Default is `false` (disabled).                                                                                                                                                                                                                     |
| enableHeadsUp | **boolean** Enable/disable the heads-up popup feature. Default is `false` (disabled).                                                                                                                                                                                                                           |
| headsUpTime   | **integer** Time in milliseconds to display a high priority heads-up popup on the screen. Default is `3000` (3 seconds).                                                                                                                                                                                        |
| blacklist     | **array** An array of packages to blacklist. Notifications from packages in this list will be suppressed. Default is no blacklisted notifications.                                                                                                                                                              |
| whitelist     | **array** An array of packages to whitelist. If used, only packages that appear in this list will be allowed to display notifications. If the list is empty then no notifications will be shown. If this field is ommitted then all notifications will be presented unless they are specified in the blacklist. |
| bubbleColor   | **string** Hex code for color of the notification bubble. Default is `#FFFFFF` (white). A reboot is required for a change to this value to apply to a device.                                                                                                                                                   |
| bubbleOffset  | **integer** Horizontal position of bubble, in percentage points of screen width. Valid values are 0-100, with `0` being far left and `100` being far right. Default is `50`. A reboot is required for a change to this value to apply to a device.                                                              |

Example:

```
    "secureNotifications" : {
        "enabled": true,
        "enableHeadsUp": true,
        "headsUpTime": 2000,
        "whitelist": ["com.example.phone", "com.example.music"],
        "blacklist": ["com.example.browser"],
        "bubbleColor": "#8AFF8A",
        "bubbleOffset": 75
    }
```

### External Site Info Finder

Settings when using a custom Site Location finder service. If both parameters are set, the Launcher will use this service to obtain the siteId instead of the built-in lookup system. See Automated Site Information Service for additional information.

| Field       | Description                                                                                                               |
| ----------- | ------------------------------------------------------------------------------------------------------------------------- |
| packageName | **string** The package name of the application that contains the custom service.                                          |
| resourceId  | **string** The fully qualified name of the Android service to be called e.g. 'com.bluefletch.services.CustomSiteService'. |

Example:

```
  "externalSiteInfoFinder": {
    "packageName": "com.bluefletch.customservice",
    "serviceName": "com.bluefletch.customservice.CustomSiteFinder"
  }
```

### External Manual Site Select

Settings when using a custom manual site select or overriding the current site information. This is used when the built-in manual site selection that depends on `sitelist.csv` won't be used.

| Field        | Description                                                                                                                 |
| ------------ | --------------------------------------------------------------------------------------------------------------------------- |
| packageName  | **string** The package name of the application that contains the custom service.                                            |
| activityName | **string** The fully qualified name of the Android Activity to be called e.g. 'com.bluefletch.ems.auth.SiteSelectActivity'. |

Example:

```
  "externalSiteInfoFinder": {
    "packageName": "com.bluefletch.ems.auth",
    "activityName": "com.bluefletch.ems.auth.SiteSelectActivity"
  }
```

### Orientation Override

Settings that change the BlueFletch Launcher orientation based on the device model. By default the Launcher will be set to portrait if the display is less than 7 inches (measured diagonally) and will default to landscape if the screen is 7 inches or greater. This setting can be used to force the Launcher to use portrait on a tablet or vice versa.

The configuration is represented as a set of key/value pairs, with the model of the device being the key, and the value being the desired orientation.

| Field       | Description                                                           |
| ----------- | --------------------------------------------------------------------- |
| ***key***   | **string** The device model.                                          |
| ***value*** | **string** The desired orientation, either 'portrait' or 'landscape'. |

Example:

Shows how to set device model ET51 and TC700H to portrait mode.

```
  "orientationOverride": {
        "TC700H": "portrait",
        "ET51": "portrait"
  }
```

### Assets Manager

Settings that specify assets that the BlueFletch Launcher should download and use for UI display processing. To reference the asset, use the format of 'assets:name'.

| Field       | Description                                  |
| ----------- | -------------------------------------------- |
| ***key***   | **string** Asset name.                       |
| ***value*** | **string** URL to use to download the asset. |

Example:

Shows that two images are being downloaded, and can be referenced as 'imageName' and 'anotherImage'.

```
  "assets": {
        "imageName": "https://somewhere.com/image.png",
        "anotherImage": "https://somewhere.com/image2.png"
  }
```

Usage within layouts:

```
    {
        "package": "com.google.android.music",
        "icon": "assets:anotherImage"
    },
```

### Full Example

```
{
  "configVersion" : "example configuration",
  "group_inclusion" : {
    "MANAGER_ROLE" : ["Managers", "Associates", "*"],
    "Associates" : ["Associates", "*"],
    "*" : ["*"]
  },
  "layouts" : {
    "CPP" : [
      {  "package" : "com.symbol.wfc.pttpro" },
      {  "package": "com.bluefletch.ems.support" }
    ],
    "MPP" : [
      {  "package" : "com.symbol.wfc.pttpro" },
      {  "package": "com.bluefletch.ems.support" }
    ],
    "Managers":[
      {
        "label" : "Vision Settings",
        "package": "com.bluefletch.ems.vision",
        "activity": "PreferenceActivity"
      },
      {
        "label" : "Vision Training",
        "package": "com.bluefletch.ems.vision",
        "activity": "FaceTrainActivity"
      },
      {
        "package": "com.bluefletch.go"
      }
    ],
    "ADMIN":[
      {
        "package": "com.bluefletch.ems.support",
        "nfcEnable": true
      },
      {
        "package": "com.android.settings",
        "nfcEnable": true
      }
    ],
    "Associates":[
      {  "package" : "com.symbol.wfc.pttpro" },
      {
        "label" : "Vision Settings",
        "package": "com.bluefletch.ems.vision",
        "activity": "PreferenceActivity"
      },
      {
        "label" : "Vision Training",
        "package": "com.bluefletch.ems.vision",
        "activity": "FaceTrainActivity"
      },
      {
        "package": "com.bluefletch.ems.support",
        "label": "Support"
      },
      {
        "package": "com.android.calculator2"
      }
    ],
    "*": [
      {
        "package": "com.staylinked.AndroidClient"
      },
      {
        "package": "com.android.chrome"
      },
      {
        "package" : "com.google.android.gm"
      },
      {
        "package" : "com.google.android.calendar"
      },
      {
        "package" : "com.bluefletch.ems.testpermissions"
      },
      {
        "label" : "Yahoo News",
        "url" : "https://news.yahoo.com",
        "icon" : "/sdcard/DCIM/icons/news.png",
        "showUrl" : false,
        "showTitle" : false,
        "allowCookiePreview" : false,
        "fixOrientation" : false
      },
      {
        "package": "com.bluefletch.ems.support"
      },
      {
        "label" : "Tools Folder",
        "contents":[
          {
            "package":"com.bluefletch.ems.messaging"
          },
          {
            "package":"com.bluefletch.acc.themerapp"
          },
          {
            "package": "com.bluefletch.ems.tester"
          },
          {
            "package" : "com.bluefletch.ems.support",
            "label": "Strapper",
            "icon" : "/sdcard/DCIM/icons/soccer.jpeg"
          },
          {
            "package" : "com.symbol.datawedge",
            "label": "Wedge"
          },
          {
            "package" : "com.symbol.tool.stagenow"
          },
          {
              "label" : "WebSites",
              "contents":[
                {
                  "label" : "Google",
                  "url" : "https://google.com",
                  "icon" : "/sdcard/DCIM/icons/google.png",
                  "showUrl" : false,
                  "showTitle" : false,
                  "allowCookiePreview" : false,
                  "fixOrientation" : false
                },
                {
                  "label" : "Google",
                  "url" : "https://google.com",
                  "icon" : "/sdcard/DCIM/icons/google.png",
                  "showUrl" : false,
                  "showTitle" : false,
                  "allowCookiePreview" : false,
                  "fixOrientation" : false
                },{
                  "label" : "Yahoo News",
                  "url" : "https://news.yahoo.com",
                  "icon" : "/sdcard/DCIM/icons/news.png",
                  "showUrl" : false,
                  "showTitle" : false,
                  "allowCookiePreview" : false,
                  "fixOrientation" : false
                }
              ]
          }
        ]
      },
      {
        "label" : "Google",
        "url" : "https://google.com",
        "icon" : "/sdcard/DCIM/icons/google.png",
        "showUrl" : false,
        "showTitle" : false,
        "allowCookiePreview" : false,
        "fixOrientation" : false
      },
      {
        "label" : "One item",
        "contents":[
          {
            "label" : "Google",
            "url" : "https://google.com",
            "icon" : "/sdcard/DCIM/icons/google.png",
            "showUrl" : false,
            "showTitle" : false,
            "allowCookiePreview" : false,
            "fixOrientation" : false
          },
          {
            "package": "com.android.chrome"
          }
        ]
      },
      {
        "label" : "Two items",
        "contents":[
          {
            "label" : "Google",
            "url" : "https://google.com",
            "icon" : "/sdcard/DCIM/icons/google.png",
            "showUrl" : false,
            "showTitle" : false,
            "allowCookiePreview" : false,
            "fixOrientation" : false
          },
          {
            "package" : "com.bluefletch.ems.support"
          }
        ]
      },
      {
        "label" : "Quick Start Applications Folder",
        "quickStartFolder": true,
        "contents":[
          {
            "label" : "Google",
            "url" : "https://google.com",
            "icon" : "/sdcard/DCIM/icons/google.png",
            "showUrl" : false,
            "showTitle" : false,
            "allowCookiePreview" : false,
            "fixOrientation" : false
          },
          {
            "package" : "com.bluefletch.ems.support"
          },
          {
            "package" : "com.bluefletch.ems.deviceinformation"
          }
        ]
      }
    ]
  },
  "groups": {
    "Managers":[
      "com.bluefletch.(.*)",
      "com.bluefletch.go",
      "com.android.settings"
    ],
    "Associates":[
      "com.android.dialer",
      "com.android.contacts",
      "com.android.calendar",
      "com.android.email",
      "com.android.browser",
      "com.bluefletch.ems(.*)",
      "com.android.gallery3d",
      "com.bluefletch.demoscanreceiver"
    ],
    "*":[
      "(.*)",
      "com.bluefletch.ems.support",
      "com.bluefletch.acc.themerapp",
      "com.android.calculator2",
      "com.cisco.anyconnect.vpn.android.avf",
      "BlueFletch",
      "Auth",
      "All Symbol",
      "Heads Up"
    ]
  },
  "layoutSettings:" {
    "quickStartIconSize": "small",
    "heightAdjust": -5
  },
  "fullyHidden":[
    "com.bluefletch.ems.auth"
  ],
  "settings":{
    "activateSearchBar":true,
    "idleTimeInMinutes": 5,
    "maxSessionTimeInMinutes": 120,
    "maxSessionExpiryWarningTimeInMinutes": 3,
    "requireAuthOnScreenOn" : true,
    "useFaceRecognition" : true,
    "adminPassword" : "",
    "enableNotifications" : true,
    "enableNotificationsAlwaysOn" : true,
    "brokerUrl" : "tcp://ems-notifications-staging.bluefletch.com:1883",
    "enableHeadsUpNotifications" : true,
    "headsUpTimeoutInSeconds" : 4,
    "receiveOfflineMessages" : true,
    "useEnhancedMessaging" : true,
    "muteNotificationOnCall" : true,
    "autoSubscribeWithSession" : true,
    "useAppEnabler" : false,
    "nfcLoginSupport" : true,
    "nfcDataTypes" : "data/com.bluefletch.ems.auth",
    "device_lost_hours" : 12,
    "vision_threshold" : 0.45,
    "vision_attempts" : 20,
    "turnOffNFC" : true,
    "turnOnAtLogin" : true,
    "lockInMotion" : true,
    "lockInMotionConfidence" : 50,
    "disableRecents" : false,
    "unsecuredDeviceTimeoutInSecs": 30,
    "unsecuredDeviceEffects": true,
    "includeUserApps": true,
    "authorizedAppStores": "com.android.vending"
  },
  "luggageTag": {
    "enable": true,
    "thresholdInMinutes": 30,
    "logo": "https://www.image.com/url/to/logo.png",
    "line1": "123 Blue Fletch Street",
    "line2": "Atlanta, GA 45678",
    "email": "help@bluefletch.com",
    "phoneNumber": "(855) 529-6349",
    "unlockPassword": "936A185CAAA266BB9CBE981E9E05CB78CD732B0B3280EB944412BB6F8F8F07AF",
    "alarmLoopInMinutes": 10
  },
  "approvedNetworks": [
    "office-wifi-1",
    "office-wifi-2",
  ],
  "keyboard": {
    "hapticFeedback" : "hapticClick",
    "bigButtonText" : false,
    "alphanumeric" : true,
    "keyPreview" : false,
    "allowToggle": true,
    "toggleLoggedIn": false
  },
  "browser" : {
    "showUrl" : false,
    "showTitle" : false,
    "allowCookiePreview" : false,
    "fixOrientation" : false
  },
  "defaultSession" : {
    "userId" : "",
    "userName" : "",
    "groups" : "*",
    "location" : "992"
  },
  "notifications" : [
    {
      "brokerId" : "deviceManager",
      "url": "tcp://ems-notifications-prd.bluefletch.com:1883",
      "name" : "Device ",
      "enableOrganizationGroup" : true,
      "useEnhancedMessaging" : true,
      "muteNotificationsOnCall" : true,
      "notificationAcquireWakelocks" : true,
      "receiveOfflineMessages" : true,
      "enableNotificationsAlwaysOn" : true,
      "enableHeadsUpNotifications" : true,
      "disableVolumeAdjustment" : true
    },{
      "brokerId" : "StoreTest",
      "url": "tcp://ems-notifications-prd.bluefletch.com:1883",
      "name" : "Store",
      "enableOrganizationGroup" : true,
      "useEnhancedMessaging" : true,
      "muteNotificationsOnCall" : true,
      "notificationAcquireWakelocks" : true,
      "receiveOfflineMessages" : true,
      "enableNotificationsAlwaysOn" : false,
      "enableHeadsUpNotifications" : true
    }
  ],
  "customField" : {
    "format" : "{Extension} - {Department}",
    "source" : [
        {
            "pathfile": "/sdcard/Download/extension_dept.txt",
            "regex": "Ext=(.*)",
            "name": "Extension"
        },
        {
            "pathfile": "/sdcard/Download/extension_dept.txt",
            "regex": "Dept=(.*)",
            "name": "Department"
        }
    ]
  },
  "patterns" : [
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.acc.itemlookup", "intent" : "Intent", "extraKey" : "SEARCH_TEXT" },
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.demoscanreceiver", "intent" : "Intent", "extraKey" : "SCAN_TEXT" },
    {"pattern": ".*", "displayPrefix" : "Open", "package" : "com.bluefletch.retail.iteminquiry", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{10}$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{10}$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.demoscanreceiver", "intent" : "Intent", "extraKey" : "SCAN_TEXT" },
    {"pattern": "^(\\d{4})?$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" }
  ],
  "extendedAttributes" : {
    "gateway_auth_url" : ""
  },
 "theme" : {
    "enable" : "true",
    "logo" : "/sdcard/Download/ems/bsb_bikes_logo.png",
    "darkTheme" : true,
    "logoHeight": 90,
    "searchIcon": "/sdcard/Download/ems/magnifying_glass.png",
    "wallpaperImage" : "messe",
    "duoToneWhite" : "#006497",
    "duoToneBlack" : "#002442",
    "blurRadius" : 5,
    "blurPasses" : 0,
    "folderBackgroundColor" : "#AAAAAA",
    "wallpaperImage_lock" : "topology",
    "duoToneWhite_lock" : "#006497",
    "duoToneBlack_lock" : "#002442",
    "blurRadius_lock" : 5,
    "blurPasses_lock" : 0
  },
  "altThemes": {
    "siteOne": {
        "darkTheme": true,
        "enable": true,
        "logo": "/sdcard/Download/ems/maingroupicon.png",
        "accentColor": "#3049CB",
        "wallpaperImage": "/sdcard/Download/ems/main.png"
      },
    "siteTwo": {
        "darkTheme": true,
        "enable": true,
        "logo": "/sdcard/Download/ems/siteTwo.png",
        "accentColor": "#343A20",
        "wallpaperImage": "/sdcard/Download/ems/siteTwo.png"
      }
  },
  "secureNotifications" : {
    "enabled": true,
    "enableHeadsUp": true,
    "headsUpTime": 2000,
    "whitelist": ["com.example.phone", "com.example.music"],
    "blacklist": ["com.example.browser"]
  },
  "emsSupportTool" : {
    "orgId": "asdf-asdf-asdf"
  },
  "protectedList": [
  ],
  "disablePackages": [
  ],
  "intents" : {
    "login" : [],
    "logout":[],
    "boot" : [],
    "uncradle": [],
    "cradle": [],
    "screenOn": []
  },
  "license" : "dkas;lsad;ladjl;asd;io3489043lkasdlk;dxvoipc oic kqw4k439-xvknzcxvoip4r934ket9",
  "orientationOverride": {
    "TC700H": "portrait",
    "ET51": "portrait"
  },
  "keyManagement": {
    "enabled": true,
    "refreshIntervalInSeconds": 1740
  }

}
```


# Release Notes

### Release 4.4.85

#### Highlights

This release adds platform intents for turning Bluetooth on and off and redesigns the Pending Authentication screen, with the re-authentication screen now staying on screen until the user signs in again. It also improves reliability in several areas: the flashlight widget, configuration loading and merging, launcher startup after a reboot, device orientation across sessions, and clearing app data at logout.  Allows administrators customize the flashlight widget with their own on/off icons, and the launcher now tells users when a managed asset shortcut is unavailable or can't be opened. It also improves reliability in several areas: session timeout handling, Wi-Fi settings restoration, configuration sharing with other apps, and resilience to hand-edited server URLs.

#### New Features

* **Bluetooth Enable/Disable Intents** — New platform intent actions let administrators turn Bluetooth on or off on the device.
* **Persistent Re-Authentication Screen** — The Auth re-authentication screen now comes back whenever the launcher resumes, so users can't skip it.
* **Updated Pending Auth Screen** — The Pending Authentication screen has a new layout with buttons stacked vertically and updated text to match the new design.
* **Reliable Default Launcher Setup After Reboot** — After a reboot, BF Launcher checks that it is the default home app and has the "draw over other apps" permission. If either is missing, it restores them automatically so it can open reliably on Android 13 and later.
* **Flashlight Widget Icon Customization** — Administrators can set custom icons for the flashlight widget's on and off states and choose whether the widget's icon color is applied to them.
* **Managed Asset Shortcut Notifications** — Users now see a notice when a managed asset shortcut is unavailable or can't be opened.

#### Bug Fixes

* Fixed the launcher crashing or reloading when the flashlight widget was toggled.
* Fixed the flashlight state getting out of sync when the flashlight button was tapped rapidly. The flashlight overlay now shows only while the torch is actually on and hides as soon as it turns off, including when another app takes over the camera.
* Fixed the flashlight widget so TalkBack can reach and announce it, and so the button no longer shrinks.
* Fixed device orientation not being kept when the user session changed.
* Fixed a false "Launcher Configuration Error" message that appeared while the launcher.json file in Downloads was still being written.
* Fixed a large site list delaying or cancelling processing of the launcher configuration.
* Fixed settings being lost when a configuration defined both a legacy block and its newer appConfig equivalent (for example, emsSupportTool and bfSupportAgent, or blueFletchChat and bfChat). Settings are now merged key by key, and the legacy value wins when both define the same key. This also fixes the "Base URL is invalid" error in support agent log uploads.
* Restored default support agent, browser, and keyboard settings from Launcher 3 that were missing from the base configuration, and moved the bfChat defaults into the appConfig block.
* Fixed boolean configuration values being changed into text after the configuration was saved and reloaded.
* Fixed app data not being cleared at logout for apps launched from the launcher on standard (non-extended) displays.
* Fixed the order of logout cleanup on Zebra devices so app data is cleared before recent apps, matching Launcher 3.
* Fixed notifications being processed or dismissed when Secure Notifications was not enabled.
* Fixed log level changes made in Admin Settings not being broadcast to other apps.
* Reduced excessive logging by moving routine messages to lower log levels.
* Fixed the session timeout dialog reappearing after the user had dismissed it and logged back in, which happened when the launcher was not set as the default home app.
* Fixed system settings staying blocked after Wi-Fi was re-enabled through device administration, so the required system settings are now restored correctly.
* Prevented crashes in configuration logging and support event reporting when an event or log URL in the configuration is missing a trailing slash.

### Release 4.4.67

#### Highlights

This release adds a new WRITE\_FILE custom intent action for saving session information as XML or JSON files, adds support for replacement variables in launcher.json, and adds a configurable source field for clearing Google accounts. It also improves reliability in several areas: session recovery after crashes or restarts, the remote wipe warning, Zebra device settings (Wi-Fi and auto date/time), and Launcher stability during bulk uninstalls and manual site selection.

#### New Features

* WRITE\_FILE Custom Intent Action — A new custom intent action writes session information to an XML or JSON file. The file format comes from the configured format type, with a fallback when no file type is set.
* Config Replacement Variables — launcher.json now supports a top-level `variables` object. Any `${name}` placeholder in a config value at any level is replaced with its value. Unknown placeholders are left as they are.
* Configurable Google Account Clearing Source — The new `clearAccountsSourceField` setting lets you choose which field holds the Google account ID, instead of the session user ID. It accepts a replacement string (e.g. `${session.ex.klEmail}`) or the name of a session extended attribute. If the field is empty, account clearing is skipped.
* Screensaver Manifest Support Events — New support events are reported when the screensaver manifest version changes.

#### Bug Fixes

* Fixed the full logged-in state not coming back after the Launcher recovers from a crash or a low-memory kill.
* Prevented an active session from being wiped on the first config load after a restart.
* Fixed the unique login check failing when the other device has no site selected.
* Fixed the Launcher crashing after a bulk uninstall of apps.
* Fixed the Launcher crashing in the manual site select confirmation dialog, and corrected spacing in its message text.
* Fixed the remote wipe warning showing the wrong starting time, and prevented a config change from cancelling or resetting a running wipe schedule.
* Fixed the power event countdown so it stays in sync across views, and prevented multiple dialogs from appearing on repeated power events.
* Fixed the Wi-Fi Settings UI not turning on and off correctly on Zebra devices.
* Fixed the automatic date and time setting failing to apply on Zebra devices.
* Reduced unneeded processing by skipping BlueFletch package handling when the app installed or uninstalled is not a BlueFletch app.

### Release 4.4.65

#### Highlights

This release adds a scheduled remote wipe capability for the Luggage Tag feature, expands secure notification configurability, and improves icon layout handling and workspace swipe performance. It also resolves an Android Enterprise provisioning issue that could block installation of required apps, a status bar color defect on Android 15+, and several secure device/notification correctness issues.

#### New Features & Enhancements

**Luggage Tag Remote Wipe**

* Added a scheduled remote wipe action to Luggage Tag, configurable via wipe action and wipe threshold settings.
* Added a countdown warning dialog that reminds the user of a pending remote wipe, re-displays every minute, and cannot be dismissed once under two minutes remaining.
* Added a device wipe action supporting Enterprise Reset and Factory Reset on Zebra devices.
* Ensured schedules are correctly rescheduled or cleared when wipe configuration changes and persist correctly across geofencing and password-unlock scenarios.

**Secure Notifications**

* Added configurable secure notification bubble size and title/description font sizes.
* Added a new setting to permit full notifications to display on the re-authentication screen.
* Added a notification sound for incoming secure notifications.
* Updated notification handling so calls are no longer suppressed, allowing users to answer incoming calls while in secure notification mode.

**Workspace & Icons**

* Added a layout configuration to allow app icons to fill their container without the default padding.
* Corrected icon padding handling so folder icons and asset- or storage-sourced icons are treated consistently.
* Improved swipe performance on the main workspace.

**Platform**

* Updated target SDK to 37 and refreshed library dependencies.

#### Bug Fixes

* Corrected Android Enterprise managed provisioning so apps marked "required for setup" no longer block installation of other required apps.
* Fixed secure device handling so the security alarm no longer triggers when a password-protected app is already in the foreground.
* Reverted a broken reminder string format that appended rather than substituted the parameter.
* Fixed status bar background color not applying correctly on Android 15+ devices.
* Corrected EMS package reset logic to pass the device ID on package install/uninstall.

### Release 4.4.61

#### Highlights

This release introduces Scheduled Actions and Custom Intents, letting administrators trigger device operations on recurring or one-time schedules, alongside a new Cradle Lock experience with configurable password unlock and device selection. Launcher also gains configuration value replacements and capitalization for custom fields, shorthand BlueFletch package names, lock screen support for secure notifications, device PIN enforcement for managed Google Workspace devices, and remotely granted temporary admin access. The release additionally delivers significant reliability improvements across site location, workspace scrolling performance, screensaver asset handling, widget rendering, and configuration loading.

#### New Features & Enhancements

* Scheduled Actions — Administrators can now configure Launcher to run actions on a schedule, with minutely, hourly, daily, weekly, monthly, yearly, and one-time frequencies, plus automatic retry when a scheduled run cannot complete.
* Custom Intents — Launcher can broadcast or start configurable custom intents, including a device reboot action, both on demand and as part of a schedule.
* Scheduled Action Reporting — Successful schedule executions are now reported as support events, and schedules survive device reboots when their configuration is unchanged.
* Cradle Lock — Devices placed in a cradle can be locked to a dedicated screen, with optional password unlock, a configurable unlock duration, and automatic re-lock once the unlock window ends.
* Virtual Locker Device Selection — A device selection screen is now available on the cradle lock screen, and Launcher publishes login and logout status to the locker over MQTT.
* Configuration Value Replacements — Configuration fields can now reference other configuration values, including values inside lists, arrays, and nested objects.
* Custom Field Capitalization — Custom field displays support a `capitalize` option to force uppercase on selected replacement values or on the entire field.
* BlueFletch Package Shorthand — Configurations can reference BlueFletch applications by shorthand name instead of full package names, resolved reliably at startup, on configuration push, and on app install or uninstall.
* Secure Notifications on the Lock Screen — A new `allowNotificationInLockScreen` setting lets notifications post to the lock screen while secure notifications remain enabled elsewhere.
* Device PIN for Managed Google Workspace — When `settings.devicePinRequiredForLogin` is enabled, Launcher prompts for and sets a device PIN before authentication, and clears it on logout.
* Remote Temporary Admin — Updated Launcher to support setting temporary admin role from the Portal.
* Exit Launcher with Reopen on Reboot — Launcher will attempt to restart itself after a reboot when exit Launcher is used.
* Persisted App Breakout — Applications can be broken out of the Launcher workspace and persisted, protected by a password dialog and controlled by new configuration settings.
* Configurable Widget Font Sizes — The large banner and session widgets support configurable title, text, heading, and subtitle font sizes, with scrolling when banner content overflows.
* Optional Session Widget Logo — The Session 2 widget accepts a custom logo URL; when none is configured, no default logo is shown.
* Screensaver Playlists — Screensavers can now play from a default asset directory, with assets downloaded in the background and the playlist restarting in place rather than relaunching.
* NFC User Switching — NFC badges can now switch users directly during NFC reauthentication, logging the previous user out and the new user in automatically, with a dedicated switching-user transition screen.
* Page Navigation by Drag and Keypad — Home screen pages can be navigated with click-and-drag as well as the arrow keys.
* VPN IP Exclusion for Site Location — A new `ignoreVpnIpForSiteLocation` setting keeps VPN-assigned addresses from being used for site detection.
* License Reminders — Expired or invalid license dialogs are now shown each time Launcher resumes until the issue is resolved.
* Google Workspace Account Removal — Launcher can remove Google Workspace accounts on managed Zebra devices.

#### Bug Fixes

* Fixed stuttering when swiping between home screen pages.
* Corrected header logo sizing, session widget height on tablets and low-resolution devices, and status bar colors on Android 15.
* Fixed wallpapers rendering only partially, and icons and wallpapers not refreshing when their asset URLs changed.
* Corrected one-time schedules running after their date had passed, failing on Honeywell and Samsung devices, and retries not rescheduling after a failure.
* Fixed the home button not returning to the main workspace from a quick access widget.
* Corrected custom fields failing to render plain text alongside replacement values.
* Fixed configuration settings falling back to false instead of their intended default when absent.
* Resolved `defaultSession.location` being ignored when no current site was available.
* Corrected device rotation actions being ignored or applying an outdated orientation.
* Fixed duplicate entries in the Admin Tools session screen and duplicate applications caused by an unvalidated appObjectKey.
* Corrected the screensaver not dismissing when disabled, and newly added assets not entering the active rotation.
* Fixed crashes from secure notifications, uninstalled configured apps, null device tokens, heightAdjust values, and platform commands.
* Corrected the Support Application not starting automatically at startup or after installation.
* Resolved crashes and unresolved shortcuts caused by BlueFletch package resolution, including uninstall handling.
* Fixed an invalid configuration error after scanning a non-configuration QR code; scanned values now open the search screen.
* Corrected invalid configuration files persisting across restarts; Launcher now validates before applying and falls back to the default.
* Fixed license validation failing when supplied a PEM file rather than a PEM string.
* Resolved site records with matching IDs failing to update, and device token records not being deleted.
* Corrected Messaging service restart scheduling and concurrent notification update errors.
* Fixed the Enter key inserting a newline instead of submitting in text inputs.
* Resolved screen timeout being applied in the wrong units on CSDK devices.
* Fixed assets not being re-granted to BlueFletch applications when clearing recent tasks failed.
* Corrected `useDarkText` being overridden by the theme instead of the explicit configuration value.

### Release 4.4.17

#### Highlights

This release introduces a configurable session expiry warning system, expanded theme customization options, and significant reliability improvements across site location services, widget rendering, and the provider database. Several device-specific fixes improve compatibility with Zebra and Spectralink hardware.

#### New Features & Enhancements

* Added configurable time-based warning dialog before max session logout, with audible alarm and countdown timer on both primary and secondary displays.
* Added logoHeight theme configuration to control the session banner image height.
* Added heightAdjust layout field, carried forward from Launcher 3.
* Added custom intent triggers for luggage tag enter and exit events.
* Added configurable search icon via implied theme configuration.
* Added healthcare remote control package to the key injection callback registry.
* Added service connection logic to reliably restart the messaging app when it is killed.

#### Bug Fixes

Site Location

* Corrected site location service initialization to respect refreshSiteOnStartup and currentSiteId configuration.
* Resolved issue where multi-site dialog appeared unnecessarily when the current site was already in the detected list.
* Resolved Zebra EMDK readiness detection on boot, preventing the platform from stalling during initialization.
* Corrected manual site selection to properly trigger a force reload.
* Suppressed site failure and multi-site alerts when external site information is present in the configuration.
* Removed duplicate results when querying the site info database.

Stability & Correctness

* Corrected duplicate provider database rows that broke custom script injection.
* Corrected widget rendering and update logic for improved reliability.
* Corrected Spectralink login/logout by replacing the custom broadcast action with the standard intent.action.main.
* Corrected re-authentication intent flags to apply consistently regardless of auth type.
* Corrected ConnectException caused by invalid URLs in the EMS support tool event processor.
* Corrected secure notification lock screen state to update properly across lifecycle changes.
* Corrected custom intent .setClassName() implementation and ensured openApp intents are only created when a package name is provided without a class name.
* Corrected Zebra SET\_TIMEZONE platform action by adding the required profile name.
* Corrected boot action sequencing to ensure the platform is ready before invoking boot actions.
* Corrected messaging broker connection details to properly reflect the broker array from configuration on each config change.
* Corrected implied group application to properly remove groups when changing to a site without an implied group.
* Corrected settings launch from icons (e.g., Wi-Fi settings) to target the correct activity.
* Updated login button font weight to match logout button styling.

### Release 4.4.1

#### Highlights

This release introduces a redesigned Force Lock screen with configurable branding options, significant screensaver improvements including a default screensaver and smarter asset management, and enhanced Luggage Tag stability. Several bug fixes address device-specific behavior on Zebra and GETAC hardware, notification handling edge cases, and a smoother in-place upgrade path from Launcher 3.

#### New Features & Improvements

* Device Remote Lock Screen Redesign — The screen displayed when a device is remotely locked now supports configurable header and footer fields with automatic text contrast based on background color.
* Screensaver Enhancements — Added a default screensaver, periodic asset change detection, and improved handling when switching between local and remote asset sources.
* External Site on App Install — External site launch now only triggers when the specific configured package is installed.
* Automatic Chat App Permissions — The launcher automatically grants required permissions to the chat app upon installation.
* GETAC Clear Recents Delay — Added a clearRecentSelectiveDelay config property to tune the timing of selective clear operations on GETAC hardware.
* Luggage Tag Stability — Improved Luggage Tag reliability across reboots and activation/deactivation cycles.
* Launcher 3 → 4 In-Place Upgrade — Bumped the provider database version to support upgrading from Launcher 3 without an uninstall.

#### Bug Fixes

* Fixed a null pointer exception when upgrading directly from Launcher 3.
* Fixed an invalid license detection issue that prevented the launcher from starting in certain deployments.
* Fixed an issue where the initializing screen would reappear after a config push.
* Fixed the extended display session prompt for delayed cradle logout not displaying correctly.
* Fixed secure notifications being incorrectly cleared during screen-off when preserveLockedNotifications was enabled.
* Fixed site location not refreshing on startup after the refreshSiteOnStartup flag was deprecated.
* Fixed the session widget background color not applying when set in the config.
* Fixed Force Lock screen default title and message values and a crash caused by invalid color strings.
* Fixed screensaver asset path templates not resolving until a config reload when siteId was used.
* Fixed missing Spanish translations for search and suggestions labels.
* Fixed clear recents behavior on GETAC and Zebra devices.
* Fixed a config replacement issue caused by unnecessary file delete operations in the config manager.

### Release 4.3.98

#### Highlights

Adjustments to site location handling, widgets, secure notifications, and Chrome Custom Tabs (CCT) configuration.

#### Details

* Refactored the site location service using a Strategy Pattern to handle automatic detection, external app integration, and site list matching scenarios.
* Updated the system to support sideloaded sitelist.csv files when a site list URL is not provided in the configuration.
* Added new interface methods to the demo variant of SiteManagerImpl.
* Implemented a fix to only register the site info receiver when site location is enabled.
* Removed legacy site location initialization methods and the redundant \_useStrategyPattern flag.
* Updated for backward compatibility with deprecated methods and extras.
* Fixed issues on custom fields when using replacement values and trimmed unwanted white spaces from formattedField.
* Added a try-catch block to handle volume-setting exceptions in the Volume Manager.
* Updated the AppInfo class to use badge counts for equality checks and forced workspace reactions on badge count changes.
* Added a default value for customField.
* Added Chrome Custom Tab (CCT) customization via remote configuration, including settings for URL bar hiding, title visibility, and back arrow behavior.
* Refactored widget coroutines to a dedicated scope that is cancelled when the widget list is cleared.
* Added a network available callback to allow the site service to run when a network is available.
* Added logic to check for a default site ID when no location match is found.
* Cleaned up the site manager and converted autodetection strategy events to sealed classes.
* Moved site file downloads to strategy constructors to prevent blocking site selection while waiting for the network.
* Removed downloadFilesFlow and replaced with a downloadFileFlow.
* Moved site\_worker\_tag to sitemanager interface for shared use.
* Added tags to site file downloads to allow cancellation of queued work during configuration changes.
* Updated the Assets Manager to clear pending work on configuration changes.
* Implemented secure notification processing and properties, such as playAudioIfLocked and snoozeDuration, aligned with Launcher 3.
* Removed the deprecated NotificationDatamanager.
* Fixed Knox platform issues when requesting external file permissions.
* Added open modifiers and protected functions to platform classes to allow for easier extension.
* Implemented the ability to set the default browser and dialer at the platform level.
* Optimized the controller to only instantiate the secure notification manager when enabled to reduce memory usage.
* Fixed secure notification bubble offsets and visibility issues after the screen is turned on.
* Fixed Authorized Header issues.
* Added a new theme configuration, fadingPageIndicators to show or hide the page indicator.
* Updated the inactive page indicator to remain visible when darkTheme is false.
* Updated SecureNotificationManagerImpl to make \_notifications ConcurrentHashMap thread safe.
* Updated SecureNotificationManagerImpl to remove coroutine when updating notification.
* Updated LauncherNotificationListener to make instance Volatile.
* Updated SbnHelper to add a method on handling all kinds drawables and to prevent app crash.
* Implemented a delayed cradle logout timer dialog for extended displays.
* Updated LauncherNotificationListener to implement a thread safe synchronized companion variable.
* Fixed an issue in extended display where apps would not stay open on the main device.
* Added support for supplying custom extras data to app widgets.
* Set all default config for CustomTabConfig.kt to restrictive
* Added new method cancelNotifications. This new method will handle the removing of multiple notification via swipe or close button.
* Removed Launcher and Extended display state shouldUpdateBadgeNotification.
* Implemented HashMap to JSONObject Conversion of bfbrowser.
* Fixed flickering widgets during re-authentication and app badge updates.
* Resolved an issue where logout from Temporary Admin did not occur on reboot.
* Granted the Launcher widget display access on Zebra devices.
* Migrated revised CCT behavior from Launcher 3.
* Updated \_customTabPackages to make it a Set instead of MutableSet, since it is read only.
* Added launchFallback to make sure custom tabs will get launched even if the defined package or browser is not existing.
* Enabled the preservation of missed notifications on the lock screen.
* Set BlueFletch Phone as default dialer when bf-phone package is present.
* Implemented allowWidgetAccess for devices allowing Platform Service to run ADB commands.
* Updated the NotificationReceiver to allow autologin messages to trigger authentication.
* Fixed search widgets failing to switch to light mode and custom widget headers flashing default configurations.
* Updated AppInfo with an isActivity property to identify applications within footer widgets.
* Resolved failures in AutomaticPermissionControl.
* Fixed intermittent issues where the site list failed to fetch the provided URL on the first launch.
* Implemented the removeAccounts platform method for Samsung Knox.
* Consolidated download logic back into SiteManagerImpl.
* Moved site\_url set in shared preferences until after successful copy
* Fixed an issue where auto selecting a location does not apply when refreshSiteRequiresNetwork is false.

### Release 4.3.70

#### Highlights

Fixes contents of duplicate app folders. Corrects the application of the "roundedCorner" icon shape. Adds value replacement.

#### Details

* Adds `HIDE_NAVIGATION_OPEN_ZONE` configuration setting (default: `false`).
  * Hides system navigation bar in OpenZone when config is `true`. The navigation bar will always shows in Authorized view regardless of config.
  * Use `WindowInsetsControllerCompat` for platform-agnostic control.
* Fixes issue where "roundedCorner" icon shape used "circle".
  * Updated `ThemeConfig` to remove lowercase in `_iconShape`.
* Refreshes the launchable apps whenever site changes.
* Applies replacement variables in layout labels (app, folder, shortcuts, widgets etc.).
* Performs value replacement for `data` field for layout actions.
* Renames `processLabel` to `processReplacementData(inputValue: String?`) Removed `updateInstance()`.
* Fixes contents of duplicate app folders that are hidden.
  * Modifies `data` class's constructor parameter contents to a private val `_contents` and adds a getter for contents that will be publicly available to access; in this case we ensure that the `_contents` is being updated.
  * Makes `_contents` private since there is already a public variable for contents.
* Validates all files are downloaded before starting screen saver and turns off screen saver if config has been updated.

### Release 4.3.48

#### Highlights

Initial production release for Launcher 4 and Launcher 4 for Healthcare.


# Launcher 3 (Previous)

## Overview

The BlueFletch Enterprise Launcher is a highly secure and customizable home screen replacement for shared Android workforce devices that ties into all major Identity Providers. Through its enterprise single sign-on (SSO), role-based app access, and modern re-authentication methods, users can have fast and reliable access to business-critical applications and data.

**Frictionless Login Experience:** Eliminate the need to recall or repeatedly enter your username and password. Get immediate and secure access to all web, mobile, legacy, and 3rd party apps through secure single sign-on.

**Seamless Integration with Major IdPs:** Provide the fastest login experience possible to authenticate users. Tie into your existing identity providers (IdPs) such as Okta, Office365, Google Auth, Ping, and Active Directory/LDAP.

**Modern Re-Authentication Methods:** Instantly access devices and apps instead of fumbling with login credentials. Support multiple re-authentication methods such as NFC, FaceRec, Fingerprint Biometrics, Barcode, and PIN for added ease of use.

**Advanced Security Features:** Prevent non-authorized users from accessing sensitive company data. Configure apps by user role, block side-loaded app installation, clear data on logout, and remotely disable access to settings.

**Total Device Visibility:** Safeguard Android device fleets and reduce device loss with integrated support tooling. Capture login/logout events, view login and user data, trigger built-in low battery alerts, and find missing devices using network access points.

{% embed url="<https://www.youtube.com/watch?v=dtGieX9tky4>" fullWidth="false" %}


# Configurable Layouts

BlueFletch Launcher allows organizations to customize and secure the home screen of workforce devices. You can define layouts, manage assets, password-protect applications, and restrict app access based on user role.

**Layouts:** This feature defines which icons to show to the user, organizes applications into folders, displays shortcuts, and determines which applications are shown to the user based on their role.

**Assets Manager:** This feature enables the Launcher to download and/or display images and files on a device, especially with the introduction of scoped storage in Android 11.

**Password Protected Applications:** This feature requires users to enter a password before launching any application, shortcut, or folder.

**Quick Start Applications Folder:** This feature allows users to pin commonly-used applications to the Home screen, which saves time from swiping through multiple pages of apps.

**Role-Based Auto Launch:** This feature automatically starts an application based on the logged-in user's IdP groups.

**Kiosk Mode:** This feature allows users to access and utilize pre-defined applications and shortcuts only.

For more information on this feature and details on configuring Layouts, [click here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/layouts).


# Layouts

Layouts is a Launcher feature that controls the applications displayed within the Launcher UI.

## Overview

Launcher enables IT administrators to customize devices and restrict the applications that users can access. The Layouts configuration controls the applications displayed within the Launcher UI. This Launcher feature can organize applications into folders, display shortcuts, and assign applications to an 'Allow' list or a 'Block' list.

## User Guide

Layouts are partitioned based on the user’s role or controlling group. When a user logs into Launcher, the user's Group/Role is determined. This Group/Role must match at least one of the layout groupings.

By default, the '`OpenZone`' content is equivalent to the group "`*`", which is the group when the user is not authenticated.

## Feature Configuration

To set up the Layouts feature for a particular device profile or device group, please follow the steps below:

### Defining App Groups

The recommended way to setup layouts is to setup **application groups** which are logical groupings of your applications. For example:

```json
"layouts" : {
    "WarehouseApps":[ ... apps related to warehouse functions ... ],
    "OfficeApps":[ ... apps related to office functions ... ],
    "OpenZone": [ ... apps available to all users ... ]
},
```

### Defining App Groups to use based on Role

Once the application groups are defined, the `group_inclusion` field can be configured to display application groups within the Launcher UI that match a specific group or role. An example configuration is shown below:

```json
"group_inclusion": {
    "OpsManager": [
      "WarehouseApps",
      "OfficeApps",
      "OpenZone"
    ],
    "StoreAssociate": [
      "WarehouseApps",
      "OpenZone"
    ],
    "*": [
      "OpenZone"
    ]
  },
```

Examples:

1. A device is booted up, no one is authenticated ("\*" group) so the *OpenZone* apps will be displayed (represented by the "\*" in the group inclusions).
2. User *Joe* logs into the device, and he is a member of group "StoreAssociates", he would see the contents of "WarehouseApps" and "OpenZone" groupings.
3. User *Sara* logs into the device and she is a member of group "OpsManager", she would see the contents of "WarehouseApps", "OfficeApps" and "OpenZone" groupings.
4. User *Anna* logs into the device and she is a member of group "OpsManager and StoreAssociate", she would see the contents of "WarehouseApps", "OfficeApps" and "OpenZone" groupings.

### Displaying an Application

To display an application, all that is needed is the package name. Optional values can be used to change the label, the start activity, the icon, and the NFC Settings.\
\
To display an application, use the sample configuration below as a guide:

```json
{
    "package" : "com.bluefletch.ems.support"
}
```

### Changing the Start Activity and Label

Customizing the start activity and label can help users easily identify and access the app that they need or frequently use.

To change the start activity and label, use the sample configuration below as a guide:

```json
{
    "label" : "Vision Settings",
    "package": "com.bluefletch.ems.vision",
    "activity": "PreferenceActivity"
},
{
    "label" : "Vision Training",
    "package": "com.bluefletch.ems.vision",
    "activity": "FaceTrainActivity",
    "icon" : "/sdcard/DCIM/icons/differentLogo.png",
    "nfcEnable": true
},
```

### Customizing Web Shortcuts

Web shortcuts are URL links to web addresses. A shortcut will navigate the default web browser to the desired URL. To customize a web shortcut that can be added to the home screen layout, use the sample configuration below as a guide:

```json
{
    "label" : "BlueFletch",
    "url" : "https://bluefletch.com",
    "icon" : "/sdcard/DCIM/icons/bluefletch_logo.png"
},
```

The above example will launch the `https://bluefletch.com` website in the default system browser.

You can also specify a different browser package. If the BlueFletch Browser is being used you can also define settings for that particular browser instance:

```
{
    "label" : "BlueFletch",
    "url" : "https://bluefletch.com",
    "icon" : "/sdcard/DCIM/icons/bluefletch_logo.png",
    "browser" : "com.bluefletch.ems.browser",
    "browserOverrides" : {
       "showToolbar" : true
    }
},
```

Refer to the BlueFletch Browser [documentation](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/browser) on available override options.

### Customizing Folders

Organizing apps and shortcuts into their designated folders makes it easier to access them without having to search for them individually.

To create a folder, add the `contents` array, and add the applications or shortcuts that belong in the folder, see example configuration below as a guide:

```json
 {
        "label" : "Tools",
        "icon": "/sdcard/Download/ems/folder_icon.png",
        "contents":[
            {
                "package" : "com.symbol.datawedge"
            },
            {
                "package" : "com.symbol.tool.stagenow"
            },
            {
                "label" : "BlueFletch",
                "url" : "https://bluefletch.com",
                "icon" : "/sdcard/Download/ems/bluefletch_logo.png"
            }
        ]
    }
```

If not defined, the default thumbnail for a folder is a preview of the icons of up to four of the applications, shortcuts, and/or actions within it. However, by defining the `"icon"` field, like in the above example, one image file can be substituted as the folder icon.

### Defining Custom Actions

Actions are shortcuts to launch system actions on the Launcher home screen.

To define custom actions that can be performed on the Launcher home screen, in the example below, clicking on the this icon will adjust the audio notification to 100%:

```json
{
  "action" : "com.bluefletch.ems.AUDIO", 
  "label": "Set Full Volume", 
  "intentExtras": {
    "setting": "ADJUST_AUDIO",    
    "notification": 100
  }
}
```

Refer to the [Layout Custom Actions](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/layout-custom-actions) page for available actions that can be put into Layouts.

### Putting It All Together

For the example described above, the full configuration for the Layouts feature is as follows:

```json
    "layouts" : {
        "WarehouseApps":[ ... apps related to warehouse functions ... ],
        "OfficeApps":[ ... apps related to office functions ... ],
        "OpenZone": [ ... apps available to all users ... ]
    },
            {
                "package" : "com.symbol.wfc.pttpro"
            },
            {
                "package": "com.bluefletch.ems.deviceinformation"
            },
            {
                "label" : "Vision Settings",
                "package": "com.bluefletch.ems.vision",
                "activity": "PreferenceActivity"
            },
            {
                "label" : "Vision Training",
                "package": "com.bluefletch.ems.vision",
                "activity": "FaceTrainActivity"
            },
            {
                "label" : "Tools",
                "contents":[
                    {
                        "package":"com.bluefletch.acc.themerapp"
                    },
                    {
                        "package" : "com.bluefletch.ems.support",
                        "nfcEnable": true
                    },
                    {
                        "package" : "com.symbol.datawedge"
                    },
                    {
                        "package" : "com.symbol.tool.stagenow"
                    },
                    {
                        "package": "com.bluefletch.go"
                    }
                ]
            }
        ],

        "AppGroupB":[
            {
                "package" : "com.symbol.wfc.pttpro"
            },
            {
                "label" : "Vision Training",
                "package": "com.bluefletch.ems.vision",
                "activity": "FaceTrainActivity"
            },
            {
                "package": "com.bluefletch.ems.support",
                "nfcEnable": true
            },
            {
                "package": "com.android.calculator2"
            },
            {
                "package": "com.bluefletch.ems.deviceinformation"
            }
        ],
        "*": [
            {
                "label" : "BlueFletch",
                "url" : "https://bluefletch.com",
                "icon" : "/sdcard/DCIM/icons/bluefletch_logo.png"
            },
            {
                "package": "com.android.calculator2"
            },
            {
                "package" : "com.bluefletch.ems.support"
            },
            {
                "label" : "Tools",
                "contents":[
                    {
                        "package":"com.bluefletch.acc.themerapp"
                    },
                    {
                        "package" : "com.symbol.datawedge"
                    },
                    {
                        "package" : "com.symbol.tool.stagenow"
                    },
                    {
                        "package": "com.koushikdutta.vysor"
                    }
                ]
            }
        ]
    },
```

{% hint style="info" %}
Layouts was introduced in Launcher 2.6.x.
{% endhint %}


# Orientation Options

Launcher provides various options to rotate screen orientation.

On an unrestricted device, by default Android allows screens to rotate freely anytime the user adjusts the angle of the device.

The BlueFletch Launcher locks down Android's default rotation behavior so that the Launcher's app list and authentication screens only display in one selected orientation, usually portrait for handheld devices and landscape for tablets. To avoid confusion or mistaken taps for end-users, these screens cannot rotate freely.

However, BlueFletch provides a few options for changing the orientation of Launcher and apps within the Launcher.

## Override Orientation

The base-level configuration object [`orientationOverride`](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/technical-guide#orientation-override) defines the orientation for the Launcher for all devices of a certain model, even if that orientation would not be standard operating behavior for the Launcher.

To specify an orientation for a given model, identify the model name of the device and the orientation for that model, either `portrait` or `landscape`.

Starting in Launcher 3.25.x, `sensor` orientation is also available, which will allow Launcher to rotate based on the device orientation.

For example, all Zebra ET51 model tablets could be configured to use a portrait orientation, while ET50s will be in landscape, and Samsung SM-T580s will be using the sensor mode:

```json
  "orientationOverride": {
        "ET51": "portrait",
        "ET50": "landscape",
        "SM-T580": "sensor"
  }
```

{% hint style="warning" %}
Starting in Launcher 3.25.x, if the **`"sensor"`** orientation override is used, **Toggle Orientation**, **Rotate Portrait** and **Rotate Landscape** actions described below for that device will not be supported.
{% endhint %}

## Toggle Orientation

Starting in Launcher version 3.13.20, a toggle orientation [action object](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/technical-guide#action-object) was made available:

```json
{
      "label" : "Toggle Orientation", 
      "action": "com.bluefletch.launcher.ACTION_TOGGLE_ORIENTATION"   
}    
```

Clicking on this action button in a layout forces the Launcher to switch from whichever orientation is currently displayed to the alternative orientation. If the action is clicked while in portrait, the device orientation will switch to landscape, and vice versa.

## Specify Orientation

Starting in Launcher version 3.21.17, platform actions were added to trigger screen rotation to a specified orientation. This action can be applied as a custom intent or as an action in a layout.

[**Portrait:**](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents/custom-intents-platform-actions#applying-platform-xml-1)

```json
// CUSTOM INTENT
{
      "action": "com.bluefletch.launcher.ACTION_ROTATE_PORTRAIT",
      "typeIntent": "p"
}

// ACTION IN A LAYOUT
{
        "label": "Rotate to Portrait", 
        "action": "com.bluefletch.launcher.ACTION_ROTATE_PORTRAIT"
}
```

[**Landscape:**](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents/custom-intents-platform-actions#applying-platform-xml-2)

```json
// CUSTOM INTENT
{
      "action":"com.bluefletch.launcher.ACTION_ROTATE_LANDSCAPE",
      "typeIntent": "p"
}

// ACTION IN A LAYOUT
{
        "label": "Rotate to Landscape", 
        "action": "com.bluefletch.launcher.ACTION_ROTATE_LANDSCAPE"
}
```

## Disable Fix Orientation in Browser

Configuring the BlueFletch Browser's `fixOrientation` parameter to `false` allows the Browser to auto-rotate.

This parameter can be configured globally for the Browser:

```json
"browser": {
    ...
    "fixOrientation": false
}
```

or for a specific web shortcut:

```json
{
    "label" : "Web Shortcut",
    "url" : "https://example-web-site.com",
    "browser" : "com.bluefletch.ems.browser",
    "browserOverrides" : {
       "fixOrientation": false
    }
}
```


# Criteria

Launcher can match certain values against regular expressions to customize intents and groups

## Overview

Filtering of custom intents and definition of implied groups can be accomplished with and/or criteria and regular expressions (regex). A criterion checks the value stored in a replacement variable from the device, Launcher, the configuration file, or session object against a regex pattern to determine what device behavior or layout should apply in a specific scenario.

## Technical Guide

### **Criteria Arrays**

| Field         | Description                                                                                     |
| ------------- | ----------------------------------------------------------------------------------------------- |
| criteria\_OR  | **array** Filters for instances where at least one field matches its pattern.                   |
| criteria\_AND | **array** Filters for instances where **all** fields must must match their respective patterns. |

{% hint style="warning" %}
Both `"criteria_OR"` and `"criteria_AND"` arrays need to be included in an object, even if one is empty.
{% endhint %}

### **Criteria Object Parameters**

| Field   | Description                                                                                                              |
| ------- | ------------------------------------------------------------------------------------------------------------------------ |
| field   | **string** A replacement variable, written in the format `"_${`*`replacement variable`*`}"` (e.g. `"_${device.MODEL}"`). |
| pattern | **string** The regular expression that is desired to match the field's content.                                          |

## Examples

### Criteria for Custom Intent Filtering

<pre class="language-json"><code class="lang-json">"intents": {
    "boot": [
        // Run a StageNow XML on boot for all device models starting with "TC":
        {
            "typeIntent": "p",
            "action": "XML",
            "data": "file/path/to/stageNowFile.xml",
            "criteria_OR": [
                {
                    "field": "_${device.MODEL}",
                    "pattern": "/^TC.*$/"
                }
            ],
            "criteria_AND": []
        }
    ],
    "cradle": [
        // Rotate the Launcher to landscape on cradle for device models starting with "ET" or "CC":
        {
            "action": "com.bluefletch.launcher.ACTION_ROTATE_LANDSCAPE",
            "typeIntent": "p",
            "criteria_OR": [
                {
                    "field": "_${device.MODEL}",
                    "pattern": "/^ET.*$/"
                },
                {
                    "field": "_${device.MODEL}",
                    "pattern": "/^CC.*$/"
                }
            ],
            "criteria_AND": []
        },
        // Mute audio on cradle if device is logged out (no user ID) and is at site 1001:
        {
            "action": "MUTE_AUDIO",
            "typeIntent": "p",
            "criteria_AND": [
<strong>                {
</strong>                    "field": "_${session.userId}",
                    "pattern": "^_$"
                },
                {
                    "field": "_${config.ex.siteId}",
                    "pattern": "1001"
                }
            ],
            "criteria_OR": []            
        }
    ]                 
}
</code></pre>

### Criteria for Implied Groups

```json
"impliedGroups" : [
    // Display this group's layout if the session object's group name contains "Blue" or "BLUE": 
    {
        "group": "ContainsBLUE_or_Blue_Group",
        "criteria_OR": [
            { "field": "${session.groups}", "pattern": ".*Blue.*|.*BLUE.*" }
        ],
        "criteria_AND": [] 
    },  
    // Display this group's layout if the session object's passwordExpiration attribute contains one or more digits:
    {
        "group": "ContainsNumber_Group",
        "criteria_OR": [
            { "field": "${session.ex.passwordExpiration}", "pattern": "[0-9]+" }
        ],
        "criteria_AND": []
    },
    // Display this group's layout if the session object's group name ends with "Managers"
    // OR the site ID is 1133:
    {
        "group": "EndsWithManager_Or_isSite113_Group",
        "criteria_OR": [
            { "field": "${session.groups}", "pattern": ".*Managers$" },
            { "field": "${config.ex.siteId}", "pattern": "1133" }
        ],
        "criteria_AND": []
    },
    // Display this group's layout if the session object's group name contains "VTV"
    // AND the site name is "Pilot"
    // OR if group name contains "Managers":
    {
        "group": "Pilot_VTV_And_Managers",
        "criteria_AND": [
            { "field": "${session.groups}", "pattern": ".*VTV.*" },
            { "field": "${config.ex.siteName}", "pattern": "Pilot" }
        ],
        "criteria_OR": [
            { "field": "${session.groups}", "pattern": ".*Managers.*" }
        ]
    }
]
```


# Widgets

Widgets are additional layout objects that can provide 'at-a-glance' views and additional functionality to just application icons.

## Overview

The BlueFletch Launcher configuration allows placement of different kinds of widgets on the home screen for the user. Like applications and shortcuts, these can configured to be role-based, such that front-line workers may see widgets related to pending or pickup orders, while managers may see high level metrics about the current store operations.

Unlike other Launchers, the BlueFletch Launcher allows the administrator to pre-define the widget configuration and not have to rely on the user to place the widgets themselves.

## Configuring a Widget

Widgets are just another layout object to be included in the `layouts` section of the launcher configuration file. Each widget layout object consists of the following:

<table><thead><tr><th width="255">Field</th><th>Description</th></tr></thead><tbody><tr><td>widgetId</td><td><strong>string</strong> a unique string identifier for this widget. This must be unique across all widgets in the configuration file, and is also used to send data updates to a widget.</td></tr><tr><td>widgetType</td><td><strong>string</strong> describes the type of widget to render. Current available values are: <code>app, list, text, login, session, toolbar, bannerLarge, webview</code></td></tr><tr><td>columnSpan</td><td><strong>number</strong> the number of columns this widget will occupy. This is based on the number of columns specified in the <code>layoutSettings</code> configuration.</td></tr><tr><td>rowSpan</td><td><strong>number</strong> the number of rows this widget will occupy. Each row is one icon high.</td></tr><tr><td>widgetParams</td><td><strong>object</strong> this is a JSON object that contains additional parameters to configure the widget. This object changes based on the <code>widgetType</code> specified above. Available starting in Launcher version 3.22.x.</td></tr></tbody></table>

{% hint style="info" %}
`widgetParams` values also support configuration and session [replacement values](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/replacement-values).
{% endhint %}

Launcher has the ability to host different kinds of widgets. The Launcher can host native application widgets (e.g. widgets that are built into an application). Launcher has other pre-built widgets designed specifically for shared device use.

## Native Application Widgets

These are widgets built into applications that follow the App Widget SDK guidelines from Android as defined in <https://developer.android.com/develop/ui/views/appwidgets/overview>.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FQ21rGFJfgheAJ81OJw94%2FScreen%20Shot%202023-08-17%20at%204.00.17%20PM.png?alt=media&amp;token=aa2efff4-836d-44d3-9cc7-65c2e007b323" alt="" width="375"><figcaption><p>Launcher displaying the Digital Clock Widget</p></figcaption></figure>

To configure an application widget, use the `widgetType = app` and define the `widgetParams` as follows:

```json

{
    "widgetId" : "digital-clock",
    "widgetType" : "app",
    "columnSpan" : 3,
    "rowSpan" : 1,
    "widgetParams" : {
        "package" : "com.google.android.deskclock"
    }
}
```

The `widgetParams` object for type `app` consists of the following:

<table><thead><tr><th width="296">Field</th><th>Description</th></tr></thead><tbody><tr><td>package</td><td><strong>string</strong> the package name of the application containing the widget.</td></tr><tr><td>componentName</td><td><strong>string (optional)</strong> the full component name of the widget inside the application. This is not required if there is only one widget in the application. If an application has multiple available widgets, specify the full component name here, otherwise the Launcher will use the first enumerated widget.</td></tr></tbody></table>

Below is an example of the clock widget, specifying the analog clock widget provider (instead of the digital clock):

```json
{
    "widgetId" : "analog-clock",
    "widgetType" : "app",
    "columnSpan" : 2,
    "rowSpan" : 2,
    "widgetParams" : {
        "package" : "com.google.android.deskclock",
        "componentName" : "com.google.android.alarmclock.AnalogAppWidgetProvider"
    }
}
```

## Custom Launcher Widgets

These are widgets that are built into the Launcher to allow you to take advantage of widgets without requiring additional native development of widgets into your applications, with several that can be updated by a simple broadcast intent. The following custom Launcher widgets are currently available:

### Text Widget

This widget can be used to display text or a simple value/text combination or an icon/text combination, and can run a [custom intent](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents) when the widget is tapped.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FU3iBxGd4fbTI0VxzRygv%2FScreen%20Shot%202023-08-17%20at%204.11.13%20PM.png?alt=media&amp;token=e9ca096f-afcd-4836-935a-21ad0b15886c" alt="" width="375"><figcaption><p>Launcher displaying three Text-type widgets (Pending Orders, For Pickup) and as a Message text.</p></figcaption></figure>

To display a simple text in a widget, specify the title in the widget params:

```json
{
    "widgetId" : "simple-text-1",
    "widgetType" : "text",
    "columnSpan" : 4,
    "rowSpan" : 1,
    "widgetParams" : {
        "defaultTitle" : "Cycle count is due for Aisle 5",
        "onItemClick" : {
            .. Custom Intent Object ..
        }
    }
}
```

To display a simple value/text in a widget, specify the value in the widget params as well as the command to launch the BOPIS application when tapped:

```json
{
    "widgetId" : "simple-text-1",
    "widgetType" : "text",
    "columnSpan" : 2,
    "rowSpan" : 1,
    "widgetParams" : {
        "defaultValue": "23"
        "defaultTitle" : "Pending Orders",
        "onItemClick" : {
            "typeIntent" : "a",
            "package" : "com.mycompany.fulfillmentapp"
        }
    }
}
```

The `widgetParams` object for type `text` consists of the following:

<table><thead><tr><th width="296">Field</th><th>Description</th></tr></thead><tbody><tr><td>defaultTitle</td><td><strong>string</strong> The text to display at the bottom of the widget.</td></tr><tr><td>defaultValue</td><td><strong>string (optional)</strong> If specified, will display the value in large font above the widget. if not specified or blank, the value will be hidden.</td></tr><tr><td>icon</td><td><strong>string (optional)</strong> URL, file path or asset name of the icon image to display. If specified will display the icon above the title. If not specified or blank, the icon will be hidden.</td></tr><tr><td>iconSize</td><td><strong>string (optional)</strong> Size in dp for the icon, if specified. Note that the icon shall always be rendered in a square container.</td></tr><tr><td>onItemClick</td><td><strong>object</strong> A custom intent object that will be triggered when the user taps on the widget. For more information on a configuring a custom intent, refer to this <a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents">link</a>.</td></tr><tr><td>defaultColor</td><td><strong>string</strong> The font color, in hex code format, of the widget's title and value text. Default is white (#FFFFFF)</td></tr><tr><td>backgroundColor</td><td><strong>string</strong> The color, in hex code format, of the widget's translucent background.</td></tr></tbody></table>

{% hint style="info" %}
Note that you can use [replacement values](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/replacement-values) for each of the widget params.
{% endhint %}

### Webview Widget

This widget allows you to display a webpage directly on the Launcher home screen.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FHcsnhXWXy2NUxPrgdpsS%2Fimage.png?alt=media&amp;token=104c714c-f622-472a-8271-df795cac5a23" alt="" width="375"><figcaption><p>A webview type widget displaying the BlueFletch about page.</p></figcaption></figure>

You can display a webview widget using the configuration below, by specifying the type `webview`

```json
{
    "widgetId" : "web-widget",
    "widgetType" : "webview",
    "columnSpan" : 4,
    "rowSpan" : 3,
    "widgetParams" : {
        "url" : "https://bluefletch.com",
        "allowInteraction" : true,
        "onItemClick" : {
            "typeIntent" : "a",
            "package" : "com.mycompany.fulfillmentapp"
        }
    }
}
```

The `widgetParams` object for type `webview` consists of the following:

<table><thead><tr><th width="296">Field</th><th>Description</th></tr></thead><tbody><tr><td>url</td><td><strong>string</strong> The URL of the webpage to be displayed in the webview</td></tr><tr><td>allowInteraction</td><td><strong>boolean</strong> If set to true, will allow the user to interact with the page like a normal browser, e.g. scroll and tap within the page. Default is <code>false</code>.</td></tr><tr><td>onItemClick</td><td><p><strong>object</strong> A custom intent object that will be triggered when the user taps on the widget. If using this function, <code>allowInteractions</code> must be set to false.</p><p>For more information on a configuring a custom intent, refer to this <a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents">link</a>.</p></td></tr></tbody></table>

### Open Zone Banner Widget

This widget replaces the current fixed header with a widget and comes standard with your default Launcher installation. Beginning Launcher 3.22.x, you can now specify a widget as the header for the open zone by defining a widget within the `"header"` array at the base level of the launcher configuration.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FRzbuuIDkRlkAG3DuEJSs%2FScreen%20Shot%202023-08-17%20at%2012.36.55%20AM.png?alt=media&amp;token=53c782ba-247a-4be5-bf55-78e823dbaa7a" alt="" width="375"><figcaption><p>Large Banner widget for Open Zone</p></figcaption></figure>

This is configured in Launcher using the following widget configuration, which includes criteria to check that there is no user session:

```json
"header": [
    {
        "id": "default_openzone",
        "layout": {
            "widgetId": "openzone-banner",
            "widgetType": "bannerLarge",
            "columnSpan": 1,
            "rowSpan": 1,
            "widgetParams": {
                "bannerText" : "${launcherState.formattedText}",
                "bannerImage" : "${launcherState.theme.logo}",
                "bannerTitleFontSize": 20,
                "bannerTextFontSize": 15,
                "buttonColor" : "${launcherState.theme.accentColor}",
                "enterButtonText": "Touch to Login",
                "isAuthPresent" : "${launcherState.isAuthPresent}"
            }
        },
        "criteria_OR": [
            {
                "field": "_${session.userId}",
                "pattern": "^_$"
            }
        ]
    }
    ...
]
```

The `widgetParams` object for type `bannerLarge` consists of the following:

<table><thead><tr><th width="296">Field</th><th>Description</th></tr></thead><tbody><tr><td>bannerImage</td><td><strong>string</strong> A URL, filepath or asset for the image logo</td></tr><tr><td>bannerText</td><td><strong>string (optional)</strong> The text to display between the logo and the Login button. You can use replacement variables here to be able to display dynamic information like site, serial number, etc.</td></tr><tr><td>useDarkText</td><td><strong>boolean</strong> If set to <code>true</code>, will render the bannerText in dark text to contrast a white wallpaper, otherwise will render the bannerText in light text.</td></tr><tr><td>buttonColor</td><td><strong>string</strong> Hexidecimal representation of a color for the button. The button text will automatically change color based on the appropriate contrast level.</td></tr><tr><td>backgroundColor</td><td><strong>string</strong> Hexadecimal representation of the background. To change the background opacity, add the alpha value as the first two values in the hex string, e.g. #50FFFFFF</td></tr><tr><td>isAuthPresent</td><td><strong>boolean</strong> If <code>true</code>, the login button is present in the header; if <code>false</code>, login button is hidden. By using a launcherState variable, Launcher will dynamically set the boolean value based on installation status of the Auth app. Introduced in Launcher version 3.24.11.</td></tr></tbody></table>

### Session Widget

This widget can display your current session information, along with a button to be able to log out or exit your current session. You are able to specify one headline and two additional sub-text under the headline.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FsmTwbSLS2PPWNm0YVryL%2Fimage.png?alt=media&amp;token=06107be6-8b6f-42d3-a4a2-3ec3186d7f1e" alt="" width="375"><figcaption><p>Session Widget as Header</p></figcaption></figure>

This widget can be configured in Launcher using criteria to check for a current user session, and is represented by the following widget configuration:

```json
"header": [
    ...
    {
        "id": "default_authorized",
        "layout": {
              "widgetId": "session-banner",
              "widgetType": "session",
              "columnSpan": 1,
              "rowSpan": 1,
              "widgetParams": {
                  "heading" : "${session.userName}",
                  "subtitle1" : "${launcherState.formattedText}",
                  "subtitle2" : "",
                  "exitButtonText" : "${res.launcher_base_launcher_button_logout}",
                  "exitButtonColor" : "${launcherState.theme.accentColor}"
              },
              "criteria_OR": [
                {
                  "field": "_${session.userId}",
                  "pattern": "^_.+$"
                }
              ]
         }
     }
 ] 
```

### Space Widget

The "space" widget type can be used to display an empty space the size of one or more application icons on a layout. This is useful for creating a separation between groups of apps to differentiate their purposes (for example, a delineation between inventory apps and point of sale apps). In particular, if enough icon fields are taken up by the widget, page break is created between the groups.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FE2d0MeKAXv5asCxmqiZ3%2FScreenshot%202025-07-23%20at%202.26.12%E2%80%AFPM.png?alt=media&amp;token=5a9cbfcd-51e3-40c7-9cac-b95fa12938a1" alt="" width="375"><figcaption></figcaption></figure>

The dimensions of the widget are defined by `rowSpan` (horizontal width) and `columnSpan` (vertical height). `widgetId` can be any string to descriptively name the widget.

```json
{
    "widgetId": "space_1x1",
    "widgetType": "space",
    "rowSpan": 1,
    "columnSpan": 1
}
```

{% hint style="info" %}
The widget type "space" is introduced in Launcher version 3.26.24.
{% endhint %}


# Implied Groups

Implied Groups is a Launcher feature that supports inclusion of additional layout groups.

## Overview

During login, Launcher can look for certain characteristics associated with a user such as being part of a specific group or having certain attributes assigned to them. These are selected from the user’s session object and validated using regular expressions. If there is a match, Launcher will include the corresponding layout associated with the implied group name.

## User Guide

Implied Groups is a Launcher feature that creates layouts that users can access based on their session object. For example, you can create a layout that only contains links to applications that are used by a specific group of users. Or, you can create a layout that only contains information that is relevant to a specific location.

1. Define the group and criteria in the configuration.
2. Create a list of layouts with the same name as the group.
3. Specify the criteria by identifying the attribute to evaluate for the group.
4. When a user logs in, Launcher will check the user's session object against the criteria.
5. If the user's session object matches the criteria, the corresponding layout group will be added to the Launcher.

## Feature Configuration

To set up the Implied Groups feature for a particular device profile or device group, please follow the steps below:

### Defining Implied Groups Based on Session Attributes

You can determine the groups that can be assigned to a user by checking the user's session object against specific [criteria](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/criteria) or conditions. An example configuration is shown below:

<pre class="language-json"><code class="lang-json">...
<strong>"impliedGroups" : [
</strong>    {
        "group" : "ContainsBLUE_or_Blue_Group",
        "criteria_OR" : [
            { "field" : "${session.groups}", "pattern" : ".*Blue.*|.*BLUE.*" }
        ]
    },  
    {
        "group" : "ContainsNumber_Group",
        "criteria_OR" : [
            { "field" : "${session.ex.passwordExpiration}", "pattern" : "[0-9]+" }
        ]
    },
    {
        "group" : "VTV_1133_Group",
        "criteria_AND" : [
            { "field" : "${session.groups}", "pattern" : ".*VTV.*" },
            { "field" : "${config.ex.siteId}", "pattern" : "1133" }
        ]
    },
    {
        "group" : "EndsWithManager_Group",
        "criteria_OR" : [
            { "field" : "${session.groups}", "pattern" : ".*Managers.*" }
        ]
    }
]
</code></pre>

Examples:

1. If a user's session object contains the group "Blue" or "BLUE", the "ContainsBLUE\_or\_Blue\_Group" layout group will be added to the Launcher.
2. If a user's session object contains a number in the "passwordExpiration" attribute, the "ContainsNumber\_Group" layout group will be added to the Launcher.
3. If a user's session object contains a group "VTV" and the user is in Site 1133, the "VTV\_1133\_Group" layout group will be added to the Launcher.
4. If a user's session object contains a group "Managers", the "EndsWithManager\_Group" layout group will be added to the Launcher.

### Criteria Format

When defining the criteria for an implied group, you can use the `criteria_OR` and `criteria_AND` operators, and specify multiple criteria objects:

`criteria_OR` - will apply this group if any of the criteria objects match the patterns

`criteria_AND` - will apply this group only if all the criteria objects match the patterns

*

```json
    {
        "group" : "Pilot_VTV_And_Managers",
        // This group
        "criteria_AND" : [
            { "field" : "${session.groups}", "pattern" : ".*VTV.*" },
            { "field" : "${config.ex.siteName}", "pattern" : "Pilot" }
        ],
        "criteria_OR" : [
            { "field" : "${session.groups}", "pattern" : ".*Manager.*" }
        ]
    }
```

In the above example, the `Pilot_VTV_And_Managers` group gets applied when *either* of the conditions are true:

* If group contains `VTV` AND the current site is `Pilot`
* If group contains `Manager`

{% hint style="info" %}
Implied Groups was introduced in Launcher version 3.19.15.
{% endhint %}


# Kiosk Mode

Kiosk Mode is a Launcher feature that locks down the device and restricts user access to predefined applications/shortcuts.

## Overview <a href="#overview-0" id="overview-0"></a>

Enterprises rely on mobile handhelds and tablets to meet the workforce demands of frontline environments. However, these devices need to be set up with the proper functionality to cultivate the best user and customer experience and prevent misuse. Kiosk Mode is a Launcher feature that gives an organization control over what applications can or cannot be accessed on their company-owned devices.

{% hint style="info" %}

### Use Cases

Kiosk Mode is commonly deployed on tablet devices or large format touchscreen displays located in common areas. Applications can be consolidated under two broad categories:

1. Employee-facing: inventory management, field service management, transport, and logistics
2. Customer-facing: digital signage, self-check-ins/check-outs at hotels or retail stores, ticket booking kiosks at movie theaters or airports, restaurant ordering systems, etc.
   {% endhint %}

## User Guide <a href="#user-guide-1" id="user-guide-1"></a>

Kiosk Mode allows IT administrators to restrict user access to predefined applications or shortcuts. This feature transforms the device into a purpose-specific machine that necessitates end-users to perform operations and actions that have been approved by the organization on their devices that have been activated with Kiosk lock.

1. If this feature is enabled within the configuration, the device will go into Kiosk mode.
2. To get out of Kiosk mode, press the Home button or exit the app. Then press the ‘Exit Kiosk’ button. The user will be prompted to enter the pre-defined Exit Kiosk pin code.
3. See Launcher Configurations on [Applications](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/technical-guide#application-object) and [Web Shortcuts](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/technical-guide#web-shortcut-object) for more information on the flag.

## Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up Kiosk Mode for a particular device profile or device group, please follow the steps below:

### **Enabling Kiosk Mode** <a href="#enabling-kiosk-mode-3" id="enabling-kiosk-mode-3"></a>

Kiosk Mode feature can be enabled or disabled within the Launcher configuration for an Application or Shortcut. If kiosk is set to true, the device will be placed into Kiosk Mode.

```json
    "layouts": {
        "StoreAssociates": [
            {
                "label": "Self-Checkout App",
                "package": "com.bluefletch.customer.checkout",
                "kiosk": true
      
            }
        ]
    },
```

{% hint style="info" %}
Kiosk Mode was introduced in Launcher 2.12.x.
{% endhint %}


# Persistent Foreground App

Persistent Foreground app enables an app package to be always displayed on the foreground in both Secured and Open Zones.

This feature designates a specific app package to be persistently displayed on the foreground, ensuring it remains continuously visible on the screen. This functionality works in both Secured and Open Zones. After a user login, the persistent foreground app will be determined based on configurable criteria, such as user group. This ensures that the app package is readily accessible for specific user groups within secured environments, and provides consistent app access in Open Zones.

### Secured Zone

In secured environments, the persistent foreground app is only displayed for users belonging to specific groups as defined by the administrator.

The sample configuration below displays the persistent app in the Secured Zone. User group restrictions are enforced here, ensuring only authorized users see the app.

```json
"persistedForegroundApp": {
        "intent": {
            "action": "android.intent.action.VIEW",
            "package": "com.bluefletch.ems.support",
            "data": "<data>",
            "flags": 1,
            "typeIntent": "a"
        },
        "criteria_OR": [
            {
                "field": "${session.groups}",
                "pattern": ".*Associates.*"
            }
        ]
    },
```

### Open Zone

In open environments, the persistent foreground app is displayed for all users after login, regardless of group affiliation.

The sample configuration below displays the persistent app in the Open Zone. There are no restrictions to whoever can view the persistent app.

```json
""persistedForegroundApp": {
    "intent": {
          "package": "com.bluefletch.ems.support",
          "flags": 335544320,
          "typeIntent": "a"
      },
    "criteria_OR": [
      {
          "field": "${session.groups}",
          "pattern": ".*\\*.*"
      }
    ]
  },
```

> Note: If the package is not found or uninstalled, the screen will display the Open or Secured Zone layout, respectively.


# Password Protected Applications

Password Protected Applications is a Launcher feature that requires password entry before launching any application, shortcut, or folder.

## Overview <a href="#overview-0" id="overview-0"></a>

\
Password Protected Applications is a Launcher feature that ensures only authorized users can access certain files, programs, or device settings. It requires users to enter a password before launching any application, shortcut, or folder. This helps protect sensitive data from unauthorized use and provides greater security for users.

## User Guide <a href="#user-guide-1" id="user-guide-1"></a>

Password protection is crucial for businesses that need to safeguard important company files such as customer information or financial data. The Password Protected Applications feature helps secure corporate information or sensitive data on Android enterprise devices.

1. When a user selects an item that is password protected, a dialog will open and prompt the user to enter a password.
2. The user has 3 attempts at entering the password correctly before the dialog closes.
3. After the dialog closes, the user can select the item again to enter the correct password.

## Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up the Password Protected Applications feature for a particular device profile or device group, please follow the steps below:

### Setting Up Password-Protected Items <a href="#setting-up-password-protected-items-3" id="setting-up-password-protected-items-3"></a>

To set up password-protected applications, shortcuts, and folders, administrators must add the password in the configuration using the SHA256 format:

```json
"layouts" : {
    "Associates": [
        {
            "package": "com.bluefletch.ems.support",
            "password": "d9b5f58f0b38198293971865a14074f59eba3e82595becbe86ae51f1d9f1f65e",
        }
    ]
} 
```

### Disabling Notification Alarm

The Secure Device alarm is automatically disabled when a user enters the correct password for a password-protected application in the Open Zone. If a user successfully enters the password before the timer ends, the notification will be dismissed and will not be shown while the password protected app is being used.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FmXgRfSXz4PFznXLyFkgN%2Fimage.png?alt=media&amp;token=f17f0680-a406-442b-a0d2-a5dbb9ec0601" alt="" width="360"><figcaption></figcaption></figure>

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F7awA9PGLDycxYrLR4kud%2Fimage%20(1).png?alt=media&amp;token=b8cf1fb0-5375-485a-9d93-8e1f1e5cfedb" alt="" width="360"><figcaption></figcaption></figure>

{% hint style="info" %}
Password Protected Applications Feature was introduced in Launcher 3.13.24.
{% endhint %}


# Quick Start Applications Folder

Quick Start Applications Folder is a Launcher feature that allows commonly-used applications to be pinned to the home screen.

## Overview <a href="#overview-0" id="overview-0"></a>

Quick Start Applications Folder is a Launcher feature that allows frequently-used applications to be pinned to the Home screen. It helps users save time from swiping through multiple pages of apps.

## User Guide <a href="#user-guide-1" id="user-guide-1"></a>

1. IT Administrators can define the settings for the Quick Start Applications Folder feature on the Enterprise Launcher Configuration page in the BlueFletch Portal.
2. Alternatively, changes can also be made directly to the launcher.json file of the organization's preferred editor.
3. This feature, like the Favorites application bar on a standard Android launcher, appears at the bottom of the home screen. It stays there while users scroll through their list of applications.
4. The maximum number of apps that can be stored in the folder is determined by the number of columns of apps per page plus one.
5. For example, if a device typically shows 3 columns of apps per page, then the folder can hold a maximum of 4 visible apps in the folder.

## Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up the Quick Start Applications Folder feature for a particular device profile or device group, please follow the steps below:

### Configuring the Quick Start Applications Folder <a href="#configuring-the-quick-start-applications-folder-3" id="configuring-the-quick-start-applications-folder-3"></a>

To identify a folder within any layout group as the Quick Start Applications Folder, set quickStartFolder to true. It will apply to a specific group only (e.g., if inside an ‘Associates’ group, it will only apply to layouts that include ‘Associates’).

```json
"AssociateApps": [
    ...
    {
        "label": "Quick Start Tools",
        "quickStartFolder": true,
        "contents": [ ... ] 
    }, 
```

Note: Only one folder can be displayed on a Home screen so if multiple folders in a group have this setting as true, the first one on the list will be displayed on the Launcher.

You can also set up password protection for quickstart icons as described [here](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/password-protected-applications#setting-up-password-protected-items-3).

### Defining Icon Size <a href="#defining-icon-size-5" id="defining-icon-size-5"></a>

You can customize the size of the icons on the folder, whether they will be smaller, bigger, or of the same size as the rest of the icons. If empty, undefined, or invalid, this setting defaults to the standard icon size. The default configuration is shown below:

```json
"quickStartIconSize": "normal"
    },
```

## Full Configuration <a href="#full-configuration-6" id="full-configuration-6"></a>

A sample full configuration for Quick Start Applications Folder is as follows:

```json
"AssociateApps": [

    ...

    {
        "label": "Quick Start Tools",
        "quickStartFolder": true,
        "contents": [

            ...

            {
                "package": "com.bluefletch.launcher",
                "activity": "com.bluefletch.baselauncher.search.SearchActivity",
                "label": "Search"
            }
        ]
    }
]

```

{% hint style="info" %}
Quick Start Applications Folder was introduced in Launcher v3.13.9.
{% endhint %}


# Layout Custom Actions

Layout Custom Actions are platform actions that can be surfaced as icons on the Launcher home screen.

## Overview

BlueFletch supports Layout Custom Actions that can be used to launch system actions on the Launcher home screen.

## User Guide

To create a Layout Custom Action, you will need to specify the action name that will be displayed on the Launcher home screen and the action type that will be executed.

After creating a Layout Custom Action, it can be assigned to a layout. For example, if you assign a custom action to the "Login" layout, it will be executed when the user logs in to the device.

## Feature Configuration

The Launcher configuration allows you to define the Layout Custom Actions that can be performed or executed. Use the examples below as a guide:

### Run XML

The custom action com.bluefletch.ems.RUN\_XML allows for running an XML file, such as Stage Now profile, as a layout action shortcut. The layout item also requires an intent extra that defines the file location:

```json
{
    "label": "Stage Now - Turn On Autorotate",
    "action": "com.bluefletch.ems.RUN_XML",
    "intentExtras": { 
        "file": "/sdcard/Download/ems/autorotateOn.xml"
    }
}
```

Alternatively, the same XML file can be referenced using [Assets Manager](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/assets-manager):

```json
{
    "label": "Stage Now - Turn On Autorotate",
    "action": "com.bluefletch.ems.RUN_XML",
    "intentExtras": { 
        "file": "assets:autorotateOn"
    }
}
```

### Adjust Audio

The custom action com.bluefletch.ems.AUDIO can be used to adjust the volume of notification sounds, system sounds, or alarms. In the example below, the volume for notifications will be audible at full volume which is 100%, while the volume for other sounds can be adjusted to 50% only.

```json
{
  "action" : "com.bluefletch.ems.AUDIO", 
  "label": "Audio - Half Volume (Except Notifications)", 
  "intentExtras": {
    "setting": "ADJUST_AUDIO",    
    "notification": 100,    
    "others": 50
  }
}
```

The custom action com.bluefletch.ems.AUDIO supports the intentExtras key-value pairs. The "setting" key-value pair specifies the type of audio setting that should be adjusted while the other key-value pairs specify the volume level for the corresponding sound. The volume level is specified as a whole number, where 0 is the lowest volume level and 100 is the highest volume level.

* "setting": Set value to "ADJUST\_AUDIO".
* "notification": Value defines notification volume level by the whole number.
* "music": Value defines music volume level by the whole number.
* "ring": Value defines ringtone volume level by the whole number.
* "system": Value defines system volume level by the whole number.
* "dtmf": Value defines dual-tone multi-frequency volume level by the whole number.
* "call": Value defines call volume level by the whole number.
* "alarm": Value defines alarm volume level by the whole number.
* "others": Value defines all volume levels not defined elsewhere by whole numbers.

### Open WIFI Settings

BlueFletch also currently supports the custom action android.settings.WIFI\_SETTINGS. When it is invoked, this will allow users to access the Wi-Fi settings from their devices. If wifiSettingsEnabled is set to true, end users can edit within the Wi-Fi Settings UI. False indicates no permission to change the Wi-Fi settings.\
\
In the example below, all users belonging to the Admin layout can access and/or edit the Wi-Fi settings.

```json
"layouts" : {
    ...

    "ADMIN":[
      {
        "label" : "Wifi Settings",
        "action": "android.settings.WIFI_SETTINGS",
        "icon" : "com.android.settings",
        "wifiSettingsEnabled": true
      }
```

In the example below, users are allowed to view but not change the Wi-Fi settings.

```json
  "layouts" : {
    ...

    "*": [
        {
            "label" : "Wifi Settings-ReadOnly",
            "action": "android.settings.WIFI_SETTINGS",
            "icon" : "com.android.settings",
            "wifiSettingsEnabled": false,
            "password": "ef92b778bafe771e89245b89ecbc08a44a4e166c06659911881f383d4473e94f"
       }
    ]
  },
```

### Open Bluetooth Settings

BlueFletch also currently supports android.settings.BLUETOOTH\_SETTINGS. When this custom action is enabled, it would open the Bluetooth settings screen on the current device.

{% hint style="danger" %}
**Caution:** Handling of Android Settings API shortcuts such as `android.settings.WIFI_SETTINGS` or `android.settings.BLUETOOTH_SETTINGS` differs across Android OS versions, OEMs, and even patch versions within the same OEM; sometimes full access to the Android Settings app and even to the Quick Settings tiles is allowed.

BlueFletch recommends that Android Settings API shortcuts be placed in [layouts](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/layouts) for **manager** roles *or* have a [**password**](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/password-protected-applications) set, which only managers know, if the shortcuts are in the Open Zone.

BlueFletch does **NOT** recommend placing these shortcuts in the Open Zone without protections in place due to the risk of users reaching full Android Settings.
{% endhint %}

### Set Language

The custom action com.bluefletch.ems.LANGUAGE will set the device language at the OS level and apply translations to BlueFletch apps. Use Zebra-supported language/locale codes (e.g. "en\_US", "fr\_CA", "es\_US")

```json
{
    "action" : "com.bluefletch.ems.LANGUAGE",
    "label": "French (Canada)",
    "intentExtras": {
     "lang": "fr_CA"
   }
}
```

{% hint style="info" %}
Available in Launcher 3.25.15. Only available on Zebra devices.
{% endhint %}

### Other Actions

Android Developer documentation provides a list of other [Android Settings actions](https://developer.android.com/reference/android/provider/Settings#constants_1), although some actions may not currently be fully supported by BlueFletch.


# Replacement Values

Replacement values are references to device, session, or configuration attributes that Launcher can read and display.

The BlueFletch Launcher supports a variety of replacement variables, or values that can be utilized by widgets, custom intents, layout items, and custom fields. These variables act as placeholders for actual values stored in the referenced location. This is a list of the supported values, which fall within the categories of Device, Session, and Extended attributes.

## Device Attributes

* **${device.*****key\_name\_here*****}**
* Includes:
  * device.MODEL
  * device.BRAND
  * device.MANUFACTURER
  * device.HARDWARE
  * device.SDK\_INT
  * device.SECURITY\_PATCH

## Session Attributes

All Extended Attributes from session object are available as:

* **${session.ex.*****key\_name\_here*****}**
* Example: ${session.ex.accessToken}

Main session attributes:

* **${session.*****key\_name\_here*****}**
* Includes:
  * session.userId
  * session.userName
  * session.role
  * session.groups
  * session.location
  * session.extension

## Extended Attributes

* **${config.ex.*****key\_name\_here*****}**
* Includes by default:
  * config.ex.siteId
  * config.ex.deviceId
    * To add device ID to the header

      ```json
          "customField": {
              "format": "${config.ex.deviceId}"
          },
      ```
  * config.ex.phoneNumber
    * starting in Launcher version 3.26.24
  * Other key-value strings can be added to the `extendedAttributes` object in the the launcher.json.
* Any columns added to the sitelist.csv become extended attributes:
  * config.ex.*COLUMN\_NAME*


# Assets Manager

Assets Manager is a Launcher feature that manages selected UI assets and files.

## Overview

Assets Manager is a Launcher feature that enables BlueFletch to download images and files to a device and use those assets for display purposes.

## User Guide

Assets Manager is used for importing, managing, and using resources on a device.

1. The Launcher configuration contains a collection of assets needed for the Launcher to work properly. These are files or images with designated names and values that represent their location on the internet.
2. When the Launcher starts up or detects a change in the configuration, it will read through the assets and download the files or images to a folder inside the device called the assets directory.
3. The Launcher uses the assets directory to obtain the appropriate icon or image that needs to be displayed on the home screen.
4. Assets allow the Launcher to reference files such as images and audio clips by URL, which is helpful in Android 11 and above because the operating system restricts access to external storage.

## Feature Configuration

To set up the Assets Manager feature for a particular device profile or device group, please follow the steps below:

### Configuring the UI Assets and Files

Asset Manager defines a file location that the Launcher can then retrieve by a reference name. In the `"assets"` block of the Launcher configuration, give an asset a name (any string) and list a location to retrieve the asset, either the URL or file path on the device:

```json
 "assets": {
        "imageName": "https://somewhere.com/image.png",
        "anotherImage": "https://somewhere.com/image2.png",
        "backgroundImage": "/sdcard/Download/ems/corporate_wallpaper.png",
        "logoImage": "/sdcard/Download/ems/corporate_logo.jpg"
 }
```

### Using the Assets for Theming

When [configuring theming](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/theming/configure-theme) with parameters such as `"wallpaperImage"` or `"logo"`, an asset can be referenced by name in the `"theme"` object:

```json
 "theme": {
        "logo": "assets:logoImage",
        ...
 }
```

### Using the Assets Within a Layout Item

The package name must be specified within a layout item while the specific asset must be set within the icon field. This will enable the Launcher to use icons or images in the assets directory.

<pre class="language-json"><code class="lang-json"><strong> "layouts": {
</strong><strong>        "Associates": [
</strong><strong>                {
</strong>                       "package": "com.google.android.music",
                       "icon": "assets:anotherImage"
                },
                ...
         ]
}
</code></pre>

{% hint style="info" %}
Assets Manager was introduced in Launcher 3.10.10.
{% endhint %}


# Theming

BlueFletch Launcher offers robust theming capabilities that allow you to customize its appearance to align with your company's branding guidelines. You can upload your own logo, wallpaper, and color scheme via the Launcher configuration. Additionally, if you leverage the Site Awareness feature, you can create distinct themes based on the site or location of the device. This provides a personalized and cohesive user experience across your enterprise Android devices.

**Base Theme:** The default theme configuration.

**Custom Field Display:** This feature enables the Launcher to display device-specific content or messages in a customizable format on the home screen so you can easily access relevant information at a glance.

**Site-Specific Theming:** This feature enables the admin to set themes for the device such as the logo, theme colors, and wallpaper.


# Configure Theme

This allows admin to set themes for the device such as the logo, theme colors, and wallpaper.

## Overview

You can define and customize separate wallpapers for the main and lock screens to match an organization’s needs or preferences.

## User Guide

You can customize the Launcher UI to match your organization’s branding. These include the company logo, height of the logo, background color, and accent color.

1. If this feature is enabled in the configuration, theme support will be available.
2. You can specify the company logo, the height of the logo in pixels, the background color, and the accent color.
3. Once you have set these values, the Launcher UI will be themed according to your specifications.

## Feature Configuration

To set up the Theme feature for a particular device profile or device group, please follow the steps below:

### Enabling Theme Support

Theme support can be enabled or disabled within the Launcher configuration. If theme is set to true, theme support will be available.

```json
"theme": {
    "enable": "true",
```

### Setting Up the Background Theme

If darkTheme is set to true, the device changes all element text colors to black. If darkTheme is set to false, the device will use a light background.

```json
 "darkTheme": false,
```

### Setting Up the Wallpaper Image

To set up the wallpaper image for the Launcher UI, specify the name, local path, or URL of the image. There are also built-in wallpaper images available such as bubble, topology, messe, or swirl.

Example using Assets Manager:

```json
 "wallpaperImage": "assets:wallpaper",
```

Example using a local file:

```json
 "wallpaperImage": "/sdcard/Download/ems/wallpaper.png",
```

### Setting Up the Logo

To set up a company-specific logo for the Launcher UI, add the image from the assets folder. For example:

```json
 "logo": "assets:logo",
```

### Setting Up the Accent Color

To set up a company-specific accent color for the Launcher UI, use the example below as a guide:

```json
"accentColor": "#FFCC00",
```

### Setting Up the Duotone Colors

You can optionally apply a tint on your wallpaper image. You can set up the colors for the light and dark halftone colors of the wallpaper image. For the sample configuration below, the wallpaper image will be tinted with white for the light halftone color and gray for the dark halftone color.

To use your wallpaper as-is without tinting, set the two values to "" or blank.

```json
"duoToneWhite": "#FFFFFF",
"duoToneBlack": "#DDDDDD",
```

### Setting Up the Blur Radius and Blur Passes

The blur radius and blur passes properties specify the size and number of times the blur filter is applied to the wallpaper image. The default values for the blur radius and blur passes are 0, which means that no blur will be applied to the wallpaper image by default. To apply a blur to the wallpaper image, you can set the blur radius and blur passes properties to non-zero values. Use the sample configuration below as a guide:

```json
"blurRadius": 0,
"blurPasses": 0,
```

### Setting Up the Folder Colors

You can specify the color of the text and background of an open folder object. If the darkTheme property is enabled, then the background color property should be set to a dark color to make the text in the folders easier to read. On the other hand, choosing a light background color while enabling darkTheme would make text difficult to read. If the darkTheme property is disabled, then the background color can be set to any color. Use the sample configuration below as a guide:

```json
"folderBackgroundColor": "#FFFFFF",
"folderTextColor": "#000000"
```

### Button Shape

Launcher 3.24.20 introduced the ability to control the button shapes. First enable the feature by setting consistentButtonShape setting to true, then set the radius value for the button corners.

```json
"consistentButtonShape": true,
"buttonCornerRadius": 8
```

### Full Configuration

The Launcher UI can be themed using this example:

```json
"theme": {
    "enable": "true",
    "darkTheme": false,
    "wallpaperImage": "assets:wallpaper",
    "logo": "assets:logo",
    "accentColor": "#FFCC00",
    "duoToneWhite": "#FFFFFF",
    "duoToneBlack": "#DDDDDD",
    "blurRadius": 0,
    "blurPasses": 0,
    "folderBackgroundColor": "#FFFFFF",
    "folderTextColor": "#000000",
    "consistentButtonShape": true,
    "buttonCornerRadius": 8
},
```


# Site-Specific Theming

Site-Specific Theming is a Launcher feature that enables the usage of different Launcher themes based on the device location.

## Overview

Site-specific theming is a Launcher feature that customizes the appearance of the device UI by adding a logo, choosing background colors, and setting an accent color specific to one store or site. With this feature, organizations can customize the appearance of their device's screen to match their needs and preferences. It provides a tailored visual experience depending on where the device is being used.

## User Guide

The Site-Specific Theming feature can be enabled or disabled within the Launcher configuration. If the `"theme"` parameter `"enable"` is set to `true` (the default value), the device will enable theme support, including the option of setting `"altThemes"` objects for different sites.

The Launcher will determine which if any of the alternative theme objects match up to the siteTheme column on the device's sitelist.csv file. If no alternative themes match, the Launcher will default to the primary `"theme"` object.

## Feature Configuration

Example:

```json
"theme" : {
    "enable": true,
    "logo": "/sdcard/Download/ems/defaultlogo.png",
    "wallpaperImage": "/sdcard/Download/ems/defaultwallpaper.png",
    "darkTheme": true,
    "accentColor": "#00FFFF",
    "folderBackgroundColor": "#000000"
}, 
"altThemes": {
    "mainline_store": {
        "enable": true,
        "logo": "/sdcard/Download/ems/logo1.png",
        "wallpaperImage": "/sdcard/Download/ems/wallpaper1.png",
        "darkTheme": true,
        "accentColor": "#C089E0"
      },
    "subsidiary_store": {
        "enable": true,
        "logo": "/sdcard/Download/ems/logo2.png",
        "wallpaperImage": "/sdcard/Download/ems/wallpaper2.png",
        "darkTheme": false,
        "accentColor": "#89CFF0"
    }
}
```

For devices with the theming configuration above and the sitelist.csv below, those at site 4001 would use the default theme, while devices at sites 1001 and 3001 would use the `"mainline_store"` alternative theme, and devices at site 2001 would use the `"subsidiary_store"` alternative theme.

```csv
siteid,sitename,latitude,longtitude,iprange,subnet,apmacaddress,siteTheme
1001,Alpharetta GA,34.159579,-84.239605,,,,mainline_store
2001,Hickory Flat GA,34.167373,-84.330806,,,,subsidiary_store
3001,Milton GA,34.073189,-84.293763,,,,mainline_store
4001,Atlanta GA,33.782380,-84.386625,,,,standalone_store
```

Please see the documentation on [Site Information Service](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/site-information-service) for more details on applying sitelists to devices.


# Custom Field Display

Custom Field Display is a Launcher feature that enables the values retrieved from an external file to be displayed on the Launcher home screen.

## Overview

Custom Field Display is a Launcher feature that enables values retrieved from an external file to be displayed on the Launcher home screen. Having this functionality ensures that device-specific content, message, or information can be quickly accessed which in turn can help users save time, stay organized, and improve productivity.

## User Guide

1. The ‘format’ field is a string that determines how the external values are displayed on the UI. For example, a file containing a specific placeholder should be enclosed in braces and must match the corresponding field in the file.
2. The ‘source’ field is an array of objects that defines where the information is coming from and how it should be parsed. If there are multiple pieces of information to be parsed from the file, multiple instances of the 'source' object can be created with different regex patterns and field names.
3. The ‘pathfile’ field is a string that specifies the full path and filename of the file to be parsed. This is the location where the information is retrieved from.
4. The ‘regex’ field is a Java regular expression string that specifies how to extract the desired information from the file. The regular expression should return the information to the first match group.
5. The 'name' field is a string that specifies the field name retrieved by the regular expression. It should correspond to the placeholder in the 'format' string, which is then used to display the information on the Launcher home screen.
6. The 'data' field is a string that specifies what data we’re trying to retrieve. For example to retrieve the device’s serial number, we will reference to config extended attribute “${config.ex.deviceId}”.

## Feature Configuration

The Launcher configuration allows you to define the external values that can be displayed on the Launcher home screen. Use the example below as a guide:

For example, if there is an ASCII formatted file on the device */sdcard/Download/extension\_dept.txt* that contains the following:

```json
Ext=2311
Dept=Front Desk
JobCode=A300403
```

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FspE3NRMTnTZFDpntd2vm%2FScreen%20Shot%202023-04-26%20at%209.54.38%20AM.png?alt=media&amp;token=fefc8350-2819-488c-a2db-f5eb664ad6ee" alt=""><figcaption></figcaption></figure>

The following configuration will allow you to display **"2311 - Front Desk"** on the screen:

```json
    ...
    "customField" : {
        "format" : "{Extension} - {Department} - {TruncatedSerial}",
        "source" : [
            {
                "pathfile": "/sdcard/Download/extension_dept.txt",
                "regex": "Ext=(.*)",
                "name": "Extension"
            },
            {
                "pathfile": "/sdcard/Download/extension_dept.txt",
                "regex": "Dept=(.*)",
                "name": "Department"
            },
            {
                "data": "${config.ex.deviceId}",
                "regex": "(.{4})$",
                "name": "TruncatedSerial"
            }
        ]
    },
    ...
```

The Launcher when in focus will go through the **source** pathfiles and extract the group value specified by the **regex** and assign it as a value for the field **name**. In the above example, the matching group for '"Ext=(.*)"' from the file will yield 2311*\*, and is assigned to the field name 'Extension'.

The Launcher will then apply the values read into the placeholders (the name of the custom field included in braces) as defined in the **format** configuration field. In this example, the Launcher will replace {Extension} with the value **2311** on the display.

Since it uses Java regular expressions to parse the values from the file, this feature is not file format specific, e.g. you can use XML, JSON, or text files as long as it is ASCII formatted and the regex is correct.

To display the last four digits of the device serial number within the custom field, use the following example:

```json
   "customField" : {
        "format" : "{TruncatedSerial}",
        "source" : [
            {
                "data": "${config.ex.deviceId}",
                "regex": "(.{4})$",
                "name": "TruncatedSerial"
            }
        ]
    }
```

{% hint style="info" %}
Custom Field Display was introduced in Launcher 2.13.x.
{% endhint %}


# Site Information Service

Site Information Service is a Launcher feature that pinpoints the current store/branch of a device based on either its current location, IP range, or connected AP Mac addresses.

## Overview

Location-aware applications or location-based services (LBS) provide real-time insights and visibility into device location. This, in turn, enables organizations to monitor device usage patterns, identify underutilized devices, and ensure the security of sensitive data. Site Information Service is a Launcher feature that helps determine the real-time location of a device based on either its current location, IP range, or connected AP Mac addresses.

## User Guide

1. A CSV file named sitelist.csv file is pushed to the device into the Launcher files folder. This file will contain the list of sites and their GPS coordinates.
2. When the device boots up, the Launcher will use the device location services to determine its current GPS coordinates.
3. If the device's GPS coordinates are within 200 meters (configurable) of any of the locations listed in sitelist.csv, the Launcher will use that as the device site.
4. If the device is close to multiple locations, the user will be prompted to select which location they are currently at.
5. If the device is not close to any of the listed locations, the user will be prompted to manually select their location.
6. To determine the device location, the search algorithm checks the nearest GPS coordinates, then the IP range, subnet, and access point.

## Feature Configuration

To set up Site Information Service for a particular device profile or device group, please follow the steps below:

### Creating a Location File <a href="#id-1-create-a-location-file" id="id-1-create-a-location-file"></a>

Create a CSV file named **sitelist.csv** containing all known sites for where the device is expected to be used.

| Column Header                                                                                                                     | Description                                                                                                                                                                                                                                               |
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| siteid                                                                                                                            | Unique ID of the site/store/branch. This will be used to locate the site within the BlueFletch Portal                                                                                                                                                     |
| sitename                                                                                                                          | The name of the site/store/branch that will be displayed on the Launcher home screen.                                                                                                                                                                     |
| latitude                                                                                                                          | The gps latitude of the given site                                                                                                                                                                                                                        |
| longtitude                                                                                                                        | The gps longtitude of the given site                                                                                                                                                                                                                      |
| Add the following columns if using a different method of location other than GPS coordinates. These can also be used as fallback. |                                                                                                                                                                                                                                                           |
| iprange                                                                                                                           | <p>The IP ranges for the network expected at a given site. Multiple ranges are supported by separating with a semi-colon, e.g.:<br><em>One range</em>: 192.3.4.1-192.3.4.255<br><em>Multiple ranges</em>: 192.3.4.1-192.3.4.255;192.3.5.1-192.3.5.200</p> |
| apmacaddress                                                                                                                      | The mac addresses of the APs that this device is expected to connect to, separated by semi-colons, e.g.: 6a:9c:f0:00:83:2f;c2:f5:f8:fb:15:31                                                                                                              |
| subsequent columns                                                                                                                | Values that will be injected into the configuration's extended attributes for the location selected. The column name will be the field name.                                                                                                              |

### Exporting the File <a href="#id-2-export-the-file" id="id-2-export-the-file"></a>

Export the file as a CSV (comma delimited file) and push the **sitelist.csv** to the device folder /sdcard/Download/ems/.

The equivalent ADB command is:

```json
adb push sitelist.csv /sdcard/Download/ems/sitelist.csv
```

### Enabling Site Information Service <a href="#id-3-launcher-configurations" id="id-3-launcher-configurations"></a>

In your launcher.json configuration file under settings, enable the useSiteInfoService flag to true. You can also change the distanceInMeters value based on the radius from the site’s GPS coordinates:

```json
   "settings":{
…
"useSiteInfoService" : true,
"distanceInMeters" : 200,
…
}
```

### Setting Site List with Portal Sites

The BlueFletch Portal website gives the option of uploading a site list to the [Sites](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/portal/enterprise-launcher/managing-sites) page, so that the Portal can filter dashboards by all of the organization's stores and locations. Uploading a site list to the Portal also allows that file to be distributed to all devices.

The Launcher configuration's [`settings`](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/technical-guide#settings) parameter `sitelistUrl` can be configured to point to the active site list from the Portal using the following pattern:

`https://ems-services-api.bluefletch.com/playbook/apiv1/sites/current/download?apikey=`**`<API key>`**`&ts=`**`<any numeric pattern>`**

{% hint style="info" %}
The API key can be found on the ***Admin - Security*** subtab in the Portal.
{% endhint %}

When changes are made to the active site list on the Portal, the updated list must be applied to devices by modifying the URL string. BlueFletch recommends incrementing the ts value in the URL to reflect the update. For example:

**Initial URL:**

`https://ems-services-api.bluefletch.com/playbook/apiv1/sites/current/download?apikey=xxxx67gR20H854dfspe6bb3809144nqKyw6c5N22&ts=000000`

**Updated URL:**

`https://ems-services-api.bluefletch.com/playbook/apiv1/sites/current/download?apikey=xxxx67gR20H854dfspe6bb3809144nqKyw6c5N22&ts=000001`

This ensures devices recognize and apply the latest site list changes effectively.

## Custom Site Finder

Custom Site Finder is a Launcher feature that enables customer to build their own service to determine the location of a device, which may not be covered by the above functionality. To use this functionality, the customer shall create a separate application to be installed on the device, that contains an Android Service that broadcasts the siteId back to the Launcher.

### User Guide

1. If the custom Site Finder feature is enabled on the device configuration, it will trigger the onStartCommand method to run.
2. Once the siteId is found, the custom service will broadcast it back to the Launcher using the sendSiteResponse method.
3. The sendSiteResponse method will create an intent with the siteId information and broadcast it back to the Launcher application.
4. When the Launcher receives the siteId, it will search for the corresponding site record in the sitelist.csv using the siteId and use the resolved row.
5. If the siteId is empty or null, the user will receive a message that the site could not be found, and will be prompted to manually select one from the list.

### Building the Custom Service <a href="#building-the-custom-service" id="building-the-custom-service"></a>

Use the following sample code below as a guide:

```json
    package com.bluefletch.services;

    public class CustomSiteFinder extends Service {

        private static final String ACTION_SITE_RESPONSE = "com.bluefletch.sitelocationservice.action.SITE_RESPONSE";
        private static final String EXTRA_REQUESTED_SITEID = "com.bluefletch.sitelocationservice.extra.REQUESTED_SITE_ID";
        private static final String LAUNCHER_PACKAGE_NAME = "com.bluefletch.ems.emm.launcher";
        ...

        @Override
        public int onStartCommand(Intent intent, int flags, int startId) {

            // TODO: perform your custom processing here
            String siteId = getCurrentSiteId();
            this.sendSiteResponse( siteId );

            return START_NOT_STICKY;
        }

        private void sendSiteResponse(String siteId) {

            Intent intent = new Intent();
            intent.setAction( ACTION_SITE_RESPONSE );
            intent.putExtra( EXTRA_REQUESTED_SITEID, siteId );
            intent.setPackage( LAUNCHER_PACKAGE_NAME );
            sendBroadcast( intent ) ;

        }
    }
```

### Enabling Custom Site Finder <a href="#set-launcher-configuration" id="set-launcher-configuration"></a>

On the Launcher configuration file, add the following section. When these configuration are set, the Launcher will invoke the custom service at startup to determine the device location. This will also be invoked when the user requests to change the site from the UI.

The `packageName` should be the applicationId of the application where the custom service can be found. The `serviceName` is the full path to the service. These two will be used to form a component to invoke the service.

```json
  "externalSiteInfoFinder": {
    "packageName": "com.bluefletch.services.app",
    "serviceName": "com.bluefletch.services.CustomSiteFinder"
  }
```

{% hint style="info" %}
Base Feature Introduced in Launcher 2.6.x.\
External Site Service Feature introduced in 3.2.7.\
Force Reprocess Intent introduced in 3.16.15.
{% endhint %}


# Custom Intents

This Launcher feature invokes Android Intents during certain device or user actions.

The BlueFletch Launcher's Custom Intent capability is a means of triggering actions that will repeat when a certain device state is true. Custom Intents eases the efforts of administrators and users alike by automating app activities to occur at a predictable time, such as login, logout, boot, or cradle. Launcher can invoke Android intents to do anything from opening a particular app each time a certain user group logs in, to muting the audio ten seconds after a device is cradled.

## Device Events

Custom Intents can be invoked on these [device events/state changes](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents/technical-guide#device-events):

* Pre Login
* Login
* Logout
* Post Logout
* Boot
* Device Uncradled
* Device Cradled
* Device Screen On
* Device Screen Off
* Motion Lock Enter
* Motion Lock Exit
* Site Changed

## Custom Intent Contents

When a device event occurs, its array of intents can be made up of:

* [**Standard Android Intents**](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents/standard-android-intents) - Intents directly provided by Android, such as starting an application or sending a broadcast.
* [**Platform Actions**](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents/custom-intents-platform-actions) - Intents customized by BlueFletch to build off of Android's standard intents.
* [**Replacement Variables**](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/replacement-values) - Custom Intents support replacement variables so the intent can dynamically respond to data from the device.
* [**Filters**](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents/role-based-auto-launch) - Custom Intents can be filtered to only run in a subset of scenarios, based on criteria.

For configuration details and examples, consult the [Technical Guide](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents/technical-guide) for this feature.


# Standard Android Intents

## Starting an Application

To start an application, use **typeIntent** *a* and supply the package name.

```json
{
      "package": "com.android.calculator2",
      "typeIntent": "a"
}
```

Additionally, **actions**, **classes**, and **flags** can be used for a more granular intent.

An **action** value specifies an action defined within the application.

An activity can be referenced as a **class** value; this will tell Launcher to open a specific activity in the application, rather than the default activity. When using a class to start an activity, a **flag** of *1* is required to start a new task.

```json
{
    "action": "com.bluefletch.ems.remotecontrol.ACTION_START",
    "package": "com.bluefletch.ems.emm.remoteagent",
    "class": "com.bluefletch.ems.remotecontrol.RemoteActivity",
    "flags": 1,
    "typeIntent": "a"
}
```

## Sending a Broadcast Intent

Android supports broadcast intents, or intents that are transmitted broadly to all listening applications to trigger an action.

Broadcast intents can be sent using **typeIntent** *b* and an action or package name.

For example, to invoke the action to clear cookies on the BlueFletch Browser application via broadcast:

```json
{
    "action": "com.bluefletch.ems.browser.CLEAR_COOKIES",
    "typeIntent": "b",
    "package": "com.bluefletch.ems.browser"
}
```

## Sending an Intent with Data

Intents, including standard Android intents and BlueFletch's customized [Platform action](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents/custom-intents-platform-actions) intents, can include a **data** string to pass the intent configurable details it will need in order to run.

For example, to start an XML via intent, the XML file location is passed through **data**:

```json
{
    "action": "XML",
    "data": "/sdcard/Download/ems/stageNowTest.xml",
    "typeIntent": "p"
}
```

Or in a delay intent, **data** tells the intent how long to wait, in milliseconds:

```json
{
    "data": "2000",
    "typeIntent": "d"
}
```


# Platform Actions

Custom Intents Platform Actions are specialized actions that are specific to the BlueFletch Launcher and can be used in addition to standard Android intents.

## Supported Actions

The following is a complete list of the Platform Actions supported by Launcher with configuration examples.

* Delay
* Clear Cache
* Enable/Disable Package
* Delete Files
* Mute/Unmute/Adjust Audio
* Applying Platform XML
* Login
* Rotate Launcher to Portrait/Landscape Mode
* Clear Storage
* Set Language
* Set Timezone

### Delay

This is a unique Platform action. It is custom to BlueFletch Launcher, but it uses the typeIntent **d**.

To delay executing further intents for a set period of time, use a delay intent, with the time to delay set as "data" in milliseconds.

```json
{
    "typeIntent": "d",
    "data": "5000"
}
```

### Clear Cache

An action value of **CLEARCACHE** will cause Launcher to invoke the Platform Clear Cache on the specified package.

```json
{
    "action": "CLEARCACHE",
    "package": "com.android.chrome",
    "typeIntent": "p"
}
```

### Enable a Package

An action value of **ENABLE** will cause the specified package to be enabled.

```json
{
    "action": "ENABLE",
    "typeIntent": "p",
    "package" : "com.some.package"
}
```

### Disable a Package <a href="#disable-a-package" id="disable-a-package"></a>

An action value of **DISABLE** will cause the specified package to be disabled.

```json
{
    "action": "DISABLE",
    "typeIntent": "p",
    "package" : "com.some.package"
}
```

### Delete Files <a href="#delete-files" id="delete-files"></a>

An action value of **DELETE\_FILES** will delete the file(s) at the specified path as specified in the "data" field. This action does support the wildcard operator \* which allows for multiple files to be deleted.

```json
{
    "action": "DELETE_FILES",
    "typeIntent": "p",
    "data": "/sdcard/Download/*.pdf"
}
```

Delete File action now supports patterns of files to remove and removing only "old" files.

#### Pattern

Using the `pattern` setting within the action "extras", certain files can be deleted from a directory.

In the following example, the delete file action will only remove PNG and PDF files.

```
{
    "action": "DELETE_FILES",
    "typeIntent": "p",
    "data": "/sdcard/Download"
    "extras": {
        "pattern": "*.png|*.pdf"
    }
}
```

#### Older Than Days

Using the `olderThanDays` setting within the action "extras", files that are older than a certain day range can be removed.

In the following example, the delete file action will only remove PNG and PDF files that have not been updated for over 5 days.

```
{
    "action": "DELETE_FILES",
    "typeIntent": "p",
    "data": "/sdcard/Download"
    "extras": {
        "pattern": "*.png|*.pdf",
        "olderThanDays": 5
    }
}
```

#### Recurse Directories

Using the `recurseDirectories` setting within the action "extras", the delete files action can recurse through sub directories, removing specified files. `recurseDirectories` is false by default.

In the following example, the delete file action will only remove PNG and PDF files that have not been updated for over 5 days, and the action will recurse through sub directories.

```
{
    "action": "DELETE_FILES",
    "typeIntent": "p",
    "data": "/sdcard/Download"
    "extras": {
        "pattern": "*.png|*.pdf",
        "olderThanDays": 5,
        "recurseDirectories": true
    }
}
```

### Mute Audio <a href="#mute-audio" id="mute-audio"></a>

An action value of **MUTE\_AUDIO** will cause the audio on a device to be muted. This does not affect 'Alarm' audio.

```json
{
    "action": "MUTE_AUDIO",
    "typeIntent": "p"
}
```

### Unmute Audio <a href="#unmute-audio" id="unmute-audio"></a>

An action value of **UNMUTE\_AUDIO** will cause the audio on a device to be unmuted. This does not affect 'Alarm' audio.

```json
{
    "action": "UNMUTE_AUDIO",
    "typeIntent": "p"
}
```

### Adjust Audio <a href="#adjust-audio" id="adjust-audio"></a>

An action value of **ADJUST\_AUDIO** will cause the audio on a device to be changed and allows for specifying the percentage of max audio per type of audio. The individual audio stream to affect should be specified within the "extras" section.

Valid "extras":

* **notification:** Affects the volume of audio streams for notification sounds.
* **music:** Affects the volume of audio streams for music playback.
* **ring:** Affects the volume of audio streams for the phone ring.
* **system:** Affects the volume of audio streams for system sounds.
* **dtm:** Affects the volume of audio streams for DTMF Tones.
* **call:** Affects the volume of audio streams for phone calls.
* **alarm:** Affects identify the volume of audio streams for alarms.
* **others:** A special override that when used, can affect any audio stream not specified within the extras.

```json
{
    "action": "ADJUST_AUDIO",
    "typeIntent": "p",
    "extras" : {
        "notification": 90,
        "alarm": 100,
        "others": 50
    }
}
```

### Applying Platform XML <a href="#applying-platform-xml" id="applying-platform-xml"></a>

The action **XML** allows for invoking platform-specific XML (currently supports the Zebra platform's StageNow™ XML tooling). Use the "data" field to specify the XML file location, either located on the device sdcard or managed within Launcher assets.

This example is retrieving the XML file from the /sdcard/... local file path:

```json
{
    "action": "XML",
    "typeIntent": "p",
    "data": "/sdcard/Download/ems/gloveInput.xml"
}
```

This example is using the Assets Manager to download/manage the XML file:

```json
{
    "action": "XML",
    "typeIntent": "p",
    "data": "assets:stylusInput"
}
```

### Login

Using an action value of **LOGIN** allows for controlling when Launcher starts the device login flow.

```json
{
    "action": "LOGIN",
    "typeIntent": "p"
}
```

{% hint style="info" %}
Available in Launcher 3.7.7
{% endhint %}

### Rotate Launcher to Portrait Mode <a href="#applying-platform-xml" id="applying-platform-xml"></a>

An action value of **com.bluefletch.launcher.ACTION\_ROTATE\_PORTRAIT** will force rotation of the Launcher Home screen to portrait mode.

```json
{
    "action": "com.bluefletch.launcher.ACTION_ROTATE_PORTRAIT",
    "typeIntent": "p"
}
```

{% hint style="info" %}
Available in Launcher 3.21.17.
{% endhint %}

### Rotate Launcher to Landscape Mode <a href="#applying-platform-xml" id="applying-platform-xml"></a>

An action value of **com.bluefletch.launcher.ACTION\_ROTATE\_LANDSCAPE** will force rotation of the Launcher Home screen to landscape mode.

```json
{
    "action": "com.bluefletch.launcher.ACTION_ROTATE_LANDSCAPE",
    "typeIntent": "p"
}
```

{% hint style="info" %}
Available in Launcher 3.21.17.
{% endhint %}

### Clear Storage

An action value of **CLEAR\_STORAGE** will clear all cache and user data to which the OEM's SDK has access. Applying via the `logout` or `postLogout` array will usually (dependent on the app vendor) clear all user data for that app from the prior session.

```json
{
    "action": "CLEAR_STORAGE",
    "package": "com.example.package",
    "typeIntent": "p"
}
```

{% hint style="info" %}
Available in Launcher 3.24.20.
{% endhint %}

### Set Language

An action value of **SET\_LANGUAGE** will set the device's language based on the locale associated with a store/site location through the extra string `"lang"`.

```json
{
    "action": "SET_LANGUAGE",
    "typeIntent": "p",
    "extras": {
      "lang": "${config.ex.lang}"
    }
}
```

The extra `"lang"` can point to a [replacement variable](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/replacement-values). In the example above, `"lang"` points to `"${config.ex.lang}"` - that is, to an extended attribute in the launcher.json configuration file named "lang". This extended attribute can be associated with each site by adding a column "lang" to the sitelist.csv file for a Zebra-supported locale (e.g. "en\_US", "fr\_CA", "de\_DE", "zh\_CN").

```csv
siteId,siteName,longitude,latitude,lang
1001,Atlanta,-84.38675200862285,33.75690491404407,en_US
...
```

{% hint style="info" %}
Available in Launcher 3.25.15. Only supported on Zebra devices.
{% endhint %}

### Set Timezone

An action value of **SET\_TIMEZONE** will set the device's language based on the locale associated with a store/site location through the extra string `"timezone"`.

```json
{
    "action": "SET_TIMEZONE",
    "typeIntent": "p",
    "extras": {
      "timezone": "${config.ex.timezone}",
      "ntpServer": "north-america.pool.ntp.org"
    }
 }
```

The extra "timezone" can point to a [replacement variable](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/replacement-values). In the example above, "timezone" points to `"${config.ex.timezone}"` - that is, to an extended attribute in the launcher.json configuration file named "timezone". This extended attribute can be associated with each site by adding a column "lang" to the sitelist.csv file for a Zebra-supported timezone (e.g. GMT-5 or GMT-05:00, GMT+9 or GMT+09:00).

The extra `"ntpServer"` indicates a specific NTP server to use when setting the timezone.

```
siteId,siteName,longitude,latitude,timezone
1001,Atlanta,-84.38675200862285,33.75690491404407,GMT-05:00
2002,Tokyo,139.7558762393648,35.68204282600092,GMT+9
...
```

{% hint style="info" %}
Available in Launcher 3.25.15. Only supported on Zebra devices.
{% endhint %}


# Filtering

## Overview <a href="#overview-0" id="overview-0"></a>

Managing the access and use of sensitive data is a key pillar of enterprise security. Role-based access control (RBAC) enables complex network environments to meet privacy and confidentiality regulations while securing business processes. Launcher's session application [layouts](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/layouts) are based on RBAC to simplify granting data only to relevant users. Intent filtering applies this same principle to the intents that can be triggered to automatically run on devices at various [device event](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents/technical-guide#device-events) triggers.

## User Guide <a href="#user-guide-1" id="user-guide-1"></a>

Filtered intents allows IT administrators to determine what intents will run on specific Android enterprise devices based on the logged-in user's session, device, or extended attribute information.

## Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

Intents can be filtered to match any session, device, or extended attribute [replacement variable](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/replacement-values) (for example: session.groups, session.location, session.userId, device.MODEL, device.BRAND, config.ex.deviceId, config.ex.siteId).

* Use the documented [key-value pairs](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents/technical-guide#key-value-pairs) to build an intent
* Include a `"filter"` object where:
  * The replacement variable key is paired with a string
  * The string lists one or more values to include in the filter
    * Use a pipe ( | ) symbol when listing multiple values

```json
"intents" : {
    "login" : [
        // Start an app on login for users with at least one of two IdP groups:
        {
            "package": "com.application.inventory",
            "flags": 1,
            "typeIntent": "a",
            "filter": {
                "session.groups": "SalesAssociate|Receiving"
            }
        },
        // Disable an app on login at three sites:
        {
            "action": "DISABLE",
            "typeIntent": "p",
            "package" : "com.some.package"
            "filter": {
                "session.location": "1001|9309|4146"
            }
        }
    ],
    "logout": [
        // Clear browser app caches on logout for one particular device:
        {
            "action": "CLEARCACHE",
            "package": "com.bluefletch.ems.browser",
            "typeIntent": "p",
            "filter": {
                "config.ex.deviceId": "24000XXX39526"
            }
        }
    ]
}
```

Alternatively, filtering can be accomplished with and/or [criteria](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/criteria) and regular expressions (regex).

{% hint style="info" %}
Intent filtering was introduced in Launcher 3.16.15.
{% endhint %}


# Technical Guide

Configuration key-value pairs applicable to custom intents.

## Device Events

The following device states/events are available as triggers in the launcher.json's [base-level object](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/technical-guide#base) `"intents"`. Multiple intent objects can be listed sequentially in each device event's array.

| Field           | Description                                                                                                                               |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| preLogin        | **array** A collection of Custom Intents to invoke before the authentication process begins.                                              |
| login           | **array** A collection of Custom Intents to invoke after user logs into the device.                                                       |
| logout          | **array** A collection of Custom Intents to invoke after user logs out of the device, prior to launcher completing full logout.           |
| postLogout      | **array** A collection of Custom Intents to invoke after user logs out of the device. This occurs after all Logout actions are completed. |
| boot            | **array** A collection of Custom Intents to invoke after device boot.                                                                     |
| uncradle        | **array** A collection of Custom Intents to invoke after the device is removed from the cradle.                                           |
| cradle          | **array** A collection of Custom Intents to invoke after the device is placed on the cradle.                                              |
| screenOn        | **array** A collection of Custom Intents to invoke after the screen turns on.                                                             |
| screenOff       | **array** A collection of Custom Intents to invoke after the screen turns off. Introduced in Launcher 3.26.30.                            |
| motionLockEnter | **array** A collection of custom intents to invoke when lockInMotion engages on the device.                                               |
| motionLockExit  | **array** A collection of custom intents to invoke when the device exits from lockInMotion state.                                         |
| siteChange      | **array** A collection of custom intents to invoke when a site change is detected.                                                        |

## Key-Value Pairs

The following key-value pairs are used to build each custom intent object:

<table><thead><tr><th>Key</th><th>Value Description</th></tr></thead><tbody><tr><td>package</td><td><strong>string</strong> The package to invoke.</td></tr><tr><td>action</td><td><strong>string</strong> Android action, or special Platform Action.</td></tr><tr><td>category</td><td><strong>string</strong> Android Category.</td></tr><tr><td>class</td><td><strong>string</strong> The Class name within the package.</td></tr><tr><td>flags</td><td><strong>integer</strong> Flags to use during firing the intent. Currently supports the value of 1, which indicates new task.</td></tr><tr><td>typeIntent</td><td><strong>string</strong> The type of intent, values b, i, a, d or p. b = Broadcast (default), i = implicit intent, a = start Activity, d = delay, p = platform.</td></tr><tr><td>extras</td><td><p><strong>Hash Map</strong> Key/value pairs of additional data to send.<br>Example:</p><pre class="language-json"><code class="lang-json">"extras": {
   "market": "retail", 
   "region": "northeast"
}
</code></pre></td></tr><tr><td>data</td><td><strong>string</strong> Data to send with the intent.</td></tr><tr><td>filter</td><td><p><strong>object</strong> Object for defining which key-value pair of the session object will trigger the intent.<br>Example:</p><pre class="language-json"><code class="lang-json">"filter": { 
   "session.groups": "Associates"
}
</code></pre></td></tr></tbody></table>

## Examples

### All Device Event Arrays

Below is an example where each device event array is present. The following example performs the following:

1. After login, the Launcher home screen will rotate to Landscape orientation
2. During logout:
   1. Launcher clears the cache of Android Chrome
   2. The Launcher home screen will rotate back to Portrait orientation
3. In addition, whenever the device is removed from the cradle:
   1. The device volume will be adjusted to 100%

```json
"intents": {
    "preLogin": [],
    "login": [
        {
            "action": "com.bluefletch.launcher.ACTION_ROTATE_LANDSCAPE",
            "typeIntent": "p"
        }
    ],
    "logout":[
        {
            "action": "CLEARCACHE",
            "package": "com.android.chrome",
            "typeIntent": "p"
        },
        {
            "action": "com.bluefletch.launcher.ACTION_ROTATE_PORTRAIT",
            "typeIntent": "p"
        }
    ],
    "postLogout": [],
    "boot": [],
    "uncradle": [
        {
            "action": "ADJUST_AUDIO",
            "typeIntent": "p",
            "extras": {
                "others": 100
            }
        }
    ],
    "cradle": [],
    "screenOn": [],
    "screenOff": [],
    "motionLockEnter": [],
    "motionLockExit": [],
    "siteChange": [
        {
            "action": "SET_LANGUAGE",
            "typeIntent": "p",
            "extras": {
              "lang": "${config.ex.lang}"
            }
        },
        {
            "action": "SET_TIMEZONE",
            "typeIntent": "p",
            "extras": {
              "timezone": "${config.ex.timezone}",
              "ntpServer": "north-america.pool.ntp.org"
            }
         }
    ]
  }
```

{% hint style="info" %}
Unused arrays may or may not be included in the "intents" object for the existing intents to work; empty arrays do not cause issues but they are also not required to be included.
{% endhint %}


# Security and Safety

BlueFletch Launcher provides advanced security and safety features for device and user-level management, ensuring that only authorized users can access and utilize approved applications, notifications, and settings.

**App Enabler:** Ensures that users can access and utilize admin-approved applications only.

**Disable Packages:** Ensures that users cannot install unwanted or unauthorized applications.

**Key Management:** Revokes device keys of lost, missing, or stolen devices.

**NFC Enable/Disable:** Allows or restricts NFC access of authorized users only.

**Secure Notifications:** Ensures that only admin-approved notifications are presented to the user.

**Wi-Fi UI Settings Enable/Disable:** Displays or conceals the Wi-Fi UI Settings from the user.


# Clear App Data on Logout

## **Overview**

The BlueFletch Launcher offers robust security controls at both device and user levels by implementing configurable logout events to safeguard sensitive information. Through its Clear App Data on Logout feature, it automatically clears application data once a user logs out of a device, regardless of the applications used. This applies to all apps, whether opened during the session or not, or to a specified subset of apps on the device. It also includes removing cookies, destroying session tokens, and clearing cached files or running apps outside the authentication module. This multi-layered protection ensures data security and optimal performance on shared or multi-user devices, promoting peace of mind for the mobile workforce.

## **User Guide**

The clearAppDataOnLogout setting enables the capability to automatically erase user data when a user logs out of a device. It is disabled by default.

* It removes application data or user preferences generated or created during the user's session.
* It deletes sensitive information such as login credentials, browsing history, cached files, access tokens, and session identifiers.
* It clears all apps with logins separate from the Auth module.

The clearAppDataIncludeList setting allows the admin to specify a list of applications whose data gets cleared explicitly upon logout, whether it was used or not during a user session.

* Application Data are cleared automatically upon logout even if they weren't actively used during the session.
* It targets specific apps for automatic data erasure on logout whether they were opened or not.
* This is also applicable for specific apps that run in the background or not directly accessed from the Launcher home screen.

The clearAppDataExcludeList setting allows the admin to specify a list of applications to be excluded from the app data clearing process, resulting in app data retention even after logout.

* It ensures essential app-specific settings and configurations persist after logout, preventing accidental deletion.
* It works in conjunction with clearAppDataOnLogout to control which apps are exempt from data clearing.
* It maintains recent task removal for excluded apps unless explicitly overridden by clearRecentExcludeList.

{% hint style="info" %}
Downloaded files are not automatically deleted during the default file removal process. For more information on how to explicitly remove downloaded files, refer to the [Delete Files](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents/custom-intents-platform-actions#delete-files) and [Clear Cache](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents/custom-intents-platform-actions#clear-cache) sections of the [Custom Intents Platform Actions](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents/custom-intents-platform-actions) page.
{% endhint %}

## **Configuration**

### **Clear App Data on Logout**

This setting must be set to true to enable the clearing of app data on logout. When enabled, it will clear app data for all applications that were launched by the user during the session.

```json
"settings": {
  …
  "clearAppDataOnLogout": true
}
```

### App Data Inclusion List

If clearAppDataOnLogout is set to true, this list specifies additional app packages that should be cleared, even if they were not launched during the session.

```json
"settings": {
  …
  "clearAppDataOnLogout": true,
  "clearAppDataIncludeList": “com.android.chrome”
}
```

### **App Data Exclusion List**

If clearAppDataOnLogout is set to true, this list specifies app packages that should be excluded from the app data clearing process. These packages will retain their app data even when the user logs out.

```json
"settings": {
  …
  "clearAppDataOnLogout": true,
  "clearAppDataExcludeList": “com.bluefletch.emm.epm”
}
```

If clearAppDataOnLogout is set to false, the clearAppDataIncludeList and clearAppDataExcludeList settings are ignored. No app data will be cleared on logout.


# Disable Packages

Disable Packages is a Launcher feature that enables disabling packages at start up (after configuration is loaded).

## Overview <a href="#overview-0" id="overview-0"></a>

Disable Packages is a Launcher feature that enforces the organization's security policies on your Android enterprise devices. It prevents users from installing unwanted apps that can take up more storage space, compromise data security, and even distract users from focusing on their tasks.

## User Guide <a href="#user-guide-1" id="user-guide-1"></a>

This feature disables packages after start-up. Packages can only be disabled after loading the configuration. Only packages that are not in the ‘protected’ list of applications will be disabled. For instance, a device administrator cannot disable com.bluefletch.ems.support.

1. After loading the configuration is loaded, this feature will disable all packages in the disablePackages collection.
2. If the package exists within the Protected List collection, it will not be disabled.

## Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up the Disable Packages feature for a particular device profile or device group, please follow the steps below:

### Setting Up Packages to be Disabled <a href="#setting-up-packages-to-be-disabled-3" id="setting-up-packages-to-be-disabled-3"></a>

The example below shows a list of packages to be disabled:

```json
"disablePackages": [
         "com.google.android.googlequicksearchbox",
         "com.android.browser"
 ]
```

### Disabling Individual Activities in Various OEMs

The capability around disabling individual components/activities within a package differ by OEM.

* **Zebra:** EMDK does not support disabling individual activities; attempting to disable an activity will disable the whole package.
* **Samsung:** Knox supports disabling individual activities.
* **Platform-signed OEMs:** The BlueFletch Platform Service APK supports disabling individual activities, so OEMs that platform sign can support this functionality while the Platform Service app is installed and running.

The format for a disabled activity string is `"<package name>/<package.activity>"`.

**Example:**

```json
"disablePackages": [
         "com.android.settings/com.android.settings.applications.InstalledAppDetails"
 ]
```

{% hint style="info" %}
Disable Packages was introduced in Launcher 2.8.x.
{% endhint %}


# Key Management

Key Management is a Launcher feature that manages device keys to promote secure communication between client organizations and the BlueFletch data service APIs.

## Overview

Device keys are encrypted tokens used to validate requests from BlueFletch applications making API calls. Revoking device keys or blocking a device can prevent a lost or compromised device from accessing organization data on secure APIs. Key Management is a Launcher feature that manages keys to promote secure communication between client organizations and the BlueFletch data service APIs.

## User Guide

Device keys are managed in the BlueFletch Portal. It ensures that these keys/tokens have been properly authorized to access the API and perform specific actions granted during authorization. In the case of a lost or stolen device, a device key can be revoked on the Portal. Devices that had been able to securely connect with that key and are blocked from retrieving a new key will no longer be able to reach BlueFletch APIs and retrieve organization data.

## Feature Configuration

To set up the Key Management feature for a particular device profile or device group, please follow the steps below:

### Enabling Key Management

Key Management feature, by default, is disabled within the Launcher configuration. If keyManagement is set to true, then the feature will be enabled on the device.

```json
"keyManagement": {
    "enabled": true,
```

### Setting Up the Refresh Time Range

Tokens or keys on a device have a defined expiration time on the organization’s settings page. To set up the refresh time range of the token/keys on a device, define the number of seconds in the configuration.

```json
    "refreshIntervalInSeconds": 1740
}
```

{% hint style="info" %}
Key Management was introduced in Launcher 3.18.10.
{% endhint %}


# NFC Enable/Disable

NFC Enable/Disable is a Launcher feature that enables or disables NFC access based on user login or application start.

## Overview <a href="#overview-0" id="overview-0"></a>

NFC technology ensures secure wireless transactions among devices near each other. It enables users to do various tasks such as connecting to other devices, making payments, and sending files, media, or even NFC tags. It also provides businesses with greater opportunities for achieving customer engagement and improving brand awareness in new innovative ways. NFC Enable/Disable is a Launcher feature that enables or disables NFC access based on user login or application start.

## User Guide <a href="#user-guide-1" id="user-guide-1"></a>

NFC technology allows secure data transfer between devices that are in close proximity, typically a few centimeters apart, with a simple touch. NFC tags can work without the presence of a local Wi-Fi, 4G, 5G, or Bluetooth Low Energy (BLE) connection. NFC Enable/Disable supports operational efficiency and creates engaging user interactions without taxing the battery or the need for pairing.

NFC Enable/Disable will occur during one of three timeframes:

1. When device is booted
2. Opening of an application or shortcut
3. After a session change (login or logout)

## Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up the NFC Enable/Disable feature for a particular device profile or device group, please follow the steps below:

### Enabling/Disabling NFC Feature <a href="#enablingdisabling-nfc-feature-3" id="enablingdisabling-nfc-feature-3"></a>

NFC Enable/Disable feature can be enabled or disabled within the Launcher configuration. If enableNFC is set to true for a specific application or shortcut, NFC will be enabled before the application is started. If nfcTurnOff is set to true, NFC will be disabled after the device is booted or during user logout. If nfcTurnOnAtLogin is set to true, NFC will be enabled on user login.

```json
 "layouts" : {
    ...

    "ADMIN":[
      {
        ...
        "nfcEnable": true
      },
      {
        ...
        "nfcEnable": true
      }
    ],
  },

  ...

  "settings": {
    ...
    "nfcTurnOff" : true,
    "nfcTurnOnAtLogin" : true
    ...
  }
```

{% hint style="info" %}
NFC Enable/Disable Feature was introduced in Launcher 3.x.
{% endhint %}


# Secure Notifications

Secure Notifications is a Launcher feature that enables device administrators to lock down the notifications display and control which notifications are presented to or kept from the user.

## Overview <a href="#overview-0" id="overview-0"></a>

The Android system status bar contains notification icons, current device status, and other system details. Hiding or disabling notifications prevents unauthorized access to certain apps and settings, provides better device functionality, and promotes a more immersive user experience. Secure Notifications is a Launcher feature that serves as a customizable replacement for the default Android system notification tray. It protects sensitive company data and ensures that the device is used only for the intended purpose.

{% hint style="info" %}
This feature only works on Android devices running on Android 6.0 Marshmallow (sdk 23) and above. This feature will not work on Android 5.1 lollipop devices because the Screen Overlay Permission is only available for 6.0+ devices.
{% endhint %}

## Getting Started <a href="#user-guide-1" id="user-guide-1"></a>

Secure Notifications allows IT administrators to gain granular control over Android enterprise devices by disabling the Android Status Bar and System Notifications Tray, and replacing them with the BlueFletch Secure Notifications Feature. This feature prevents potential threats from accessing the device settings through the notifications. This section will walk you through two major concepts: how to disable the Android notifications tray in various MDMs, and how to configure the Secure Notifications feature in the Launcher configuration.

### Disabling Notifications in VMware Workspace One

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fejff7JzH52j0nzLzcD1Q%2FScreenshot%202023-10-16%20at%203.03.23%E2%80%AFPM.png?alt=media&amp;token=817298bd-5eb5-468b-814e-4f98b2b21a38" alt=""><figcaption></figcaption></figure>

* Log into your VMWS1 Instance;
* Navigate to Resource > Profiles;
* Click on the 'ADD' button and select 'Add Profile' from the dropdown list;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FFCp1ohQn8Rhq0kBWeBg7%2FScreenshot%202023-10-16%20at%203.03.47%E2%80%AFPM.png?alt=media&amp;token=e4d19417-8867-4a7b-937e-ca26099fc289" alt=""><figcaption></figcaption></figure>

* Select Android as your Platform and you will be automatically navigated to the next screen;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fi59sbRea1ld4w9EvrN5H%2FScreenshot%202023-10-16%20at%203.07.41%E2%80%AFPM.png?alt=media&amp;token=857a0f3f-e35f-4e5e-ac98-b8dcd2181012" alt=""><figcaption></figcaption></figure>

* Provide a name for the Profile;
* Click 'Add' and the toggles in the 'Restrictions' drop down list will become active;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F9yyoWI374djEQEBSJtYv%2FScreenshot%202023-10-16%20at%2010.23.25%E2%80%AFPM.png?alt=media&amp;token=b29e75ed-a0a2-45da-ac0c-f0162ce99c75" alt=""><figcaption></figcaption></figure>

* Set the toggle to the **off** position for 'Allow Keyguard Notifications';
* Set the toggle to the **off** position for 'Allow Keyguard Unredacted Notifications';
* Set the toggle to the **off** position for 'Allow Status Bar';
* Click 'Next' and you will be navigated to the next screen;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FnojQmKfyEWRutNxOEEad%2FScreenshot%202023-10-16%20at%203.10.29%E2%80%AFPM.png?alt=media&amp;token=1929a915-521f-470b-948f-a37026f72217" alt=""><figcaption></figcaption></figure>

* Confirm your selections and click 'Save & Publish'.
* *Once this Profile has been deployed to the devices, the BlueFletch Secure Notifications configuration can be applied. Instructions for configuring BlueFletch Secure Notifications can be found below in the 'Feature Configuration' section.*

### Disabling Notifications in SOTI MobiControl

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F0PgxM3R2D3VY5pw9JN4T%2FScreenshot%202023-10-17%20at%209.14.21%E2%80%AFAM.png?alt=media&amp;token=306716bd-dae1-4634-85de-d41bcf278013" alt=""><figcaption></figcaption></figure>

* Click on the menu icon in the top left corner of the MobiControl console which will expand the list of actions;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FVTRDc2SimvMpr0fyhK5J%2FScreenshot%202023-10-17%20at%209.14.40%E2%80%AFAM.png?alt=media&amp;token=0e07e37a-4dde-497a-90a6-e541b546ba6a" alt=""><figcaption></figcaption></figure>

* Click on 'Profiles' which will take you to the 'Profiles' page;

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F09nNnxV5Pw1ITDSzLZ2E%2FScreenshot%202023-10-17%20at%209.23.39%E2%80%AFAM.png?alt=media&amp;token=b6a4b9b1-e0f9-471e-a1fa-08ec2b338194" alt=""><figcaption></figcaption></figure>

* Click on ' + NEW PROFILE' which present a 'CREATE PROFILE' modal (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FX9peoXxxkUZAibx7tFoy%2FScreenshot%202023-10-17%20at%209.24.04%E2%80%AFAM.png?alt=media&amp;token=cd2d2a30-df41-48b1-8c99-5fa3f0ea81eb" alt=""><figcaption></figcaption></figure>

* Hover over the Android icon which will expose a drop down;
* Select the appropriate profile type for your device landscape. For the purposes of this documentation, we will select 'Work Managed';
* Once the profile type is selected, you will be shown a 'CREATE PROFILE' modal with three tabs, | GENERAL | CONFIGURATIONS | PACKAGES | (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FaH3K3rdTBvZbWu9uIU4y%2FScreenshot%202023-10-17%20at%209.25.06%E2%80%AFAM.png?alt=media&amp;token=d1cd1418-5d89-40c5-be41-fd02e15f1500" alt=""><figcaption></figcaption></figure>

* In the 'GENERAL' tab, provide a Profile Name and a Description;
* Click in the 'CONFIGURATIONS', which will present a 'Add a Configuration' modal (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FemLLus4JFnBzeRZZ3JAI%2FScreenshot%202023-10-17%20at%209.25.47%E2%80%AFAM.png?alt=media&amp;token=d8e3721a-3db5-4375-b81b-91b4f0bcbfac" alt=""><figcaption></figcaption></figure>

* In the 'Add a Configuration' modal, click on 'Feature Control' which will present the 'FEATURE CONTROL' modal (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FH394q0ureWEo4vfZY4J2%2FScreenshot%202023-10-17%20at%209.24.23%E2%80%AFAM.png?alt=media&amp;token=68629dc5-2f01-4bed-9296-e8f994c8a973" alt=""><figcaption></figcaption></figure>

In the 'DEVICE FUNCTIONALITY' tab, toggle the 'Allow Status Bar' to the **off** position (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fq9Q2BKfMswjm8qOgyRSh%2FScreenshot%202023-10-17%20at%2010.08.38%E2%80%AFAM.png?alt=media&amp;token=fe3bb01e-c451-40ff-bd21-1f331e7bf867" alt=""><figcaption></figcaption></figure>

* Navigate to the 'SECURITY' tab, toggle the 'Allow Keyguard Notifications' and the 'Allow Sensitive Notifications' to the **off** position (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fm5ggqW1OHJaHQCCs0WvN%2FScreenshot%202023-10-17%20at%209.27.17%E2%80%AFAM.png?alt=media&amp;token=9f0e087c-343e-4579-8ee7-85d220491f42" alt=""><figcaption></figcaption></figure>

* Click 'SAVE', which will take you back to the 'CREATE PROFILE' modal (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FXSh7yG7dYvQbJu9nL1E5%2FScreenshot%202023-10-18%20at%2012.49.26%E2%80%AFPM.png?alt=media&amp;token=57a2e667-a70e-498b-afbd-616115ca70e3" alt=""><figcaption></figcaption></figure>

* Click 'SAVE', and your Profile will be saved and available to assign to devices.
* *Once this Profile has been deployed to the devices, the BlueFletch Secure Notifications configuration can be applied. Instructions for configuring BlueFletch Secure Notifications can be found below in the 'Feature Configuration' section.*

### Disabling Notifications in Microsoft InTune

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FtKkdlYwvewRAkowcS9ev%2FScreenshot%202023-10-16%20at%202.58.50%E2%80%AFPM.png?alt=media&amp;token=9b970232-5ab4-4bd4-86fc-c5b727928d1f" alt=""><figcaption></figcaption></figure>

* From the InTune Console, select 'Devices';
* Then click on 'Android';
* Once you click on 'Android', you'll see the option to '+ Create profile';
* Click on '+ Create profile' and it will extend the 'Create a profile' window on the right side of the screen (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2F5zcJBpS09RFzNVN4Hws8%2FScreenshot%202023-10-16%20at%202.58.52%E2%80%AFPM.png?alt=media&amp;token=144f59bc-05c5-4ee0-ab32-530cf6fe8e37" alt=""><figcaption></figcaption></figure>

* Select 'Android Enterprise' for the Platform dropdown;
* Select 'Device Restrictions' from the Profile type dropdown;
* Click 'Create' once completed, and you'll be taken to the 'Device restrictions' screen (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FUim8kSbwpbD0p1LJKhtP%2FScreenshot%202023-10-16%20at%202.58.56%E2%80%AFPM.png?alt=media&amp;token=85305c5c-d301-46c3-a611-03db7dce3e56" alt=""><figcaption></figcaption></figure>

* Provide a Name for the Configuration profile and a Description;
* Hit 'Next' when complete and you'll be taken to Configuration Settings screen (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FOWUvey745TYByzIUGcEt%2FScreenshot%202023-10-16%20at%202.59.23%E2%80%AFPM.png?alt=media&amp;token=3ae848f1-0085-4e3f-877e-01772721dafa" alt=""><figcaption></figcaption></figure>

* Click on 'General', which will expand the dropdown options (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FuW874B5hrCDhrwkHTnOx%2FScreenshot%202023-10-17%20at%202.52.24%E2%80%AFPM.png?alt=media&amp;token=df053c77-5f60-44f2-9fbc-065274de8332" alt=""><figcaption></figcaption></figure>

* Scroll down to the 'Fully managed and dedicated devices' section;
* Toggle the 'Status bar' to "Block";
* Hit 'Next' which will navigate you to 'Assignments' page (shown below);

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FDmP475LxhfqbQUqX4osr%2FScreenshot%202023-10-16%20at%203.00.28%E2%80%AFPM.png?alt=media&amp;token=6a43c28c-daa0-489f-accf-aac1cdaaecaf" alt=""><figcaption></figcaption></figure>

* Assign the Configuration profile to the desired Groups and hit 'Next';

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FtisaGr9xSHHLkUpZuBWf%2FScreenshot%202023-10-16%20at%203.00.39%E2%80%AFPM.png?alt=media&amp;token=22dc7185-b1f0-46cb-b86f-cb81196c9cb4" alt=""><figcaption></figcaption></figure>

* Review the Configuration profile and hit 'Create'.
* *Once the Configuration profile has been deployed to the devices, the BlueFletch Secure Notifications configuration can be applied. Instructions for configuring BlueFletch Secure Notifications can be found below in the 'Feature Configuration' section.*

## Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up the Secure Notifications feature for a particular device profile or device group, please follow the steps below:

### Enabling the Status Bar <a href="#enabling-the-status-bar-3" id="enabling-the-status-bar-3"></a>

If secureNotifications is set to true, the user won't be able to access the default Android system notifications from the device. If this configuration is not present, this feature is disabled.

```json
{
    ...
    "secureNotifications" : {
        "enabled": true,
     }
}  
```

### Enabling the Heads-Up Pop-Up Feature <a href="#enabling-the-heads-up-pop-up-feature-4" id="enabling-the-heads-up-pop-up-feature-4"></a>

If enabledHeadsUp is set to true, the heads-up pop-up feature will be enabled. If this configuration is not present, this feature is disabled.

```json
        "enableHeadsUp": true,
```

### Setting Up the Range <a href="#setting-up-the-range-5" id="setting-up-the-range-5"></a>

To set up the range where the Heads-Up Pop-Up Feature will be shown, define the number of seconds in the configuration. If headsUpTime is disabled, the default is 3 seconds.

```json
        "headsUpTime": 2000,
```

### Configuring Allowed Packages <a href="#configuring-whitelist-packages-6" id="configuring-whitelist-packages-6"></a>

You can customize the packages that are allowed to send notifications. Only notifications from these packages will be displayed. If the list is empty or the key is missing, all notifications will be displayed unless blocked. An example configuration is shown below:

```json
        "whitelist": ["com.example.phone", "com.example.music"],
```

### Configuring Blocked Packages <a href="#configuring-blacklist-packages-7" id="configuring-blacklist-packages-7"></a>

You can customize the packages that must be blocked from sending notifications. Notifications from these packages will not be displayed. If the list is empty or the key is missing, no notifications are blocked. An example configuration is shown below:

```json
        "blacklist": ["com.example.browser"],
```

If a package is both in the whitelist and blacklist configuration, the blacklist has higher priority, so the notifications from the package will not be shown.

### Configuring Notification Bubble Settings <a href="#configuring-notification-bubble-settings-8" id="configuring-notification-bubble-settings-8"></a>

You can customize the color and width settings of the notification bubble. If bubbleColor has no specific value, the default color is white. If bubbleOffset is not specified, the notification bubble will be set in the middle of the screen. The example below shows the default configuration of the color and width settings:

```json
{
        "bubbleColor" : "#FFFFFF",
        "bubbleOffset" : 50
    }
}
```

{% hint style="info" %}
Secure Notifications was introduced in Launcher 3.1.x.
{% endhint %}


# Wi-Fi UI Settings Enable/Disable

Wi-Fi UI Settings Enable/Disable is a Launcher feature that enables displaying the Wi-Fi UI Settings.

## Overview <a href="#overview-0" id="overview-0"></a>

A reliable Wi-Fi network connection is essential for accessing shared enterprise devices. Wi-Fi Settings UI Enable/Disable is a Launcher feature that helps manage Wi-Fi settings and configurations on mobile devices. It allows the Wi-Fi Settings UI to be displayed or hidden from users.

{% hint style="danger" %}
**Caution:** Handling of Android Settings API shortcuts such as `android.settings.WIFI_SETTINGS` differs across Android OS versions, OEMs, and even patch versions within the same OEM; sometimes full access to the Android Settings app and even to the Quick Settings tiles is allowed.

BlueFletch recommends that `android.settings.WIFI_SETTINGS` and other Android Settings API shortcuts be placed in [layouts](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/layouts) for **manager** roles *or* have a [**password**](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/password-protected-applications) set, which only managers know, if the shortcuts are in the Open Zone.

BlueFletch does **NOT** recommend placing these shortcuts in the Open Zone without protections in place due to the risk of users reaching full Android Settings.
{% endhint %}

## User Guide <a href="#user-guide-1" id="user-guide-1"></a>

1. If this feature is enabled within the configuration, the Wi-Fi Settings UI will be displayed.
2. To enable this feature, a new layout item properties of action within the Android settings must be invoked.
3. If these values are coupled with improved icon processing, the Settings shortcut will be displayed.

## Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up the Wi-Fi Settings UI Enable/Disable feature for a particular device profile or device group, please follow the steps below:

### Enabling the Wi-Fi Settings UI <a href="#enabling-the-wi-fi-settings-ui-3" id="enabling-the-wi-fi-settings-ui-3"></a>

The Wi-Fi Settings UI Enable/Disable feature can be set up within the Launcher configuration. If wifiSettingsEnabled is set to true, the Wi-Fi Settings UI will be displayed.

```json
"layouts" : {
    ...

    "ADMIN":[
      {
        "label" : "Wifi Settings",
        "action": "android.settings.WIFI_SETTINGS",
        "icon" : "com.android.settings",
        "wifiSettingsEnabled": true
      }
     ...
    ],

    "*": [
        {
            "label" : "Wifi Settings-ReadOnly",
            "action": "android.settings.WIFI_SETTINGS",
            "icon" : "com.android.settings",
            "wifiSettingsEnabled": false,
            "password": "ef92b778bafe771e89245b89ecbc08a44a4e166c06659911881f383d4473e94f"
       }
    ]
  },
```

{% hint style="info" %}
Wi-Fi Settings UI Enable/Disable was introduced in Launcher 3.x.
{% endhint %}


# Motion Activated Device Lock

Motion Activated Device Lock is a Launcher feature that locks the device when driving is detected.

## Overview <a href="#overview-0" id="overview-0"></a>

Motion intelligence software is revolutionizing safety initiatives in the workplace by preventing distracted driving. It enables fleet managers to keep track of their employees' compliance with safe-driving habits such as speed monitoring and avoiding phone usage. Motion Activated Device Lock is a Launcher feature that ensures workers remain focused on the job at hand, reducing the risk of accidents and other potential hazards. It locks the device while the user is driving. When the user stops driving, the user will be navigated back to the home screen and can use the device normally.

## User Guide

Motion Activated Device Lock locks the screen display and prevents access to unauthorized apps and functionality whenever driving is detected. This allows IT administrators to monitor driver behavior to ensure Android enterprise device policy compliance.

1. If this feature is enabled in the configuration, the device will be disabled when driving is detected.
2. The message ‘For your safety, this device will remain locked while the vehicle is in motion’ will be displayed on the screen. Users will not be able to navigate away from this screen while they are driving.
3. Starting in Launcher 3.21.15, when the user stops driving, an "Exit Motion Lock" button will be displayed. The user must press the button in order to exit the Motion Lock UI. Prior to 3.21.15, when the user stops driving, the user will be navigated back to the home screen and can use the device normally.

## Feature Configuration <a href="#advanced-configuration-4" id="advanced-configuration-4"></a>

To set up the Motion Activated Device Lock feature for a particular device profile or device group, please follow the steps below:

### Enabling Motion Lock <a href="#enabling-motion-lock-5" id="enabling-motion-lock-5"></a>

Motion Activated Device Lock feature can be enabled or disabled within the Launcher configuration. If lockInMotion is set to true, the device will be locked while the user is driving. If lockInMotion is set to false, the device will not be locked while the user is driving.

```json
 "settings": {
    ...
    "lockInMotion" : true,

  ...
  }
```

### Setting Up The Range <a href="#setting-up-the-range-6" id="setting-up-the-range-6"></a>

If lockInMotion is set to true, you can set up the range where the Motion Activated Device Lock feature will be enabled by defining the percentage level in the configuration. For instance, if lockInMotionConfidence is set to 50 (can range from 0 to 100), the device will be locked when there is at least 50 percent confidence that the user is driving.

```json
    "lockInMotionConfidence" : 50,
```

### Setting Up The Interval <a href="#setting-up-the-interval-7" id="setting-up-the-interval-7"></a>

If lockInMotion is set to true, you can determine motion information from the system by defining the interval (in milliseconds) in the configuration. The default is 5000 ms (5 seconds). Introduced in Launcher version 3.11.4.

```json
    "lockInMotionInterval": 5000, 
```

### Enabling GPS <a href="#enabling-gps-8" id="enabling-gps-8"></a>

If lockInMotionUseGps is set to true, GPS will be utilized to enable the Motion Activated Device Lock feature when driving is detected. If lockInMotionUseGps is false, the Motion Activated Device Lock feature will not be enabled when driving is detected. Note that this setting will only be utilized if lockInMotion is set to true.

```json
    "lockInMotionUseGps": true,
```

### Setting Up The Speed Threshold <a href="#setting-up-the-speed-threshold-9" id="setting-up-the-speed-threshold-9"></a>

If lockInMotionUseGps is set to true, you can set up the movement speed threshold required to lock the device by defining the number of miles per hour in the configuration. For instance, if it is set to 2, the device will be locked if the detected speed is greater than or equal to 2 miles per hour. The default is 5 miles per hour.

```json
   "lockInMotionSpeedInMph": 5,
```

### Setting Up The GPS Time Interval <a href="#setting-up-the-gps-time-interval-10" id="setting-up-the-gps-time-interval-10"></a>

If lockInMotionUseGps is set to true, you can set up the GPS minimum time interval in the configuration. For instance, if it is set to 10000, the GPS update time interval will run every 10 seconds. The default is 5000 milliseconds.

```json
  "lockInMotionGpsUpdateInterval": 5000,
```

### Setting Up The GPS Distance Threshold <a href="#setting-up-the-gps-distance-threshold-11" id="setting-up-the-gps-distance-threshold-11"></a>

The GPS provides updates on the speed when it notices that the device has traveled the defined interval distance in meters. To set up the GPS distance threshold, define the number of meters in the configuration. For instance, if it is set to 5, the GPS updates will run every 5 meters. The default is 0, which means that GPS data will provide updates constantly. Note that this setting will only be utilized if lockInMotionUseGps is set to true.

```json
    "lockInMotionGpsMinDistanceThreshold": 0
```

### Allow Application Launch during Motion Lock <a href="#putting-it-all-together-9" id="putting-it-all-together-9"></a>

Beginning in Launcher version 3.20.x, an **Allow in Motion Lock** list of three or fewer applications or web shortcuts can be selected. The allowed apps will be displayed in the locked view at the bottom of the screen. Only applications that are also accessible with the user's role can be allowed for use during motion lock. To add an app to the **Allow In Motion Lock** list, include `"allowInMotionLock": true` in the app's layout object.

### Adding Enter Motion Lock Shortcut <a href="#putting-it-all-together-9" id="putting-it-all-together-9"></a>

Starting in Launcher 3.21.15, a shortcut item can be added to the Launcher home screen that allows for entering Motion Lock. Create a shortcut that uses the action com.bluefletch.launcher.ENTER\_MOTION\_LOCK. When entering Motion Lock using this action, Launcher will not force itself to the foreground, but will display the Motion Lock UI, and any applications that are marked as "allowInMotionLock" can be started from the Motion Lock UI.

```
{
    "label": "Enter Motion Lock",
    "action": "com.bluefletch.launcher.ENTER_MOTION_LOCK"
}
```

### Putting It All Together <a href="#putting-it-all-together-9" id="putting-it-all-together-9"></a>

For the example described above, the full configuration for the Motion Lock mode is as follows:

```json
  "layouts": {
      "Associates": [
         {
          "label": "Enter Motion Lock",
          "action":"com.bluefletch.launcher.ENTER_MOTION_LOCK"
        }
        {
          "package": "com.bluefletch.ems.support",
          "allowInMotionLock": true
        },
        {
          "package": "com.google.android.apps.maps",
          "allowInMotionLock": true
        },
        {
          "package": "com.android.dialer",
          "allowInMotionLock": true
        },
        {
          "package": "com.bluefletch.ems.deviceinformation"
        }
      ]
  },
  ...
  "settings": {
    ...
    "lockInMotion" : true,
    "lockInMotionConfidence" : 50,
    "lockInMotionInterval": 5000,

    "lockInMotionUseGps": true,
    "lockInMotionSpeedInMph": 5,
    "lockInMotionGpsUpdateInterval": 5000,
    "lockInMotionGpsMinDistanceThreshold": 0
    ...
  }
```

{% hint style="info" %}
Motion Activated Device Lock was introduced in Launcher 3.5.x.
{% endhint %}


# Unique Login

Unique Login is a Launcher feature that ensures that a user can be logged into one device at a time.

## Overview

Unique Login is a Launcher feature that lets users log in to one device at a time. If the user successfully logs in to a second device, Launcher will force the original device to log out. This feature provides users with a unique log-in and unique log-out experience across all corporate-owned shared-user devices.

## Feature Configuration

To set up the Unique Login feature for a particular device profile or device group, please follow the steps below:

### Enabling Unique Login using API Key

If enforceUniqueLogin is set to true, then the Unique Login feature will be enabled in the Launcher. If the organization uses an API key, it must be included in the configuration to enforce the feature.

```json
{
    ...
    "uniqueLogin": {
        "enforceUniqueLogin": true,
        "apiKey": "--- organization api key ---"
    }
    ...

}
```

### Enabling Unique Login using Key Management

If the organization is using the Key Management feature, the API key field can be left blank. Set the value enforceUniqueLogin to true to enable the Unique Login feature.

```json
{
    ...
    "uniqueLogin": {
        "enforceUniqueLogin": true
    }
    ...

}
```

{% hint style="info" %}
Unique Login was introduced in Launcher 3.18.10.
{% endhint %}


# Local Admin Password

Instructions for changing the Local Admin Password within the Launcher.

By default, the password is not part of the configuration file, but can be added/modified through updating the launcher configuration. The actual password value should is an SHA256 hash of the actual password.

To change the password, add/modify the adminPassword field under settings with an SHA256 hash of the password. Then push the new configuration to the device. Example below:

```json
"settings" : {
    ...
    "adminPassword": "d4548952d6815a2d07efbddaa6cfdf81d910121ea4ec094e182b02503214bc92"
    ...
}
```

Steps to Update Launcher Config

1. Determine new password.
2. Generate the hash using one of two methods below:
   1. Plug Password into a SHA256 hash generator, ie. <https://academo.org/demos/SHA-256-hash-generator/>
   2. Run on Mac command line `echo -n adpass321 | shasum -a 256 | awk '{ print $1 }'`
3. Update the configuration with the generated value.
4. Once this configuration file is read by the Launcher, this new password will be required to access local admin.


# Device Remote Lock

Device Remote Lock remotely locks devices and displays a customizable message prior to repair, replacement, decommissioning, or other purposes.

## Overview

The Device Remote Lock feature allows organizations to remotely lock devices and display a predefined message on a customizable screen. This helps manage devices designated for repair, replacement, decommissioning, or other purposes, while also preventing unauthorized use during these processes.

{% hint style="info" %}
This feature is only available on devices with Launcher 3.25.29 or higher.
{% endhint %}

## User Guide

When Device Remote Lock is activated, deactivated, or even during Launcher startup, the device adjusts its behavior to prioritize security until certain requirements are met. Understanding how the feature operates in these scenarios equips users to manage it effectively.

#### When Lock Screen is Activated:

* If a user is logged in, the system will automatically log the current user out.
* The UI will change to display the new Lock Screen interface.
* Device controls, such as the notification pull-down, will be disabled.

#### When Lock Screen is Deactivated:

The UI will update to confirm the device is in Open Zone.

#### During Device Boot / Launcher Startup:

If the device was locked before rebooting, the device will automatically return to lockdown mode after completing the startup process.

## How to Activate Device Remote Lock

#### On Portal - Device Actions - Remote Lock menu item:

To use Device Remote Lock on the BlueFletch Portal, navigate to the **Device** page, click on **Device Actions** to expand the menu, and select the **Remote Lock** button. Click the **Lock Device** button.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FGGCnSLGH382bGpmBEYn0%2FScreenshot%202025-04-03%20at%2010.41.24%E2%80%AFAM.png?alt=media&amp;token=b3b14368-0cd1-4e6a-b2e9-289566474dae" alt="" width="536"><figcaption></figcaption></figure>

The message ‘This device has been locked by your administrator. Please return this device to the cradle.’ will be displayed on the screen to prompt the user to take the corresponding action.

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FUNFeEM6ff9PB3TvYd5ih%2Fimage%20(1).png?alt=media&amp;token=6bd18f01-d1b4-464d-b1a6-5efb6f0cbc4f" alt=""><figcaption></figcaption></figure>

#### On Portal - Enterprise Launcher - Notifications:

```json
{
   "notificationId": 6001,
   "notificationAction": "cancel",
   "packageName": "com.bluefletch.ems.emm.launcher",
   "intentAction": "com.bluefletch.ACTION_FORCE_LOCK_ENABLE"
}
```

#### Using ADB command (update package name as needed):

```json
adb shell am broadcast -a com.bluefletch.ACTION_FORCE_LOCK_ENABLE -p com.bluefletch.ems.emm.launcher
```

## How to Deactivate Device Remote Lock

#### On Portal - Device Actions - Remote Lock menu item:

To disable **Device Remote Lock** on the BlueFletch Portal, select **Remote Lock** from the menu item and click the **Unlock Device** button.

This notification toast will pop up on the screen:

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fzmdu5tI1A12ZDpVzdLuV%2FScreenshot%202025-04-10%20at%209.09.00%E2%80%AFAM.png?alt=media&amp;token=81e748fb-f956-4b4a-926c-5c14a1376c6b" alt=""><figcaption></figcaption></figure>

#### On Portal - Enterprise Launcher - Notifications:

```json
{
   "notificationId": 6001,
   "notificationAction": "cancel",
   "packageName": "com.bluefletch.ems.emm.launcher",
   "intentAction": "com.bluefletch.ACTION_FORCE_LOCK_DISABLE"
} 
```

#### Using ADB command (update package name as needed):

```json
adb shell am broadcast -a com.bluefletch.ACTION_FORCE_LOCK_DISABLE -p com.bluefletch.ems.emm.launcher
```

## Customizing Lock Screen Display Settings

This configuration allows you to customize the background color, title, and message displayed during lockdown mode.

```json
{
  "forceLock": {
    "backgroundColor": "#FF0000",
    "title": "Title of the dialog",
    "message": "This is what shows up when the device is locked."
  }
}
```

{% hint style="info" %}
App Events are generated for Force Lock and Force Unlock invocations.
{% endhint %}


# Device Loss Prevention

BlueFletch Launcher provides configurable features that prevent unauthorized device access, enable real-time location tracking, and reduce the risk of loss or theft. These features help organizations to enhance device security, promote device accountability, and protect the sensitive data of workforce devices.

**Low Battery Mode:** Prompts users to return the device to its cradle once the battery level falls to a configured percentage. It prevents users from draining out the battery or making it difficult to locate misplaced or missing devices that have run out of battery.

**Luggage Tag Mode:** Automatically locks the device when it loses connectivity from the configured wireless network. It prevents unauthorized access to applications and data in case of loss or theft, acting like a virtual "luggage tag" for the device.

**Motion Activated Device Lock:** Automatically locks the screen and prevents access to unauthorized apps and functionalities when driving is detected. Normal device functionality is automatically restored when driving stops.

**Secure Device Mode:** Requires the user to log in to the Launcher every time a device is retrieved from the cradle. It prevents unauthorized access and increases accountability for device usage.

**Site Information Service: L**everages device location services such as GPS coordinates, IP range, subnet, and connected AP Mac addresses to pinpoint the real-time location of devices.

<br>


# Low Battery Mode

Low Battery Mode is a Launcher feature that notifies the user when the battery level of a device drops to a configured percentage.

## Overview <a href="#overview-0" id="overview-0"></a>

Real-time enterprise mobile analytics is critical for retail, trade, transportation, or any organization within the mobile ecosystem. Low Battery Mode is a Launcher feature that helps keep track of the battery percentage and charging status of shared-user Android devices involved in critical business functions. This feature warns users when a device's battery falls below a configured percentage and advises them to place the device on the charging cradle.

## User Guide <a href="#user-guide-3" id="user-guide-3"></a>

Low Battery Mode provides a granular view of the enterprise Android devices' battery life and enables IT administrators to proactively manage battery-related issues that could affect critical business functions.

1. If this feature is enabled in the configuration, the device will enter Low Battery Mode as soon as the battery level falls below 10%.
2. The message ‘Low Battery detected. Put the device on a charger.’ will be displayed on the screen to prompt the user to start charging the device.
3. Once the battery level reaches 15%, the device will exit Low Battery Mode and resume functionality.

**Accessing Device Details**

When a device enters Low Battery Mode, services such as Wi-Fi network access, GPS location services, and BLE beacons will continue to run in the background. This will provide accurate, real-time information on the location and proximity of the devices which can be viewed from the Device Finder and Portal.

## Feature Configuration <a href="#feature-configuration-4" id="feature-configuration-4"></a>

To set up Low Battery Mode for a particular device profile or device group, please follow the steps below:

### Enabling Low Battery Mode <a href="#enabling-low-battery-mode-5" id="enabling-low-battery-mode-5"></a>

Low Battery Mode feature can be enabled or disabled within the Launcher configuration. If useLowBatteryMode is set to true, the device enters Low Battery Mode.

```json
 "settings": {
    ...
    "useLowBatteryMode": true,
    ...
  },
```

### Setting Up Low Battery Mode Start Level and End Level <a href="#setting-up-low-battery-mode-start-level-and-end-level-6" id="setting-up-low-battery-mode-start-level-and-end-level-6"></a>

If useLowBatteryMode is enabled, the device will enter Low Battery Mode as soon as the battery life falls to a level defined in lowBatteryModeStartLevel. The device will exit Low Battery Mode as soon as the threshold of battery life reaches the percentage defined in lowBatteryModeEndLevel.

For example, if lowBatteryModeStartLevel and lowBatteryModeEndLevel are configured at 8% and 20%, respectively, the device will enter Low Battery Mode once it drops to 8% battery capacity and exit Low Battery Mode as soon as it goes up to 20% battery capacity.

```json
  "settings": {
    ...
    "useLowBatteryMode": true,
    "lowBatteryModeStartLevel": 8,
    "lowBatteryModeEndLevel" : 20,
    ...
  },
```

#### Default Configuration <a href="#default-configuration-7" id="default-configuration-7"></a>

If there are no configured low battery mode thresholds defined, the default settings are:

* lowBatteryModeStartLevel = 10
* lowBatteryModeEndLevel = 15 (i.e. lowBatteryModeStartLevel + 5)

## Full Configuration <a href="#full-configuration-8" id="full-configuration-8"></a>

If the property findMeBatteryLevelWarning is configured from the BlueFletch Support Application at 15%, it will play an alert tone on a device once the battery capacity reaches 15%.

If useLowBatteryMode is enabled, the device will enter or exit Low Battery Mode once the battery level reaches a configured percentage.

If lowBatteryModeStartLevel is set at 10%, the device will enter Low Battery Mode once the battery level falls to 10%. If lowBatteryModeEndLevel is set at 20%, the device will exit Low Battery Mode once the battery level goes up to 20%.

```json
"emsSupportTool": {
  ...
  "findMeBatteryLevelWarning": 15,
  ...
},
"settings": {
  ...
  "useLowBatteryMode": true,
  "lowBatteryModeStartLevel": 10,
  "lowBatteryModeEndLevel": 20,
  ...
},
```

{% hint style="info" %}
Low Battery Mode was introduced in Launcher 3.14.4.
{% endhint %}


# Luggage Tag Mode

Luggage Tag Mode is a Launcher feature that secures potentially lost devices by locking the device when it goes out of network range.

## Overview <a href="#overview-0" id="overview-0"></a>

Luggage Tag is a Launcher feature that enables organizations to stay on top of device visibility, data security, and workforce efficiency at all times. It locks the device when it goes out of network range and when the user is not connected to an approved network specified in the Launcher configuration. It then automatically unlocks the device when it is back in range and when a connection is restored to an approved network. Authorized users can immediately unlock the device using an admin-defined passcode.

## User Guide <a href="#user-guide-1" id="user-guide-1"></a>

Luggage Tag allows IT administrators to limit where corporate devices can be used. When it is activated, security rules can be set up to allow access to sensitive information and/or corporate data when the device is within the network range specified in the Launcher configuration.

1. When the Launcher goes out of network range, after a period of time the Launcher locks the screen to prevent unauthorized use of the device.
2. The Launcher periodically plays an audio alarm for 10 seconds while the device is in Luggage Tag mode.
3. When the device returns to the network range, the Launcher unlocks the screen.
4. If the device is locked, authorized users can unlock the screen to continue working offline.

## Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up Luggage Tag mode for a particular device profile or device group, please follow the steps below:

### Enabling Luggage Tag <a href="#enabling-luggage-tag-3" id="enabling-luggage-tag-3"></a>

To enable the Luggage Tag feature, add a luggageTag configuration section in the Launcher JSON file:

```json
 "luggageTag": {    "enable": true,    ...  },
```

### Setting Up the Range <a href="#setting-up-the-range-4" id="setting-up-the-range-4"></a>

To set up the range where Luggage Tag mode activates, enter the list of network SSIDs. If the Launcher is not connected to any of these networks, it enters Luggage Tag mode:

```json
  "approvedNetworks": [    ...    "office-wifi-1",    "office-wifi-2",    ...  ]
```

### Defining Lock Screen Information <a href="#defining-lock-screen-information-5" id="defining-lock-screen-information-5"></a>

You can customize the logo, address, and phone number for the lock screen when luggage tag mode is enabled. An example configuration is shown below:

```json
  "luggageTag": {    ...    
  "logo": "https://www.image.com/url/to/logo.png",    
  "line1": "123 Blue Fletch Street",    
  "line2": "Atlanta, GA 45678",    
  "email": "help@bluefletch.com",    
  "phoneNumber": "(855) 529-6349",    ...  },
```

*Note: The lock screen only displays what is defined.*

### Setting Up the Lock Screen Delay <a href="#setting-up-the-lock-screen-delay-6" id="setting-up-the-lock-screen-delay-6"></a>

Luggage Tag mode activates after leaving an approved network for a specified period of time. To configure Luggage Tag mode activation timing, define the number of minutes in the configuration:

```json
  "luggageTag": {    ...    "thresholdInMinutes": 30,    ...  },
```

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FEpwIVXDN0Qt2telBt0hH%2FThreshold%20In%20Minutes.png?alt=media&amp;token=eb0b59f4-d018-40d9-85ea-4de8c940869d" alt=""><figcaption><p>Threshold In Minutes</p></figcaption></figure>

### Setting Up the Audio Alarm Settings <a href="#setting-up-the-audio-alarm-settings-7" id="setting-up-the-audio-alarm-settings-7"></a>

When the Luggage Tag Mode activates, an alarm triggers. The alarm sounds for a few seconds (fixed) only. If the device is still out of range, the alarm sounds off at 10-minute intervals (configurable). The example below show the loop configuration for the alarm to sound every 10 minutes:

```json
  "luggageTag": {    ...    "alarmLoopInMinutes": 10  },
```

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FT2QINSsp3sV2PgTrAvV6%2FAlarm%20Loop%20In%20Minutes.png?alt=media&amp;token=201276da-359d-4deb-b1d3-3b1f3ec6091c" alt=""><figcaption><p>Alarm Loop In Minutes</p></figcaption></figure>

{% hint style="info" %}
Note: setting "alarmLoopInMinutes": 0 will disable the alarm.
{% endhint %}

### Defining the Unlock Passcode <a href="#defining-the-unlock-passcode-8" id="defining-the-unlock-passcode-8"></a>

Sometimes, the device may lose network connectivity and may have to bypass the Luggage Tag mode. When you enter the passcode, the device unlocks temporarily. In this scenario, you can define a passcode in the configuration using the SHA256 format:

```json
  "luggageTag": {    ...    "unlockPassword": "936A185CAAA266BB9CBE981E9E05CB78CD732B0B3280EB944412BB6F8F8F07AF",    ...  },
```

### Putting It All Together <a href="#putting-it-all-together-9" id="putting-it-all-together-9"></a>

For the example described above, the full configuration for the Luggage Tag mode is as follows:

```json
"luggageTag": {    
   "enable": true,    
   "thresholdInMinutes": 30,    
   "logo": "https://www.image.com/url/to/logo.png",    
   "line1": "123 Blue Fletch Street",    
   "line2": "Atlanta, GA 45678",    
   "email": "help@bluefletch.com",    
   "phoneNumber": "(855) 529-6349",    
   "unlockPassword":   
   "936A185CAAA266BB9CBE981E9E05CB78CD732B0B3280EB944412BB6F8F8F07AF",    
   "alarmLoopInMinutes": 10  
},  
"approvedNetworks": [    
   ...    
   "office-wifi-1",      
   "office-wifi-2",    
   ...  
]
```

{% hint style="info" %}
Luggage Tag Mode was introduced in Launcher 3.8.x.
{% endhint %}


# Secure Device Mode

Secure Device Mode is a Launcher feature that ensures authorized users are always logged in to the Launcher within a timeout period.

## Overview <a href="#overview-0" id="overview-0"></a>

Security is paramount at work, especially in the digital age. Mobile device management protects enterprise data against unauthorized access and breaches. Secured Device is a Launcher feature that requires mandatory sign-in of authorized users before gaining access to certain applications or settings. Enabling this feature will require users to log into the Launcher within a timeout period; otherwise, it will trigger a looping sound alarm. To shut off the alarm, the user must either log into the Launcher or cradle the device.

## User Guide <a href="#user-guide-1" id="user-guide-1"></a>

Secured Device prevents unauthorized access and makes sensitive data inaccessible to people who don't have the appropriate user credentials.

1. If this feature is enabled in the configuration, the message ‘Login initiated. The countdown started.’ will be displayed on the screen.
2. The user must log into the Launcher within a specific number of seconds before the device plays a looping sound alarm.
3. The alarm will be triggered if the user fails to log into the Launcher. The user will be notified to either log into the Launcher or cradle the device to cancel the alarm.
4. If the snooze setting for this feature is also activated, it will postpone the alarm for a configured number of seconds. When the end of the countdown is reached, the alarm will be triggered again.

## Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up the Secured Device feature for a particular device profile or device group, please follow the steps below:

### Enabling Secure Device Mode <a href="#enabling-secured-device-mode-3" id="enabling-secured-device-mode-3"></a>

Set unsecuredDeviceTimeoutInSecs to a positive value (e.g., 30 for a 30-second timeout). This triggers an alarm if the device is uncradled and inactive for your chosen duration. To stop the alarm, simply log in or cradle the device.

```json
"settings": {
    ...
    "unsecuredDeviceTimeoutInSecs": 30,
    
  }
```

To disable Secured Device Mode, set unsecuredDeviceTimeoutInSecs back to zero (0).

```json
"settings": {
    ...
    "unsecuredDeviceTimeoutInSecs": 0,
    
  }
```

### Setting Up Device Countdown Alarm <a href="#activating-the-sound-alarm-4" id="activating-the-sound-alarm-4"></a>

When set to true, unsecuredDeviceEffects enables the warning countdown alarm. This alerts the user when there are 12 seconds or less left before the timeout ends, reminding them to log in or cradle the device to prevent the alarm from sounding.

```json
 "settings": {
    ...
    "unsecuredDeviceEffects": true,

  } 
```

By default, unsecuredDeviceEffects is set to false. This means the warning countdown alarm won't activate unless specifically configured to do so.

```json
 "settings": {
    ...
    "unsecuredDeviceEffects": false,

  } 
```

### Adjusting Device Sound Volume <a href="#activating-the-sound-alarm-4" id="activating-the-sound-alarm-4"></a>

To adjust the volume of the alarm sound, set a value between 0 to 100 in the configuration. By default, unsecuredDeviceSoundVolume is set to 100 which is the maximum volume level.

```json
 "settings": {
    ...
     "unsecuredDeviceSoundVolume": 100,

  } 
```

### Customizing Device Sound Settings <a href="#activating-the-sound-alarm-4" id="activating-the-sound-alarm-4"></a>

Secure Device mode enables audible differentiation of alarms, providing organizations with the flexibility to customize alarm sounds to their unique requirements.

To customize the sound for the unsecured device countdown effect, choose a file on the sdcard or a file referenced in the Assets Manager configuration. When unsecuredDeviceEffects is set to true, the warning countdown alarm will be triggered to remind the user to either log in or cradle the device. The example below references the loginAlarm file found within the device's Assets Manager.

```json
 "settings": {
    ...
     "unsecuredDeviceEffectsSound": "assets:loginAlarm",

  } 
```

You can also customize the sound for the unsecured device alarm. When triggered, the alarm will be played at the highest possible volume. To shut off the alarm, the user must login or cradle the device. The example below references the loginAlarm file found within the device's Assets Manager.

```json
 "settings": {
    ...
     "unsecuredDeviceAlarmSound": "assets:loginAlarm",

  } 
```

### Setting Up The Snooze Alarm <a href="#setting-up-the-snooze-alarm-5" id="setting-up-the-snooze-alarm-5"></a>

The looping sound alarm can be silenced even if the user does not log into the Launcher or cradle the device by defining the number of seconds of the property securedDeviceSnoozeDuration in the configuration. Starting in Launcher version 3.20.12, this snooze feature can be configured to appear and selected multiple times using the secureDeviceMaxSnoozeCount property. These parameters are only applicable if unsecuredDeviceTimeoutInSecs is also set. The example below shows the snooze configuration for the sound alarm to be delayed for 120 seconds, for three times at most.

```json
 "settings": {
    ...
    "secureDeviceSnoozeDuration": 120,
    "secureDeviceMaxSnoozeCount": 3

  }
```

### Putting It All Together <a href="#setting-up-the-snooze-alarm-5" id="setting-up-the-snooze-alarm-5"></a>

For the example described above, the full configuration for the Secure Device mode is as follows:

```json
 "settings": {
        ...
        "unsecuredDeviceTimeoutInSecs": 30,
        "unsecuredDeviceEffects": true,
        "unsecuredDeviceSoundVolume": 100,
        "unsecuredDeviceEffectsSound": "assets:loginAlarm",
        "unsecuredDeviceAlarmSound": "assets:loginAlarm",
        "secureDeviceSnoozeDuration": 120,
        "secureDeviceMaxSnoozeCount": 3,
        ...
  }
```

## Appendix: External Cradle Monitoring <a href="#setting-up-the-snooze-alarm-5" id="setting-up-the-snooze-alarm-5"></a>

Launcher 3.22.25 introduced compatibility with external applications developed by a customer or third-party to monitor or supplement Launcher's cradle state handling.

For example, a customer builds an app to determine if a device is still on a cradle during a power outage and therefore should not go into Secure Device Mode. Defining the customer's application package and cradle monitoring activity in the externalCradleMonitor object allow Launcher and the customer app to communicate regarding whether the criteria are met to suspend Secure Device Mode. Contact a BlueFletch representative if you are interested in more information about this feature.

```json
"secureDevice": {
    "externalCradleMonitor": {
      "packageName": "placeholder for package name",
      "activityName": "placeholder for activity name"
    }
}
```

When developing your own external cradle monitoring app, there are certain intent actions to watch for:

* com.bluefletch.ems.launcher.START\_CRADLE\_MONITOR
* com.bluefletch.ems.launcher.STOP\_CRADLE\_MONITOR

These are actions used by Launcher to communicate with the external application regarding when to start or stop the monitoring service. These actions will dictate when the app should broadcast actions for a device's cradle state.

Once an external cradle monitor is defined, Launcher will subscribe to two specific intent actions that respectively indicate when a device is considered cradled or uncradled outside of its power state:

* com.bluefletch.ems.launcher.DEVICE\_CRADLED
* com.bluefletch.ems.launcher.DEVICE\_UNCRADLED

{% hint style="warning" %}
Secure Device Mode was introduced in Launcher 3.8.x.
{% endhint %}


# Launcher Provider SDK

Launcher Provider SDK is a Launcher feature that enables native applications to get data about the current logged-in user status, store information, configuration, session data, etc.

## Overview

Security management for workforce devices is a critical task for IT administrators. Having complete access and visibility to user information and device activity enables the organization to effectively implement security protocols and efficiently control who can view, share, or modify sensitive company data or resources. LauncherProvider is a Launcher feature that allows native applications to get data about the current logged-in user status, store information, configuration, session data, etc.

## User Guide

1. If this feature is enabled in the configuration, the static class LauncherProviderHelper within the LauncherProvider’s AAR library will make provider data readily available and easily accessible.
2. Ideally, you should be able to retrieve information on specific users, stores, and sessions when the application resumes activity.
3. The Launcher has an authorizedClients section where customers and organizations can whitelist company-approved applications. The applications defined here are granted access to user information and device activity. Applications not defined here are automatically blacklisted from provider data access.

## Feature Configuration

To set up LauncherProvider for a particular device profile or device group, please follow the steps below:

### Enabling Provider on Gradle

In this example, the configuration declares the three external libraries that are needed to run the project: launcherProvider, Gson, and Timber.

```json
// in your project's build.gradle file:
dependencies {
    ...
    implementation(​name​: ​'launcherProvider-x.x.x'​, ​ext​: ​'aar'​, ​version​: ​'x.x.x'​)
    implementation 'com.google.code.gson:gson:2.8.2'
    implementation 'com.jakewharton.timber:timber:4.7.1'
    ...
}
```

To access provider data on the AAR library, add launcherProvider-x.x.x.aar to the libs directory of the launcherProvider library.

```json
implementation(​name​: ​'launcherProvider-x.x.x'​, ​ext​: ​'aar'​, ​version​: ​'x.x.x'​)
```

To access provider data on Gson and Timber libraries, add the following to the dependency list:

```json
implementation 'com.google.code.gson:gson:2.8.2'
implementation 'com.jakewharton.timber:timber:4.7.1'
```

Add the Flat Directory to the repositories list in your Project build.gradle file to enable pulling from the libs directory. In this configuration, the online repositories mavenLocal, google, and jcenter host commonly used libraries. It also indicates how to access any additional external libraries that have been manually added to the libs directory.

```json
allprojects {
    repositories {
        mavenLocal()
        google()
        jcenter()
        maven {
            ​// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            u​rl​"​$rootDir​/../node_modules/react-native/android" ​
        }
        flatDir {
            dirs ​'libs' ​//this way we can find the .aar files in libs folder
        }
    ​}
}
```

### Enabling Provider on Java

To retrieve information about the current user information, session, and site location, add the LauncherProviderHelper and Session classes in the configuration.

If getProviderInfo is marked as protected within SampleActivity, it indicates that current session information can only be retrieved or accessed from within this class.

Using LauncherProviderHelper and getCurrentSession, you can view the current user's user ID, username, groups, and access token.

If extendedAttributes is added to the configuration section, additional site information such as store number, store name, and device ID can also be retrieved or accessed.

```json
import com.bluefletch.launcherprovider.LauncherProviderHelper;
import com.bluefletch.launcherprovider.Session;

...
public class SampleActivity extends Activity {

  // in this example, getProviderInfo is the local method used to retrieve the
  // current session information
  protected void getProviderInfo() {

    Session session = LauncherProviderHelper.getCurrentSession(this);

    // all fields should be present. If group is “*” then there is no
    // logged in session so the app should handle accordingly.
    //
    String userId = session.get(Session.USER_ID);
    String userName = session.get(Session.USER_NAME);
    String groups = session.get(Session.GROUPS);
    String accessToken = session.getExtendedAttribute("accessToken");

    // Get the site information from the config.  This information
    // is stored in the extendedAttributes.
    //
    Config config = LauncherProviderHelper.getCurrentConfig(this);
    String storeNumber = config.getExtAttr("siteId");
    String storeName = config.getExtAttr("siteName");
    String deviceId = config.getExtAttr("deviceId");

  }
```

### Enabling Provider on Cordova

Install the Cordova plugin to access provider data:

```json
//cordova plugin add com.phearme.cordovaplugin.contentproviderplugin
```

Add contentproviderplugin to the configuration. In this example, contentUri indicates where to locate the data; projection variable indicates which specific data will be retrieved; selection variable is used to filter the data; and, sortOrder indicates how retrieved data should be sorted.

```json
if (window.plugins && window.plugins.contentproviderplugin) {
    window.plugins.contentproviderplugin.query({
        contentUri: "content://com.bluefletch.launcherprovider/session",
        projection: ["data"],
        selection: null,
        selectionArgs: null,
        sortOrder: null
    }, function (data) {
        console.log('session data is:', data);
        var sessionData = {};
        if (data.length > 0) {
            sessionData = JSON.parse(data[0]["DATA"]);
        }
        // get the user id
        var userid = sessionData.userId;
        var username = sessionData.userName;
        var groups = sessionData.groups;
        var extendedAttrs = JSON.parse(sessionData.extendedAttributes);
        var extAttrAccessToken = extendedAttrs.accessToken;

    }, function (err) {
        // use default
        console.log('session error:', err);
    });
}
```

### Enabling Provider on React Native

#### On Android:

* Include the AAR for Launcher Provider
* Update the Gradle file to include Launcher Provider AAR
* Include React Bridge Code
* Update Main Application to include React Bridge Code

#### On React Code:

* Include the Launcher Exported Javascript

### Enabling Provider on MAUI/C\#

**Installing the NuGet Package in Visual Studio**

1. Download the NuGet Package onto your computer.
2. Create a folder on your computer to house the package and copy the package into that folder.
3. In your Visual Studio project go to *Tools -> Nuget Package Manager -> Package Manager Settings -> Package Sources* and click the + button in the top right.
4. Change the source to your created folder and click update, then OK.
5. Right-click your project file in the solution explorer and go to Manage NuGet Packages.
6. Click Browse and install the Launcher Provider Package.<br>

**Importing Launcher Provider into a file**

Add the following lines to the top of your file:

```aspnet
using Com.Bluefletch.Launcherprovider;
using Com.Bluefletch.Launcherprovider.Models;
```

{% hint style="warning" %}
**Note**: *These imports will only work for files targeting the Android platform.*
{% endhint %}

**Sample Code Block**

```aspnet
using Android.App;
using Android.Content.PM;
using Android.OS;
using Com.Bluefletch.Launcherprovider;
using Com.Bluefletch.Launcherprovider.Models;

namespace SampleApp;

[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTop, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
public class MainActivity : MauiAppCompatActivity
{
    public static void Main()
    {
        CriteriaPattern criteriaPattern = new();

        var sessionJson = LauncherProviderHelper.GetCurrentSessionAsJson(Platform.AppContext);
        Console.WriteLine(sessionJson);

        var session = LauncherProviderHelper.GetCurrentSession(Platform.AppContext);
        var userId = session?.Get(Session.UserId);
        Console.WriteLine(userId);
        
    }
}
```

### Whitelisting Applications

You can customize the applications that are permitted to access provider data. Add authorizedClients to the configuration.

```json
{
    ...
    "authorizedClients" : [
       "com.mydomain.fulfillment",
       "com.mydomain.mobilepos"
    ],
}
```

### Managing Storage and Retrieval of Provider Data

This configuration is responsible for managing provider data, such as storing and retrieving the user’s session data.

1. The instance LauncherSessionPackage overrides the getPackages method.
2. The method will get the list of packages that are already being used by the application.
3. The packages ModuleRegistryAdapter and LauncherSessionPackage will be added to the list.
4. Once added, the getPackages method will return the updated list to the application.
5. The application can use the updated list to manage the storage and retrieval of provider data.

```json
public class LauncherSessionPackage implements ReactPackage {

    @Nonnull
    @Override
    public List<ViewManager> createViewManagers(@Nonnull ReactApplicationContext reactContext) {
        return Collections.emptyList();
    }

    @Override
    public List<NativeModule> createNativeModules( ReactApplicationContext reactContext ) {

        List<NativeModule> modules = new ArrayList<>();

        modules.add( new LauncherSessionProvider(reactContext) );

        return modules;
    }

}
```

### Note for Android 11 and Above

For devices running Android 11 or above, add the following lines to the AndroidManifest.XML for any application that requires Launcher Provider access:

```xml
<queries>
    <provider
        android:authorities="com.bluefletch.launcherprovider"
        tools:replace="android:authorities" />
</queries>
```


# Load Configurations via QR Code Scan

This Launcher feature enables QR code scanning to apply a Launcher configuration directly to a device.

## Overview

To streamline testing, troubleshooting, and onboarding, the BlueFletch Portal generates a QR code that represents the Launcher configuration. This QR code is a compressed version of the Launcher configuration. When the QR code is scanned, the Launcher decompresses the code and verifies that it is a valid configuration. Once verified, the configuration is applied to the device.

## User Guide

1. Create a valid Launcher Configuration within the BlueFletch Portal.
2. Display the QR Code within the Portal.
3. From the Launcher home screen, scan the QR Code.
4. If there is not a configuration on the device, the configuration will be applied.
5. If there is a configuration on the device, the user will be prompted to overwrite the configuration.

## Feature Configuration <a href="#feature-configuration-2" id="feature-configuration-2"></a>

To set up the Load Configurations via QR Code Scan feature for a particular device profile or device group, follow the steps on [Creating a Configuration](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/portal/enterprise-launcher/creating-a-configuration) within the Portal documentation.

{% hint style="info" %}
Load Configurations via QR Code Scan feature was introduced in Launcher 2.11.x.
{% endhint %}


# Getting Started

## Before you begin

1. Request a free trial BFE account by emailing <info@bluefletch.com>.
2. Once you have a BFE account, log into the BFE Portal using your account credentials.
3. Follow the steps below to quickly get Launcher up and running on your device.

## About this task

This tutorial describes how to set up and activate BlueFletch Launcher to manage your devices. The BlueFletch Launcher installation process consists of several components, including the Launcher application, configuration files, and other dependencies.

#### In the instructions below, you'll learn how to:

* Create a new configuration.
* Set a custom theme.
* Add an application and/or a web shortcut.
* Install the configuration.

### Create a New Configuration

1. Log into the BFE Portal using your credentials.
2. Go to the **Enterprise Launcher → Configurations** section.
3. Click on New Configuration to create a new configuration file.
4. Enter a Title and Description for this configuration file.

### Set a Custom Theme

1. Go to Themes section and turn on the Enable toggle to enable the custom theme.
2. Enter a URL or a file path on the device for the Logo. (If using a file path, the jpg or png file must be present at that location).
3. Enter an Accent Color in the form of HTML color notation, e.g. #A3D4DG.
4. Enter a URL or a file path on the device for the Wallpaper Image. The Launcher will automatically set the device wallpaper with this image.

### Add an Application and/or a Web Shortcut

1. Go to the Layouts section and under the \* (or Open Zone) application group.
2. Click on Add Application and enter the package name of the app to be displayed. Click Update to save.
3. Click on Add Shortcut and enter a Label and URL to the website to be opened from the Launcher. Click Update to save.

Once the new configuration file has been saved, it is now available for use.

### Install the Configuration <a href="#install-the-launcher-and-configuration-8" id="install-the-launcher-and-configuration-8"></a>

You can install the Launcher and configuration file either through your existing MDM (via Managed Google Play) or by sideloading (e.g. Using ADB commands via USB).

{% hint style="info" %}
The Launcher's configuration JSON file is case-sensitive. When deploying this file, use the file name "launcher.json" (all lower-case).
{% endhint %}

#### Installing using MDM via Managed Google Play

1. BlueFletch will share the Launcher application with your company's Android Enterprise organization ID.
2. Within your MDM, proceed through the flow for adding an Android application with Managed Google Play.
3. In the Managed Google Play Store iFrame, search for *"BlueFletch"* (include quotation marks) and select the Launcher app.
4. Proceed through your MDM's flow for adding an app policy.
   1. Select the Launcher, which will now have been made available by Managed Google Play.
   2. In the section for a managed configuration, there should be a **Launcher Configuration URL** key and a **Launcher Configuration Checksum** key.
   3. From the BlueFletch Portal, copy your configuration's URL and checksum from the **Enterprise Launcher → Configurations** page and paste into the respective fields in your MDM's managed configuration.<br>

      <figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2Fbj8zyoB7RR0b4P4GWUcq%2FScreenshot%202024-06-27%20at%201.35.25%20PM.png?alt=media&amp;token=6c229702-9cbf-42f8-9889-d1abff242893" alt=""><figcaption><p>Example from Microsoft Intune</p></figcaption></figure>
   4. Save changes.
5. Deploy APK/app policy to devices.

#### Install by sideloading (using ADB via USB)

1. Download the launcher.json configuration file from the BlueFletch Portal **Enterprise Launcher → Configurations** page and then proceed with the ADB commands below.
2. <pre><code><strong>adb install -g &#x3C;file path to locally-hosted Launcher APK>  // installs the Launcher APK with all permissions granted
   </strong></code></pre>
3. <pre><code><strong>adb push &#x3C;file path to locally-hosted launcher.json configuration> /sdcard/Download/ems/launcher.json  // creates an 'ems' directory and downloads the Launcher configuration to it
   </strong></code></pre>
4. ```
   adb shell am start -n com.bluefletch.launcher/com.bluefletch.launcher.Launcher  // starts the Launcher's primary activity
   ```

{% hint style="info" %}
Be sure to push the file as "launcher.json" (all lower-case). The configuration file's name is case-sensitive.
{% endhint %}

The Launcher should now be installed on your device in a simple kiosk mode.


# Technical Guide

## Base

<table data-full-width="false"><thead><tr><th>Field</th><th>Description</th></tr></thead><tbody><tr><td>configVersion</td><td><strong>string</strong> A free-form user-defined string that can be used to indicate the version of this configuration file being published. Added as a convenience field to help customers track which configuration file version is on the device.</td></tr><tr><td>license</td><td><strong>string</strong> (mandatory) A customer-specific license key to provide access to the Launcher. There will only be one key assigned per customer and should be applied to all the customer's devices. To obtain a license key, request one from the BlueFletch sales representative.</td></tr><tr><td><a href="#group-inclusions">group_inclusion</a></td><td>Listing of LDAP or security groups expected; each security group will contain an array of applicable application groups.In the example above, users that log in as "Manager" will get applications listed under GroupA, GroupB and "*"."*" is the default security group, and will be applicable when no one is logged into the device. Note that this only works in conjunction with 'groups' below 3.2.x. Beginning 3.2.x, group_inclusion can also be applied to "layouts".</td></tr><tr><td><a href="#layouts">layouts</a></td><td><strong>object</strong> Defines which applications to display based on Login state.</td></tr><tr><td><a href="#layout-settings">layoutSettings</a></td><td><strong>object</strong> (optional) Defines advanced global settings for the layout.</td></tr><tr><td><a href="#settings">settings</a></td><td><strong>object</strong> Key Value pairs of settings that control processing. See <a href="#settings">Settings</a> for details.</td></tr><tr><td><a href="#luggage-tag">luggageTag</a></td><td><strong>object</strong> Key Value pairs of Luggage Tag settings. Customizes how Launcher locks the device when it's not on a network listed in the approvedNetworks array.</td></tr><tr><td>approvedNetworks</td><td><strong>array</strong> A list of networks that's been approved for a device to use. Apply a luggageTag object to enforce.</td></tr><tr><td>defaultSession</td><td>An object representing the default session that will be stored in the Launcher session content provider if no user is logged in.</td></tr><tr><td>patterns</td><td><strong>array</strong> A set of <a href="#pattern-object">pattern objects</a> representing a configuration for associating search text with applications. If the search text matches the configured regex pattern, the application specified will be displayed, and could also specify the intent and extras that will be passed to the app when the search result is tapped.</td></tr><tr><td>extendedAttributes</td><td><strong>object</strong> Can be used to specify key-value pairs that customers can use to provide additional custom settings.</td></tr><tr><td>protectedList</td><td><strong>array</strong> List of package names that are not deleted when calling <code>disablePackages</code>. Built-in protected packages include the BlueFletch applications Launcher, Messaging, Support Tool, Platform Services, and Remote Control. Additional packages can be added to the array.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/security-and-safety/disable-packages">disablePackages</a></td><td><strong>array</strong> This is a list of packages that launcher is to disable. Launcher will disable these at device boot, or if the packages get installed. This is available starting in 2.8.x.<em><strong>WARNING:</strong></em> <em>Disabling system applications may affect device behavior. Always test changes before deploying to production.</em></td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/theming/configure-theme">theme</a></td><td><strong>object</strong> Contains information on an Organization's device theme. See <a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/theming/configure-theme">Theme</a> for details.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/theming/site-specific-theming">altThemes</a></td><td><strong>object</strong> Theme configuration values associated with site objects in the siteTheme column of a sitelist.csv file.</td></tr><tr><td>emsSupportTool</td><td><strong>object</strong> Key Value pairs that control support application processing. See <a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/support-application/technical-guide">Support Application Configurations</a> for more information.</td></tr><tr><td>notifications</td><td><strong>array</strong> Collection of MQTT Broker Object connection settings. See <a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/device-applications/messaging/technical-guide">Messaging Configurations</a> for more information.</td></tr><tr><td>auth_ldap</td><td><strong>object</strong> Key Value pairs of settings that control LDAP Authorization.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/authentication-and-sso">auth_ldap_connections</a></td><td><strong>array</strong> An ordered list of LDAP domain/connection point objects, giving multiple authentication options in case one service is unavailable. The authentication module will attempt each one until it successfully logs a user in with the provided credentials.</td></tr><tr><td>auth_adal</td><td><strong>object</strong> Key Value pairs of settings that control ADAL Authorization.</td></tr><tr><td>auth_okta</td><td><strong>object</strong> Key Value pairs of settings that control OKTA Authorization (Supported OKTA APK 2.x). Prior to 2.x, see <a href="#settings">Settings</a> for Okta Auth Settings.</td></tr><tr><td>auth_oktaRest</td><td><strong>object</strong> Key Value pairs of settings that control Okta REST Authorization.</td></tr><tr><td>auth_msal</td><td><strong>object</strong> Key Value pairs of settings that control MSAL Authorization for Azure Active Directory.</td></tr><tr><td>auth_oauth2</td><td><strong>object</strong> Key Value pairs of settings that control AppAuth/OAuth2 Authorization.</td></tr><tr><td>knownLaunchers</td><td><strong>array</strong> List of additional launcher package names to check when setting BlueFletch Launcher as default. Packages built-into the list include Google and Honeywell launchers; additional packages can be added to the array.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/device-applications/keyboard/technical-guide">keyboard</a></td><td><strong>object</strong> Key Value pairs of settings that control keyboard.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/browser/technical-guide/all-configuration">browser</a></td><td><strong>object</strong> BlueFletch Browser defaults to these settings unless overridden by browserOverrides object.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/device-applications/device-remote-control/technical-guide">remoteControl</a></td><td><strong>object</strong> Key-value pairs for configuring the Remote Control application. The separate configuration was introduced in Launcher version 3.20.12.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/custom-intents">intents</a></td><td><strong>object</strong> Custom intents to fire at certain processing points, such as Login, Logout, Screen On, Boot, Cradle and Un-Cradle.</td></tr><tr><td>customField</td><td><strong>object</strong> Configuration to define the format and source for custom UI fields.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/security-and-safety/secure-notifications">secureNotifications</a></td><td><strong>object</strong> Configurations for Secure Notification Support.</td></tr><tr><td>externalSiteInfoFinder</td><td><strong>object</strong> Configuration for using an external Site Location finder service.</td></tr><tr><td>externalManualSiteSelect</td><td><strong>object</strong> Configuration for using an external Manual Site Selection. Introduced in Launcher version 3.19.19.</td></tr><tr><td>orientationOverride</td><td><strong>object</strong> Configuration for changing the BlueFletch Launcher orientation based on device model. Note that this is for the Launcher only, and does not affect orientation for the entire device or other applications.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/assets-manager">assets</a></td><td><strong>object</strong> Configuration for specifying UI or file assets to use in UI rendering.</td></tr><tr><td>epmConfig</td><td><strong>object</strong> Enterprise Password Manager settings. For future implementation.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/chat/technical-guide">bfChat</a></td><td><strong>object</strong> Key-value pairs for configuring the <a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/chat/features">BlueFletch Chat</a> application. For the required values, consult the <a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/chat/technical-guide"><em><strong>BlueFletch Chat Technical Guide</strong></em></a>.</td></tr><tr><td>authorizedClients</td><td><strong>array</strong> Starting in 3.15.x, a string array of packages that will be allowed to read from the LauncherProvider. To prevent all apps from reading the LauncherProvider session, set this <code>[]</code>, omit or set to <code>null</code> to disable application checking. Default is <code>null</code>. Introduced in Launcher version 3.15.4.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/device-finder/technical-guide">deviceFinder</a></td><td><strong>object</strong> Key-value pairs for configuring the <a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/device-finder/features">Device Finder</a> application. For more details, see the <a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/device-finder/technical-guide"><em><strong>Device Finder Technical Guide</strong></em></a>. Introduced in Launcher version 3.16.15.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/security-and-safety/unique-login">uniqueLogin</a></td><td><strong>object</strong> Key-value pairs for configuring the Unique Login feature for the BlueFletch Launcher. See <a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/security-and-safety/unique-login">Unique Login </a>for more details. Introduced in Launcher version 3.18.10.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/security-and-safety/key-management">keyManagement</a></td><td><strong>object</strong> Key-value pairs to enable a device to accept API security via device tokens. Introduced in Launcher version 3.18.10.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/implied-groups">impliedGroups</a></td><td><strong>object</strong> Provides the capability to add layouts by comparing regular expressions to users' session attributes. Introduced in Launcher version 3.19.15.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/device-applications/epm-plugin/technical-guide">epmPluginConfig</a></td><td><strong>object</strong> Key-value pairs for configuring the Enterprise Password Manager (EPM) Plugin. Launcher can works with EPM to auto-fill credentials or click buttons on native apps defined in the configuration. Introduced in Launcher version 3.22.25.</td></tr><tr><td><a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/device-loss-prevention/secure-device-mode">secureDevice</a></td><td><strong>object</strong> Key-value pairs for configuring Secure Device Mode. The separate configuration was introduced in Launcher version 3.22.31.</td></tr><tr><td>header</td><td><strong>array</strong> Array of objects for configuring the Open Zone and/or session headliner <a href="https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/widgets">widget</a>. Introduced in Launcher version 3.22.25.</td></tr></tbody></table>

## Settings

| Field                               | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ----------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| activateSearchBar                   | <p><strong>boolean</strong> If set to <code>true</code> will display the search bar on the Launcher home screen. Tapping on search bar will trigger the search activity. <em>This setting was deprecated in Launcher v3.13.9, but re-enabled in v3.14.15</em>. If using Quick Start, set this value to false, and search activity can still be displayed as an <a href="#application-object">Application Object</a>:\*<br>{“package”: “com.bluefletch.launcher”, “activity”: “com.bluefletch.baselauncher.search.SearchActivity”, “label”: “Search”}</p> |
| enableNotifications                 | **boolean** Determines whether the notifications service will be started. Default is true.                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| idleTimeInMinutes                   | **integer** A number value corresponding to # of minutes the launcher will automatically logout the user. Countdown for idle time starts when the screen turns off, and timer resets when the screen is woken up. If the device is not woken up before the timer expires, the screen will wake up logged out.                                                                                                                                                                                                                                            |
| maxSessionTimeInMinutes             | **integer** A number value corresponding to # of minutes the launcher will automatically logout the user. Countdown for max session time starts on user login.                                                                                                                                                                                                                                                                                                                                                                                           |
| requireAuthOnScreenOn               | **boolean** If true, launch the configured Login page for reauthentication when the device screen is turned on. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                                        |
| requireAuthLockDelay                | **integer** Time in seconds before the Launcher requires re-authentication after the device goes to sleep (only applies if requireAuthOnScreenOn is set to true).                                                                                                                                                                                                                                                                                                                                                                                        |
| useSecondaryAuth                    | **string** Indicates type of secondary auth during re-authorization. Values are `"none"`, `"pin"`, `"face"`, `"nfc"`, and `"barcode"` (NFC available in EMS Auth 3.2.2). Default is none.                                                                                                                                                                                                                                                                                                                                                                |
| alternateSecondaryAuth              | **string** Sets an alternative secondary authentication method available during reauthentication training. Accepted values are `"pin"`, `"face"`, `"nfc"`, and `"barcode"`. Only applied if `useSecondaryAuth` is set and is a different value than `alternateSecondaryAuth`.If configured, during the secondary authentication training immediately following login there will be an option to use the alternate method for reauthentication.                                                                                                           |
| secondaryAuthRequired               | **boolean** If set to true, will logout the user if they cancel creation of pin. Default is false. Available starting Launcher 3.3.x. **Starting 3.6.x, user will have the option to logout during verification as well.**                                                                                                                                                                                                                                                                                                                               |
| secondaryAuthPinLength              | **integer** Set the minimun number of digits required for pin. Minimum value is 4, default is 6 if not specified. Available in Auth 3.1.x.                                                                                                                                                                                                                                                                                                                                                                                                               |
| pinMaxLength                        | **integer** Number of required digits for the PIN, default is 6 if not specified, minimum of 4, maximum of 10. This setting supercedes `secondaryAuthPinLength`, available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                                                                    |
| pinEnforceConsecutiveRule           | **boolean** If true will not allow more than 3 consecutive similar digits. Default is set to true. (e.g. 1111 will not be allowed, but 1112 is allowed). Available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                                                                            |
| pinEnforceSequentialRule            | **boolean** If true will not allow more than 3 sequential digits up or down (e.g. 1234 is not allowed but 1235 is allowed). Default is set to true. Available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                                                                                 |
| pinEnforceBlackList                 | **string** Comma-delimited list of PIN codes that cannot be used by the user (e.g. if 1112 is specified, even if it passes the consecutive rule, it will be disallowed by blacklist). Available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                                               |
| pinMaxRetryCount                    | **integer** During verification, max number of incorrect attempts allowed, after which the currently logged in user is forcibly logged out. Available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                                                                                         |
| pinAutoSubmit                       | **boolean** If set to false, will require the user to tap on the Enter key after entering their PIN. If set to true, the PIN will be submitted after last entry (based on `pinMaxLength`). Default is true. Available from Auth 3.6.x and above.                                                                                                                                                                                                                                                                                                         |
| secondaryAuthQuickStartPackage      | <p><strong>string</strong> Allow one package to be opened from the PIN unlock screen. After a PIN has been setup during a login session, when a user opens the device they will see this app's icon in the lower right corner and can choose to access the package's main activity without unlocking the device.<br>e.g. If the value is <code>"com.android.dialer"</code>, the user will see the Android phone icon and can launch the activity <code>com.android.dialer.app.DialtactsActivity</code>.</p>                                              |
| secondaryAuthQuickStartIcon         | <p><strong>string</strong> Overrides the default application icon used used to launch <code>secondaryAuthQuickStartPackage</code> with an image defined by file location on the device.<br>e.g. <code>"/sdcard/DCIM/icons/bluefletch\_logo.png"</code>.</p>                                                                                                                                                                                                                                                                                              |
| adminUserId                         | **string** The ID used for local device administration. Defaults to the built-in local admin ID.                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| adminPassword                       | **string** Field that contains the hash of the local admin password. Defaults to the built-in local admin password.                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| externalAuthIntentActions           | **string** Allows Launcher to listen for authorization login/logout requests from other applications. Format as `"['action', 'action2']"`.                                                                                                                                                                                                                                                                                                                                                                                                               |
| enableOptiko                        | **boolean** Set to true if Support agent is present. This will report login, store information, etc. to the Support agent. *Deprecated in 3.x, value is always true.*                                                                                                                                                                                                                                                                                                                                                                                    |
| authBrokerService                   | **boolean** Set to true if Auth Service Broker is needed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| device\_lost\_hours                 | **integer** Used within Device Information. Represents number of hours to have not heard from a device to indicate as lost.                                                                                                                                                                                                                                                                                                                                                                                                                              |
| vision\_threshold                   | **double** When using vision re-auth, what is the percentage threshold to indicate a match. ie. 0.45.                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| vision\_attempts                    | **integer** When using vision re-auth, number of attempts to match a face to the vision database.                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| authVisionDatabaseUrl               | <p><strong>string</strong> URL that points to a zipped file called "database", containing but not limited to the following files: "data", "facenet.pb", "label", "model", "mtcnn.pb". Access to the database.zip can refine the facial recognition software's competence at matching faces through machine learning.<br>Ask a BlueFletch account manager if you require the URL.</p>                                                                                                                                                                     |
| useSiteInfoService                  | **boolean** Indicates to use the sites csv file to determine the location of the device. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| sitelistUrl                         | **string** URL that points to a CSV file to download. The file should be named `sitelist.csv` and contain site IDs, site names, and other values associated with a device's possible store/office locations. This setting is available in Launcher 3.12.7+.                                                                                                                                                                                                                                                                                              |
| siteListPollingIntervalMinutes      | **integer** If using the siteListUrl for site list management, this value will be used to indicate the polling interval to check for updates. Introduced in Launcher version 3.24.11.                                                                                                                                                                                                                                                                                                                                                                    |
| refreshSiteOnStartup                | **boolean** If set to true, will attempt to always determine current site after a reboot. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| refreshSiteRequiresNetwork          | **boolean** In case the device does not have an IP address, setting this to true will make the Launcher wait until the device receives an IP address, after which it will re-attempt site location. Default is false.                                                                                                                                                                                                                                                                                                                                    |
| refreshSiteOnNetworkChange          | **boolean** Forces a refresh of site ID when a network change occurs. Default is false. Introduced in Launcher version 3.21.25.                                                                                                                                                                                                                                                                                                                                                                                                                          |
| defaultSiteId                       | **string** If Site Info Service is used, and the service is unable to determine the current site, this value will be used as the default site. This value must be a valid site ID that exists within the sitelist csv file. Introduced in Launcher version 3.24.x.                                                                                                                                                                                                                                                                                       |
| defaultLocation                     | **string** If the Site Info Service location name is not set, then this value is used as a placeholder text for the location on the device. If useSiteInfoService is true, this value is ignored.                                                                                                                                                                                                                                                                                                                                                        |
| distanceInMeters                    | **integer** When using the Site Information Service, the radius distance in meters for GPS Location matching.                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| screenTimeout                       | **integer** Number of seconds for device screen timeout (15, 30, 60, 120, 300, 600). Support on Zebra devices starting in launcher 3.3.x.                                                                                                                                                                                                                                                                                                                                                                                                                |
| onCradleIgnoreLogout                | **boolean** If set to true the Launcher will not logout the user when the device is cradled or starts charging. Default is false. This setting is available starting Launcher 3.9.6+.                                                                                                                                                                                                                                                                                                                                                                    |
| cradleLogoutDelayInSeconds          | **integer** If set to greater than 0, the Launcher will not immediately logout the user. Instead when the device is cradled or docked, the Launcher will prompt the user to either continue with the session or logout immediately. If the user does not respond within the # of seconds specified, the user will be logged out automatically, the default is 0 (no prompt). This setting is ignored if `onCradleIgnoreLogout` is set to true.This feature requires that the draw-over permission, `android.permission.SYSTEM_ALERT_WINDOW`, be granted. |
| disallowSiteChange                  | **boolean** If set to true, the user will not be able to manually launch the change location activity or retry the automatic location service. Default is false, in which case both are allowed.                                                                                                                                                                                                                                                                                                                                                         |
| disallowManualSiteChange            | **boolean** If set to true, the user will not be able to manually launch the change location activity but can retry the automatic location service. Default is false, in which case both are allowed.                                                                                                                                                                                                                                                                                                                                                    |
| disallowLoggedInSiteChange          | **boolean** If set to true, the user will not be able to manually launch the change location activity if they are logged in. Default is true.                                                                                                                                                                                                                                                                                                                                                                                                            |
| lockInMotion                        | **boolean** Indicates that the device should be locked while the user is driving. `false` indicates that the device should not be locked while the user is driving. Valid values are `true` and `false`, defaults to `false`.                                                                                                                                                                                                                                                                                                                            |
| lockInMotionConfidence              | **integer** Indicates the needed level of confidence that the user is driving in order to lock the device. For instance, if this is set to `50`, the device will be locked when we are at least 50 percent confident that the user is driving. This value can range from 0 to 100, and the default value is 80. Note that this setting will only be utilized if `lockInMotion` is set to `true`.                                                                                                                                                         |
| lockInMotionInterval                | **integer** Indicates the interval (in milliseconds) to query motion information from the system. Default is 5000 ms (5 seconds). Introduced in Launcher version 3.11.4.                                                                                                                                                                                                                                                                                                                                                                                 |
| lockInMotionUseGps                  | <p>Indicates that the device will be using GPS to determine if the user is driving. <code>false</code> indicates that the device will not use GPS for lock in motion detection. Note that this setting will only be utilized if <code>lockInMotion</code> is set to <code>true</code>.<br><strong>Only set to <code>true</code> if the device is GPS-enabled. If set to <code>true</code> on a non-GPS device, motion lock will not engage.</strong></p>                                                                                                 |
| lockInMotionSpeedInMph              | Indicates the movement speed threshold in miles per hour required to lock the device. For example, if it is set to `2`, the device will be locked if the detected speed is greater than or equal to 2 miles per hour. Default is 5 miles per hour. Note that this setting will only be utilized if `lockInMotionUseGps` is set to `true`.                                                                                                                                                                                                                |
| lockInMotionGpsUpdateInterval       | Indicates the GPS minimimum time interval in milliseconds to update. For instance, if it is set to `10000`, the GPS update time interval will run every 10 seconds. Default is 5000 milliseconds. Note that this setting will only be utilized if `lockInMotionUseGps` is set to `true`.                                                                                                                                                                                                                                                                 |
| lockInMotionGpsMinDistanceThreshold | Indicates that the detected speed is greater than the distance between GPS updates in meters. For instance, if it is set to `5`, the GPS updates will run every 5 meters. Default is 0, which means that GPS updates will constantly update. Note that this setting will only be utilized if `lockInMotionUseGps` is set to `true`.                                                                                                                                                                                                                      |
| clearAppDataOnLogout                | **boolean** If set to true will clear the application data for all applications opened within the user session on logout. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                              |
| clearAppDataIncludeList             | **string** Comma-delimited string of packages that will be cleared of application data on logout, regardless of whether they were opened or not. Use for applications that are not directly opened by the user from the Launcher home screen.                                                                                                                                                                                                                                                                                                            |
| clearAppDataExcludeList             | **string** Comma-delimited string of packages that are exempt from clearing of application data even on logout (but recent tasks will be removed, unless specified in the `clearRecentExcludeList`).                                                                                                                                                                                                                                                                                                                                                     |
| clearRecentIncludeList              | **string** Comma-delimited string of packages that must be killed when the user logs out or when the device is cradled (Honeywell only). This is typically used for scenarios where one app starts another app, and Launcher is unaware it needs to kill the 2nd app. If `clearAppDataOnLogout` is set to true, the package must also be specified in the `clearAppDataExcludeList`.                                                                                                                                                                     |
| clearRecentExcludeList              | **string** Comma-delimited string of packages that are exempt from being killed when the user logs out or when the device is cradled (Honeywell only). If `clearAppDataOnLogout` is set to true, the package must also be specified in the `clearAppDataExcludeList`.                                                                                                                                                                                                                                                                                    |
| clearRecentTasksDelay               | **int** Delay in milliseconds before clearing recent tasks. Default is 2000.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| stopVisibleTasks                    | <p><strong>boolean</strong> If set to <code>true</code>, clears all applications in the Recents queue on logout without clearing app data, unless separately configured. Default is <code>true</code>. Introduced in Launcher v3.18.x.<br>This setting is for devices running a signed BlueFletch Platform Service APK, version 1.3.x or above. BlueFletch clears all recent applications on logout by default on Zebra devices.</p>                                                                                                                     |
| authProfileManager                  | **boolean** If set to true, will enable integration with Zebra's Profile Manager. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| disableRecents                      | **boolean** If set to true, the recents button will be disabled. Default is false.                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| portraitDiagonalInches              | <p><strong>integer</strong> Indicates the transition point between Launcher defaulting to portrait and Launcher defaulting to landscape (tablet) mode. The transition is determined by the diagonal screen measurement in inches for a device. Default is 7.<br>e.g. If a device display's diagonal size is greater than or equal to 7 inches, Launcher will start in landscape by default.Overriden by <a href="#orientation-override"><code>orientationOverride</code></a>.</p>                                                                        |
| unsecuredDeviceTimeoutInSecs        | **integer** Indicates the number of seconds the device is given to be logged in or cradled before an indefinitely looping alarm sounds until the device is logged into or cradled. See [secured device](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/device-loss-prevention/secure-device-mode) for details.                                                                                                                                                                                           |
| unsecuredDeviceEffects              | **boolean** Indicates whether a warning countdown alarm should sound when 12 seconds or less are remaining on the unsecured device timeout. Default is false.                                                                                                                                                                                                                                                                                                                                                                                            |
| secureDeviceSnoozeDuration          | **integer** Indicates the number of seconds for which a looping alarm can be silenced without logging into or cradling a secured device. Only applied if `unsecuredDeviceTimeoutInSecs` is also set.                                                                                                                                                                                                                                                                                                                                                     |
| secureDeviceMaxSnoozeCount          | **integer** Indicates the number of times that a looping alarm can be silenced without logging into or cradling a secured device. Default is 1. Only applied if `unsecuredDeviceTimeoutInSecs` is also set. Introduced in 3.20.12.                                                                                                                                                                                                                                                                                                                       |
| unsecuredDeviceEffectsSound         | **string** This allows using a different sound for the unsecured device countdown effect. The setting can reference a file on the sdcard or a file referenced in the Assets Manager configuration. Introduced in 3.18.13.                                                                                                                                                                                                                                                                                                                                |
| unsecuredDeviceAlarmSound           | **string** This allows using a different sound for the unsecured device alarm. The setting can reference a file on the sdcard or a file referenced in the Assets Manager configuration. Introduced in 3.18.13.                                                                                                                                                                                                                                                                                                                                           |
| unsecuredDeviceSoundVolume          | **integer** This allows for changing the sound volume used with the unsecured device effect and alarm sounds. Is a value from 0 to 100 and represents percentage of max volume. Default is 100. Introduced in 3.18.13.                                                                                                                                                                                                                                                                                                                                   |
| logLevel                            | **string** Determines the level of log to be logged in Support Agent. Valid values are "debug", "info", or "error" . If set, only the level of logs set and below will be logged. Defaults to "info".                                                                                                                                                                                                                                                                                                                                                    |
| suppressUserId                      | **boolean** If set to true, will tell launcher to suppress reporting User Id and User Name to Support application events. Also will not write User Id or Name to application logs. Default to false. Introduced in 3.9.22 of launcher.                                                                                                                                                                                                                                                                                                                   |
| knoxLicenseKey                      | **string** Specify the Knox Customization License Key for using Samsung Device running Knox 3.x or newer.                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| knoxProKioskMode                    | **boolean** Set to `true` to use Launcher in ProKiosk mode, which also disables the Recents button. If not specified in the configuration file, the default value will be `false`. This option is available in Launcher 3.18.11 and higher.                                                                                                                                                                                                                                                                                                              |
| thirdPartyAuthKey                   | **string** A SHA-256 hashed key. Launcher will listen for login and logout messages from a third-party/customer-supported authentication application. This security key will need to be sent from the third-party authentication application to support this capability.                                                                                                                                                                                                                                                                                 |
| useLowBatteryMode                   | **boolean** If `true`, the device will enter [Low Battery Mode](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/device-loss-prevention/low-battery-mode), a locked state where the user cannot interact with the device, once the battery level falls to the percentage defined in `lowBatteryModeStartLevel`; the device will exit Low Battery Mode once the battery is charged to the level defined in `lowBatteryModeEndLevel`. Default is `false`.                                                    |
| lowBatteryModeStartLevel            | **integer** The threshold, in percentage of battery life, for locking the device in Low Battery Mode mode if `useLowBatteryMode` is `true`. Default is 10.                                                                                                                                                                                                                                                                                                                                                                                               |
| lowBatteryModeEndLevel              | **integer** The threshold, in percentage of battery life, for exiting Low Battery Mode mode if `useLowBatteryMode` is `true`. Default is `lowBatteryModeStartLevel` + 5 (e.g. if `lowBatteryModeStartLevel` is not defined, `lowBatteryModeEndLevel` defaults to 15).                                                                                                                                                                                                                                                                                    |
| hideNotificationsOpenZone           | <p><strong>boolean</strong> If set to <code>true</code>, Launcher will hide all notifications when the user is not logged in. Default value is <code>false</code>.<br>Prior to Launcher version 3.26.24, this parameter disabled SMS apps when a user was not logged in. Starting in version 3.26.24, if <code>true</code>, all notifications will be hidden but SMS apps will remain enabled.</p>                                                                                                                                                       |
| includeUserApps                     | **boolean** If `true`, all apps installed by the user will be added to a device's [layouts](#layouts). Introduced in Launcher version 3.17.29.                                                                                                                                                                                                                                                                                                                                                                                                           |
| authorizedAppStores                 | **string** Comma-delimited list of one or more package name(s) of trusted application stores. If defined, only apps downloaded from these stores will be displayed in a device's [layouts](#layouts) when `includeUserApps` is `true`. Apps belonging to an authorized store can be manually deleted by long-pressing on their icon in a layout. Introduced in Launcher version 3.17.29.                                                                                                                                                                 |
| userAppInstallCutoffTime            | **long** System/epoch date/time to millisecond level (13 digits). If set in conjunction with `includeUserApps` and `authorizedAppStores`, Launcher will only display store-downloaded apps in the layout if the apps were installed after that date. Introduced in Launcher version 3.17.29.                                                                                                                                                                                                                                                             |
| includeUserAppsWhenAuthorized       | **boolean** If `true`, Launcher will only display user-installed apps in the layout while logged into an authenticated session. Only applies if `includeUserApps` is also `true`. Default is `false`. Introduced in Launcher version 3.19.4.                                                                                                                                                                                                                                                                                                             |
| verifyIdpOnReauth                   | **boolean** If `true`, the [authentication configuration](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/authentication-and-sso/technical-guide) will need to set `redirect_url_verify` to `"com.bluefletch.ems.auth://verified"`; the authentication module will refresh cookies on the browser if reauthentication is successful. Default is `false`. Introduced in Launcher version 3.17.29.                                                                                                                                        |
| secondaryAuthWhenScreenOff          | **boolean** If `true`, the reauthentication screen will be displayed while turning the screen off, not while turning the screen on. This will retain the most recent application to the foreground upon waking the device, not bring Launcher to foreground. If `false`, the most recent application will be minimized after reauthentication on screen wake. Default is `true`. Introduced in Launcher version 3.19.4.                                                                                                                                  |
| disableStatusBar                    | **boolean** If `true`, the pull-down notification tray will be hidden at all times. Default is `false`. Introduced in Launcher version 3.24.20.                                                                                                                                                                                                                                                                                                                                                                                                          |
| recentsActivityEnabled              | **boolean** If `true`, will display an icon next to the search bar which when tapped will show recently launched applications. This feature requires the search bar to be enabled. Introduced in Launcher version 3.25.1.                                                                                                                                                                                                                                                                                                                                |
| allowNotificationsOnReauth          | **boolean** If `true`, will allow device notifications to be display during device reauth display. Introduced in Launcher version 3.26.30.                                                                                                                                                                                                                                                                                                                                                                                                               |
| reauthOnDreamStart                  | **boolean** if `true`, setting controls whether starting the screen saver (daydream) requires the user to sign in again.  Default is true. Introduced in Launcher version 3.27.17.                                                                                                                                                                                                                                                                                                                                                                       |
| reauthDisplayName                   | **String** Allows for setting the text shown on the re-authentication screen, with template values filled in from the user's session. Introduced in Launcher version 3.27.17.                                                                                                                                                                                                                                                                                                                                                                            |
| allowSSIDChange                     | **Boolean** if `true`, lets Zebra devices switch to a different Wi-Fi network when receiving SSID\_CHANGE action intent. Introduced in Launcher version 3.27.17.                                                                                                                                                                                                                                                                                                                                                                                         |
| ignoreVpnIpForSiteLocation          | **Boolean** if `true`, tells the site location logic to use only the device's local IP address and skip the VPN IP.   Default is `false`.  Introduced in Launcher version 3.27.17.                                                                                                                                                                                                                                                                                                                                                                       |

The proceeding settings will be deprecated starting Launcher 3.x. If using Launcher 3.x, refer to [Auth Provider Configurations](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/authentication-and-sso/technical-guide).

| Field                                                                 | Description                                                                                                                                                                              |
| --------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| *The following only applies if using LDAP based identity provider:*   |                                                                                                                                                                                          |
| ldap\_hostname                                                        | Hostname of the LDAP server (LDAP Auth only).                                                                                                                                            |
| ldap\_port                                                            | Port of the LDAP server (LDAP Auth only).                                                                                                                                                |
| ldap\_domain                                                          | The domain of the user when logging in, i.e. @domain.                                                                                                                                    |
| ldap\_rootDN                                                          | The Root DN of where the users can be searched after authentication.                                                                                                                     |
| ldap\_useHttps                                                        | Set to true to use LDAPS when authenticating.                                                                                                                                            |
| *The following will be used to configure the internal Oauth2 Broker:* |                                                                                                                                                                                          |
| oauth2\_claim\_userId                                                 | The field to use for the userId claim (used by internal broker).                                                                                                                         |
| oauth2\_claim\_username                                               | The field to use for the PTT Pro user name field.                                                                                                                                        |
| *The following are for OKTA or OpenID connect identity providers:*    |                                                                                                                                                                                          |
| okta\_issuer\_uri                                                     | The configured Issuer URI for the identity provider.                                                                                                                                     |
| okta\_client\_id                                                      | The configured client ID for this application.                                                                                                                                           |
| okta\_redirect\_uri                                                   | The configured redirect callback URI for this application.                                                                                                                               |
| okta\_scopes                                                          | The scopes where this authentication applies.                                                                                                                                            |
| okta\_force\_logout                                                   | This allows for overriding the default logout End Session URL. This is required for OneLogin.                                                                                            |
| *The following are for ADAL connect identity providers:*              |                                                                                                                                                                                          |
| adal\_authority                                                       | Configured resource ID for this application.                                                                                                                                             |
| adal\_resourceId                                                      | Configured resource ID for this application.                                                                                                                                             |
| adal\_clientId                                                        | Configured Client ID for this application.                                                                                                                                               |
| adal\_redirectUri                                                     | Configured callback URL for this application.                                                                                                                                            |
| adal\_claim\_userId                                                   | Passthrough field containing the userID (e.g. unique\_name).                                                                                                                             |
| adal\_claim\_username                                                 | LDAP passthrough field containing the user's display name.                                                                                                                               |
| adal\_claim\_groups                                                   | LDAP passthrough field containing the groups (e.g. equivalent to MemberOf).                                                                                                              |
| adal\_claim\_baseUrl                                                  | The base url for the ADFS environment.                                                                                                                                                   |
| adal\_claim\_defaultDomain                                            | Optional, to pre-populate the username field with the domain prefix.                                                                                                                     |
| *The following are used within OKTA connect identity providers:*      |                                                                                                                                                                                          |
| auth\_location\_field                                                 | An optional setting that tells authorization which field in the auth provider response contains Location information. Used in conjunction with auth\_location\_regex.                    |
| auth\_location\_regex                                                 | A regular expression to extract the location value from the location field. Used in conjunction with auth\_location\_field.                                                              |
| auth\_group\_field                                                    | An optional setting that tells authorization which field in the auth provider response contains Group information. Used in conjunction with auth\_group\_regex.                          |
| auth\_group\_regex                                                    | A regular expression to match against the group information.                                                                                                                             |
| auth\_group\_regex\_true                                              | If the regular expression auth\_group\_regex returns true (found a value), will use this group value.                                                                                    |
| auth\_default\_group                                                  | A default group.                                                                                                                                                                         |
| auth\_role\_field                                                     | An optional setting that tells authorization which field in the auth provider response contains User ROLE information. Used in conjunction with auth\_role\_regex. Available AUTH 1.1.x. |
| auth\_role\_regex                                                     | A regular expression to match against the role information.                                                                                                                              |
| auth\_role\_regex\_true                                               | If the regular expression auth\_role\_regex returns true (found a value), will use this Role value.                                                                                      |
| auth\_default\_role                                                   | A default user role.                                                                                                                                                                     |

## Luggage Tag

| Field              | Description                                                                                                                                                                                                                                                                    |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| enable             | **boolean** Indicates that the device should be locked while the device is connected to an unapproved network. False indicates that the device is free to connect to any network and will not activate Luggage Tag Mode.                                                       |
| thresholdInMinutes | **integer** Indicates the number of elapsed minutes while the device is on an unapproved network needed before locking the device.                                                                                                                                             |
| logo               | **string** The URL for an image to be displayed on the Luggage Tag view. If not set, Launcher will skip this and display other information if available.                                                                                                                       |
| line1              | **string** Indicates the first line of an address for people to contact on the Luggage Tag view when attempting to help return a device to where it should be.                                                                                                                 |
| line2              | **string** Indicates the second line of an address for people to contact on the Luggage Tag view when attempting to help return a device to where it should be.                                                                                                                |
| email              | **string** Indicates a preferred email address for people to contact on the Luggage Tag view when attempting to help return a device to where it should be.                                                                                                                    |
| phoneNumber        | **string** Indicates a preferred phone number for people to contact on the Luggage Tag view when attempting to help return a device to where it should be.                                                                                                                     |
| unlockPassword     | **string** The password required to unlock the device out of Luggage Tag Mode. If not available, Launcher will default to validating against the admin password. Password must be a SHA-256 hashed string.                                                                     |
| alarmLoopInMinutes | **integer** Indicates the number of elapsed minutes needed while Luggage Tag Mode is activated to play the alarm and continues to replay every time the same minutes has elapsed again until Luggage Tag Mode is deactivated. Set this value to zero (0) to disable the alarm. |

## Layout Settings

Layout settings defines advanced global settings for displaying the icons on the Launcher workspace.

| Field                   | Description                                                                                                                                                                                                                                                                                                                                        |
| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| columns                 | **integer** The number of icon columns for devices in the fixed portrait mode. If not specified, the default value is 3 (minimum of 3).                                                                                                                                                                                                            |
| tabletColumns           | **integer** The number of icon columns for devices in landscape mode. If not specified, the default value is 6 (minimum of 3).                                                                                                                                                                                                                     |
| iconSize                | **string** Set to "normal" to use the standard icon size for the device. Set to "large" to display larger icons (1.5x). Set to "fit" to make the icon width fit the available space, based on the column size. The default value is "normal".                                                                                                      |
| showLabel               | **boolean** Set to false to hide the label on all the icons. The default value is true.                                                                                                                                                                                                                                                            |
| boldTypeLabel           | **boolean** If set to true, the labels will be rendered using boldface type. The default value is false.                                                                                                                                                                                                                                           |
| labelFontSize           | **number** If set will change the font size of the icon labels. Default is 14.                                                                                                                                                                                                                                                                     |
| quickStartIconSize      | **string** Determines the size of icons pinned to the bottom of the launcher when there is a [folder object](#folder-object) with `"quickStartFolder": true`. The only valid string is "small", which sets the icons at a smaller size. If empty, undefined, or invalid, the icons default to the standard size (same as `"iconSize": "normal"` ). |
| pageWidthOffsetOverride | **integer** This allows for adjusting the displayed page width. The default value is 14.                                                                                                                                                                                                                                                           |
| heightAdjust            | **integer** This allows for adjusting the spacing between rows of icons, typically used when the last row was barely bumped to the next page. This value is a relative number with a default value of 0. A positive number (e.g. 30) will add spacing between icons; A negative number (e.g. -30) will reduce the spacing between rows.            |

Example:

```
    "layoutSettings" : {
       "columns" : 3,
       "tabletColumns" : 6,
       "iconSize" : "normal",
       "showLabel" : true,
       "boldTypeLabel" : false,
       "labelFontSize" : 14,
       "quickStartIconSize": ""
    },
```

## Layouts

Layouts represent which applications the launcher will display, based on who is logged in.

| Field     | Description                                                                                                                                                                                                                                                                                                                                                                                |
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **GROUP** | **object** An application object that represents applications for which the logged user has access. Example: manager, associate. Each GROUP has a collection of Application, Folder, and/or Shortcuts. See [Application Object](#application-object), [Shortcut Object](#web-shortcut-object), [Folder Object](#folder-object), or [Action Object](#action-object) for additional details. |

Example:

```
    "layouts" : {
        "Manager":[ -Logged in Managers will have access to these Applications.- ],
        "Associates":[ -Logged in Associates will have access to these Applications.- ],
        "*": [ -OPEN ZONE definition of applications- ]
    },

```

## Group Inclusions

Group Inclusions allow you to set application groups for identity provider groups.

| Field            | Description                                                                                                                                                                                                                                                              |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| group\_inclusion | **objects** Contains the list of relevant identity provider groups, along with an array of application groups that will be applied when a user belongs to that identity group. Each application group can be defined in the layouts section and will be merged together. |

Example:

In the example below, when a user with a *Managers* group logs in, he will see all three application group sets, while the user with a *WarehouseAssociate* group will only see the Back office and Open zone apps.

```
{
  "configVersion" : "example configuration",
  "group_inclusion" : {
    "Managers" : ["BackOfficeApps", "FloorApps", "OpenZone"],
    "WarehouseAssociate" : ["BackOfficeApps", "OpenZone"],
    "FloorAssociates" : ["FloorApps", "OpenZone"],
    "Cashiers" : ["FloorApps", "OpenZone"],
    "*" : ["*"]
  },
  "layouts" : {
    "BackOfficeApps" : [
      {  "package" : "com.bluefletch.receiving" },
      {  "package": "com.bluefletch.delivery" },
      {  "package" : "com.bluefletch.itemlookup" }
    ],
    "FloorApps" : [
      {  "package" : "com.bluefletch.itemlookup" },
      {  "package" : "com.bluefletch.bopis" },
      {  "package": "com.bluefletch.mpos" }
    ],
    "OpenZone" : [
      {  "package" : "com.android.calculator" }
    ]
  }
  ...

```

## Application Object

Available fields used to describe applications displayed on the Launcher home screen.

| Field              | Description                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| package            | **string** The package name of the application to start.                                                                                                                                                                                                                                                                                                                                                             |
| label              | **string** The name of the application to display (optional).                                                                                                                                                                                                                                                                                                                                                        |
| activity           | **string** The Activity to start (optional).                                                                                                                                                                                                                                                                                                                                                                         |
| kiosk              | **boolean** If set to true, will put launcher into Kiosk mode for this application (optional).                                                                                                                                                                                                                                                                                                                       |
| icon               | **string** Represents a icon to overvide the default application image. Can be a local file or an asset download via **assets** setting. Example: **assets:image** or /sdcard/DCIM/icons/logo.png (optional).                                                                                                                                                                                                        |
| nfcEnable          | **boolean** If this Application is started by End User, and the value is "true", then enable NFC (if not on). False indicates do nothing with NFC. Valid values are "true" and "false", defaults to "false".                                                                                                                                                                                                         |
| includeUserInfo    | **boolean** If set to true, will pass the following user information as extras when calling the intent: EXTRA\_USERID, EXTRA\_USERNAME, EXTRA\_GROUP and EXTRA\_ACCESS\_TOKEN.                                                                                                                                                                                                                                       |
| intentExtras       | **object** If populated, these key-value pairs will be added to the launching intent as extras. The value data will be sent as strings, regardless of how the data type is specified in the configuration. The values do support [Custom Intents Replacement Variables](broken://pages/GKQ0J6NoLu2vRGMYUjUj). Setting added in Launcher version 3.9.15.                                                              |
| password           | **string** The SHA-256 hashed version of the password required to launch the application.                                                                                                                                                                                                                                                                                                                            |
| allowInMotionLock  | **boolean** If `true`, the application or website is [allowed in motion lock](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/security-and-safety/motion-activated-device-lock). Apps that are allowed are listed at the bottom of the screen once motion lock engages. A maximum of three can be allowed. Default is `false`. Introduced in Launcher version 3.20.x. |
| requirePinToLaunch | **boolean** If true, the user will be required to enter their re-auth PIN code to launch the application. Introduced in Launcher version 3.24.11.                                                                                                                                                                                                                                                                    |
| isWearableItem     | **boolean** If true, this indicates the item is meant for the wearable device. The item package information will be sent to the wearable device. Introduced in Launcher version 3.24.11.                                                                                                                                                                                                                             |

Example:

```
    {
        "label" : "BlueFletch",
        "url" : "https://bluefletch.com",
        "icon" : "/sdcard/DCIM/icons/bluefletch_logo.png",
        "nfcEnable": true
    },
    {
        "package": "com.android.calculator2",
        "nfcEnable": true
    },
    {
        "package" : "com.bluefletch.ems.support",
        "password": "d9b5f58f0b38198293971865a14074f59eba3e82595becbe86ae51f1d9f1f65e"
    },
    {
        "label": "Test Intent Receiver",
        "package": "com.bluefletch.ems.testintentreceiver",
        "intentExtras": {
            "url": "https://somewhere.com",
            "anExtra": "an Extra field",
            "boolean": true,
            "integer": 42,
            "replaceExample": "Can replace ${session.location}"
        }   
    },
    {
      "package": "com.google.android.apps.maps",
      "allowInMotionLock": true
    }

```

## Web Shortcut Object

Available fields used to describe web shortcuts displayed on the Launcher home screen.

| Field              | Description                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| label              | **string** The name of the application to display (optional).                                                                                                                                                                                                                                                                                                                                                                      |
| url                | **string** A URL to navigate to.                                                                                                                                                                                                                                                                                                                                                                                                   |
| icon               | **string** Represents a icon to overvide the default application image. ie. /sdcard/DCIM/icons/logo.png (optional).                                                                                                                                                                                                                                                                                                                |
| kiosk              | **boolean** If set to true, will put launcher into Kiosk mode for this shortcut (optional).                                                                                                                                                                                                                                                                                                                                        |
| nfcEnable          | **boolean** If this Application is started by End User, and the value is "true", then enable NFC (if not on). False indicates do nothing with NFC. Valid values are "true" and "false", defaults to "false".                                                                                                                                                                                                                       |
| browser            | **string** Set to the package name of the target browser to use for this shortcut. If not specified, the Launcher will open the URL in a Chrome Custom Tab.                                                                                                                                                                                                                                                                        |
| browserOverrides   | **object** If using the BF Browser, this is an object with the browser settings to be overriden for this specific shortcut. All of the settings described in the [browser documentation page](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/browser/features) can be overriden in this section.                                                                                                                 |
| showUrl            | **boolean** Determines if the url will be displayed to the user. Valid values are "true" and "false", defaults to browser settings. (optional) *Note: this setting will be deprecated, use browserOverrides instead.*                                                                                                                                                                                                              |
| showTitle          | **boolean** Determines if the webpage title is displayed to the user. Valid values are "true" and "false", defaults to browser settings. (optional) *Note: this setting will be deprecated, use browserOverrides instead.*                                                                                                                                                                                                         |
| allowCookiePreview | **boolean** Determines if user can view the cookies for the current url. This is used for development purposes. Valid values are "true" and "false", defaults to browser settings. (optional) *Note: this setting will be deprecated, use browserOverrides instead.*                                                                                                                                                               |
| fixOrientation     | **boolean** Determines if the view is fixed to portrait. Valid values are "true" and "false", defaults to browser settings. (optional) *Note: this setting will be deprecated, use browserOverrides instead.*                                                                                                                                                                                                                      |
| intentExtras       | **object** If populated, these key-value pairs will be added to the launching intent as extras. The value data will be sent as strings, regardless of how the data type is specified in the configuration. The values do support [Custom Intents Replacement Variables](broken://pages/GKQ0J6NoLu2vRGMYUjUj). Setting added in Launcher version 3.9.15.                                                                            |
| password           | **string** The SHA-256 hashed version of the password required to launch the shortcut.                                                                                                                                                                                                                                                                                                                                             |
| allowInMotionLock  | **boolean** If `true`, the application or web shortcut is [allowed in motion lock](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/security-and-safety/motion-activated-device-lock). Web shortcuts that are allowed are listed at the bottom of the screen once motion lock engages. A maximum of three can be allowed. Default is `false`. Introduced in Launcher version 3.20.x. |
| useCCT             | **boolean** If set to `true`, the browser defined in the shortcut will open the web page in a Chrome Custom Tab (CCT). Default is `false`, in which case the page in a standard native window for the defined browser. Introduced in Launcher version 3.26.62.                                                                                                                                                                     |

Example:

```
{
    "label": "BlueFletch",
    "url": "https://bluefletch.com",
    "icon": "/sdcard/DCIM/icons/bluefletch_logo.png",
    "browser": "com.bluefletch.ems.browser",
    "browserOverrides": {
        "showUrl": false,
        "showTitle": true,
        "allowCookiePreview": false,
        "fixOrientation": true
    },
    "nfcEnable": true,
    "intentExtras": {
        "anExtra": "an Extra field",
        "boolean": true,
        "integer": 42,
        "replaceExample": "Can replace ${session.location}"
    },
    "password": "d9b5f58f0b38198293971865a14074f59eba3e82595becbe86ae51f1d9f1f65e"
},
{
  "label": "Drivers Stop List",
  "url": "https://company.com/drivers/list-of-stops",
  "browser": "com.bluefletch.ems.browser",
  "icon": "/sdcard/DCIM/icons/bluefletch_logo.png",
  "allowInMotionLock": true
}
```

## Folder Object

Available fields used to describe folders on the Launcher home screen.

| Field            | Description                                                                                                                                                                                                                                                                                                                                                                                        |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| label            | **string** The name of the folder to display (required).                                                                                                                                                                                                                                                                                                                                           |
| quickStartFolder | **boolean** Indicates whether or not this folder is a [Quick Start application list](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/quick-start-applications-folder); a Quick Start folder will have its icons pinned to the bottom of the launcher Home screen. Default is `false`. Available in Launcher v3.13.9 and later. |
| contents         | **array** An array of application objects. Used in grouping applications into folders.                                                                                                                                                                                                                                                                                                             |
| icon             | **string** Represents an icon image file to override the default thumbnail, which is a preview of the apps, actions, and shortcuts within the folder. Image may be referenced by file path or asset.                                                                                                                                                                                               |
| password         | **string** The SHA-256 hashed version of the password required to display the folder.                                                                                                                                                                                                                                                                                                              |

Example:

```
 {
        "label" : "Tools",
        "quickStartFolder": false,
        "password": "d9b5f58f0b38198293971865a14074f59eba3e82595becbe86ae51f1d9f1f65e",
        "contents":[
            {
                "package" : "com.bluefletch.ems.support"
            },
            {
                "package" : "com.symbol.datawedge"
            },
            {
                "label" : "BlueFletch",
                "url" : "https://bluefletch.com",
                "icon" : "/sdcard/DCIM/icons/bluefletch_logo.png"
            },
            {
                "label" : "Staging tools",
                "contents" : [
                    {
                        "package" : "com.symbol.tool.stagenow"
                    }
                ]
            }

        ]
    }
```

## Action Object

Available fields used to describe a System Action to display on the Launcher home screen.

| Field               | Description                                                                                                                                                                                                                                                                                                                                             |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| action              | **string** The system level action string to invoke. Example: android.settings.WIFI\_SETTINGS or android.settings.BLUETOOTH\_SETTINGS.                                                                                                                                                                                                                  |
| label               | **string** The name to display (required).                                                                                                                                                                                                                                                                                                              |
| icon                | **string** Represents a icon to overvide the default application image. Ie. /sdcard/DCIM/icons/logo.png or a package name: com.android.settings (optional).                                                                                                                                                                                             |
| wifiSettingsEnabled | **boolean** If this Application is started by End User, and the value is "true", then enable access to and editing of the Wifi Settings. False indicates do nothing with Wifi Settings UI. Valid values are "true" and "false", defaults to "false".                                                                                                    |
| intentExtras        | **object** If populated, these key-value pairs will be added to the launching intent as extras. The value data will be sent as strings, regardless of how the data type is specified in the configuration. The values do support [Custom Intents Replacement Variables](broken://pages/GKQ0J6NoLu2vRGMYUjUj). Setting added in Launcher version 3.9.15. |
| password            | **string** The SHA-256 hashed version of the password required to launch the action.                                                                                                                                                                                                                                                                    |

> **Note:** BlueFletch supports the custom actions [`com.bluefletch.ems.RUN_XML`](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/layout-custom-actions#run-xml) and [`com.bluefletch.ems.AUDIO`](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/configurable-layouts/layout-custom-actions#adjust-audio), as well as `android.settings.WIFI_SETTINGS` and `android.settings.BLUETOOTH_SETTINGS`.\
> Android Developer documentation provides a list of [Android Settings actions](https://developer.android.com/reference/android/provider/Settings#constants_1), although some actions may not currently be fully supported by BlueFletch.

{% hint style="danger" %}
**Caution:** On certain versions of **Android 11** for Zebra devices, launching `android.settings.WIFI_SETTINGS` has been observed to grant full access to the Android Settings app, including the Quick Settings tiles.

BlueFletch recommends that `android.settings.WIFI_SETTINGS` and other Android Settings API shortcuts be placed in layouts for **manager** roles *or* have a **password** set, which only managers know, if the shortcuts are in the Open Zone.

BlueFletch does **NOT** recommend placing these shortcuts in the Open Zone without protections in place due to the risk of users reaching full Android Settings.
{% endhint %}

Example:

```
{
    "label" : "Wifi Settings",
    "action": "android.settings.WIFI_SETTINGS",
    "icon": "com.android.settings",
    "wifiSettingsEnabled": true,
    "password": "ef92b778bafe771e89245b89ecbc08a44a4e166c06659911881f383d4473e94f"
}
```

## Default Session

Default session used by the Launcher when no user is logged in.

| Field    | Description                                                                       |
| -------- | --------------------------------------------------------------------------------- |
| userId   | **string** Defaulted userId value. Suggested to be blank.                         |
| userName | **string** Defaulted display within the User Name display. Suggested to be blank. |
| groups   | **string** The defaulted Groups value to use for OpenZone. Default is \*.         |
| location | **string** The Site / Location to default the device.                             |

Example:

```
 "defaultSession": {
        "userId": "",
        "userName": "",
        "groups": "*",
        "location": ""
    },
```

## Theme

Available settings for 'theming' a device UI per an Organization's needs. Starting 3.0.x, you are able to define and customize separate wallpapers for the main and lock screens.

| Field       | Description                                                                                                                                   |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| enable      | **boolean** To enable theme support. Default true.                                                                                            |
| logo        | **string** A file location for a company specific logo. A URL is fine, but for better performance use a local file downloaded via MDM.        |
| logoHeight  | **integer** The height in pixels of the logo within the banner. Default is 100.                                                               |
| background  | **string** A hex code for a company specific background color. Starting in 3.0.x, set to blank to use the device wallpaper as the background. |
| accentColor | **string** A hex code for a company specific accent color.                                                                                    |

The following additional theme settings were introduced starting in version 3.0.x of the Launcher:

| Field                 | Description                                                                                                                                                                                                                                                                                                                                       |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| darkTheme             | **boolean** Set to false when using a light background/theme, as this will change all element text colors to black. If using dark wallpaper, set to true. Defaulted to true.                                                                                                                                                                      |
| wallpaperImage        | **string** name, local path or URL to use as the wallpaper for the **Main** screens. The following valid values can be used which are built-in with the Launcher: **bubble**, **topology**, **messe** or **swirl**.                                                                                                                               |
| duoToneWhite          | **string** Colorize/tint the wallpaper using Duotone, this value is the hex value of the light halftone color of the image. Examples of Duotone images can be found [here](https://duotone.shapefactory.co/). Beginning 3.3.x, set to "" to keep the original color of the wallpaper.                                                             |
| duoToneBlack          | **string** Colorize/tint the wallpaper using Duotone, this value is the hex value of the dark halftone color of the image. Examples of Duotone images can be found [here](https://duotone.shapefactory.co/). Beginning 3.3.x, set to "" to keep the original color of the wallpaper.                                                              |
| blurRadius            | **integer** Blur the specified wallpaper image using this blur radius.                                                                                                                                                                                                                                                                            |
| blurPasses            | **integer** Use in conjunction with the **blurRadius** configuration setting, will apply a blur filter to the wallpaper this many times. If set to 0 the wallpaper will not apply any blur filters.                                                                                                                                               |
| folderBackgroundColor | **string** A hex code for the background color of an open folder object. This value should comply with the **darkTheme** setting. For instance, choosing a light background color while enabling **darkTheme** would make text difficult to read.                                                                                                 |
| folderTextColor       | **string** A hex code for the text color of an open folder object. This value should comply with the **darkTheme** setting. For instance, choosing a light background color while enabling **darkTheme** would make text difficult to read. Default is "#000000". Introduced in Launcher 3.24.11                                                  |
| badgeColor            | **string** A hex code for the background color of the notification badges displayed on application icons. Available starting in Launcher 3.17.x.                                                                                                                                                                                                  |
| searchIcon            | **string** The file location of an image to be displayed for the Launcher search bar. The value can point to a file location of an image downloaded on the device or the [asset](#assets-manager) defined for a file's URL. Available starting in Launcher 3.17.x.                                                                                |
| darkStatusIcons       | **boolean** This value sets the contrast theme for the device status bar icons. Setting to `true` will tell the system to use dark-colored status bar icons, to contrast a lighter status bar background. Setting to `false` will use light-colored icons for contrast on darker backgrounds. Default is `false`. Introduced in Launcher 3.24.11. |

Use the settings below to apply a separate theme to the **Lock** screen, starting in 3.0.x. If the following settings are omitted, the lock screen will use the same wallpaper as the main screen:

| Field                | Description                                                                                                                                                                                                                                                                           |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| wallpaperImage\_lock | **string** name, local path or URL to use as the wallpaper for the **Main** screens. The following valid values can be used which are built-in with the Launcher: **bubble**, **topology**, **messe** or **swirl**.                                                                   |
| duoToneWhite\_lock   | **string** Colorize/tint the wallpaper using Duotone, this value is the hex value of the light halftone color of the image. Examples of Duotone images can be found [here](https://duotone.shapefactory.co/). Beginning 3.3.x, set to "" to keep the original color of the wallpaper. |
| duoToneBlack\_lock   | **string** Colorize/tint the wallpaper using Duotone, this value is the hex value of the dark halftone color of the image. Examples of Duotone images can be found [here](https://duotone.shapefactory.co/). Beginning 3.3.x, set to "" to keep the original color of the wallpaper.  |
| blurRadius\_lock     | **integer** Blur the specified wallpaper image using this blur radius.                                                                                                                                                                                                                |
| blurPasses\_lock     | **integer** Use in conjunction with the **blurRadius\_lock** configuration setting, will apply a blur filter to the wallpaper this many times. If set to 0 the wallpaper will not apply any blur filters.                                                                             |

Example:

```
"theme" : {
        "enable" : "true",
        "logo" : "/sdcard/Download/ems/bsb_bikes_logo.png",
        "darkTheme" : true,
        "wallpaperImage" : "messe",
        "duoToneWhite" : "#006497",
        "duoToneBlack" : "#002442",
        "blurRadius" : 5,
        "blurPasses" : 0,
        "folderBackgroundColor" : "#AAAAAA",
        "wallpaperImage_lock" : "topology",
        "duoToneWhite_lock" : "#006497",
        "duoToneBlack_lock" : "#002442",
        "blurRadius_lock" : 5,
        "blurPasses_lock" : 0

    }
```

## Custom Fields

Allows display of values in the Launcher home screen retrieved from an external file.

| Field  | Description                                                                                                                                                                                                                                                                                      |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| format | **string** The format of the string to display on the UI. **name** placeholders should be enclosed in braces and must match the corresponding **name** field.                                                                                                                                    |
| source | **object array** An array of objects that define the source file, regular expression and field name to be parsed. If multiple pieces of information is being parsed from a file, create multiple instances of this object using the same file name but different regex patterns and field names. |

Each **source** object is defined as follows:

| Field    | Description                                                                                                                                                                                   |
| -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| pathfile | **string** The full path and filename of the file to be parsed.                                                                                                                               |
| regex    | **string** A Java regular expression string that will extract the information from the file. The regular expression should result in the information being returned on the first match group. |
| name     | **string** The value retrieved by the regular expression will be placed in this field name. This is the field name that will be present in the **format** placeholder.                        |
| data     | **string** Specifies the data to retrieve. For example, to get the device’s serial number, reference the config extended attribute ${config,ex.deviceId}.                                     |

Example:

```json
    ...
    "customField" : {
        "format" : "{Extension} - {Department}",
        "source" : [
            {
                "pathfile": "/sdcard/Download/extension_dept.txt",
                "regex": "Ext=(.*)",
                "name": "Extension"
            },
            {
                "pathfile": "/sdcard/Download/extension_dept.txt",
                "regex": "Dept=(.*)",
                "name": "Department"
            },
            {
                "data": "${config.ex.deviceId}",
                "regex": "(.{4})$",
                "name": "TruncatedSerial"
            }
        ]
    },
    ...
```

## Pattern Object

Represents configuration for associating search text with applications. If the search text matches the configured regex pattern, the application specified will be displayed, and could also specify the intent and extras that will be passed to the app when the search result is tapped.

On Zebra devices, the patterns are also used when Launcher detects a device hardware scan event.

| Field         | Description                                                                                                                                 |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| pattern       | **string** A regular expression to match the entered search text or scanned text.                                                           |
| displayPrefix | **string** What to display in the search results for this pattern match.                                                                    |
| package       | **string** The package to invoke if user presses the search result.                                                                         |
| extraKey      | **string** The name of the extraKey to use if search result is pressed.                                                                     |
| intent        | **string** Placeholder for future use.                                                                                                      |
| unrestricted  | **boolean** If set, then pattern search will compare against any application installed on the device. Default false. Introduced in 3.19.16. |

Example:

```
"patterns" : [
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.acc.itemlookup", "intent" : "Intent", "extraKey" : "SEARCH_TEXT" },
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.demoscanreceiver", "intent" : "Intent", "extraKey" : "SCAN_TEXT" },
    {"pattern": ".*", "displayPrefix" : "Open", "package" : "com.bluefletch.retail.iteminquiry", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{10}$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{10}$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.demoscanreceiver", "intent" : "Intent", "extraKey" : "SCAN_TEXT" },
    {"pattern": "^(\\d{4})?$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^(\\d{4})?$", "displayPrefix" : "Call", "package" : "com.symbol.wfc.voice", "intent" : "Intent", "extraKey" : "KEY" }
  ]
```

This example shows a pattern that will start the BlueFletch Browser when Launcher receives a scan event, and that scan contains a URL with 'https\://' and 'bluefletch.com'.

```

"patterns" : [
    ...
    {
        "pattern": "https?:\/\/.*.bluefletch.com",
        "displayPrefix": "Open",
        "package": "com.bluefletch.ems.browser",
        "intent": "Intent",
        "extraKey": "url",
        "unrestricted": true
    }
    ...
  ]
```

## Secure Notifications

Settings for Custom Notifications support.

| Key           | Description                                                                                                                                                                                                                                                                                                     |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| enabled       | **boolean** Enable/disable the secure notifications feature. Default is `false` (disabled).                                                                                                                                                                                                                     |
| enableHeadsUp | **boolean** Enable/disable the heads-up popup feature. Default is `false` (disabled).                                                                                                                                                                                                                           |
| headsUpTime   | **integer** Time in milliseconds to display a high priority heads-up popup on the screen. Default is `3000` (3 seconds).                                                                                                                                                                                        |
| blacklist     | **array** An array of packages to blacklist. Notifications from packages in this list will be suppressed. Default is no blacklisted notifications.                                                                                                                                                              |
| whitelist     | **array** An array of packages to whitelist. If used, only packages that appear in this list will be allowed to display notifications. If the list is empty then no notifications will be shown. If this field is ommitted then all notifications will be presented unless they are specified in the blacklist. |
| bubbleColor   | **string** Hex code for color of the notification bubble. Default is `#FFFFFF` (white). A reboot is required for a change to this value to apply to a device.                                                                                                                                                   |
| bubbleOffset  | **integer** Horizontal position of bubble, in percentage points of screen width. Valid values are 0-100, with `0` being far left and `100` being far right. Default is `50`. A reboot is required for a change to this value to apply to a device.                                                              |

Example:

```
    "secureNotifications" : {
        "enabled": true,
        "enableHeadsUp": true,
        "headsUpTime": 2000,
        "whitelist": ["com.example.phone", "com.example.music"],
        "blacklist": ["com.example.browser"],
        "bubbleColor": "#8AFF8A",
        "bubbleOffset": 75
    }
```

## External Site Info Finder

Settings when using a custom Site Location finder service. If both parameters are set, the Launcher will use this service to obtain the siteId instead of the built-in lookup system. See [Automated Site Information Service](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/bluefletch-launcher/launcher3/site-information-service) for additional information.

| Field       | Description                                                                                                               |
| ----------- | ------------------------------------------------------------------------------------------------------------------------- |
| packageName | **string** The package name of the application that contains the custom service.                                          |
| resourceId  | **string** The fully qualified name of the Android service to be called e.g. 'com.bluefletch.services.CustomSiteService'. |

Example:

```
  "externalSiteInfoFinder": {
    "packageName": "com.bluefletch.customservice",
    "serviceName": "com.bluefletch.customservice.CustomSiteFinder"
  }
```

## External Manual Site Select

Settings when using a custom manual site select or overriding the current site information. This is used when the built-in manual site selection that depends on `sitelist.csv` won't be used.

| Field        | Description                                                                                                                 |
| ------------ | --------------------------------------------------------------------------------------------------------------------------- |
| packageName  | **string** The package name of the application that contains the custom service.                                            |
| activityName | **string** The fully qualified name of the Android Activity to be called e.g. 'com.bluefletch.ems.auth.SiteSelectActivity'. |

Example:

```
  "externalSiteInfoFinder": {
    "packageName": "com.bluefletch.ems.auth",
    "activityName": "com.bluefletch.ems.auth.SiteSelectActivity"
  }
```

## Orientation Override

Settings that change the BlueFletch Launcher orientation based on the device model. By default the Launcher will be set to portrait if the display is less than 7 inches (measured diagonally) and will default to landscape if the screen is 7 inches or greater. This setting can be used to force the Launcher to use portrait on a tablet or vice versa.

The configuration is represented as a set of key/value pairs, with the model of the device being the key, and the value being the desired orientation.

| Field       | Description                                                           |
| ----------- | --------------------------------------------------------------------- |
| ***key***   | **string** The device model.                                          |
| ***value*** | **string** The desired orientation, either 'portrait' or 'landscape'. |

Example:

Shows how to set device model ET51 and TC700H to portrait mode.

```
  "orientationOverride": {
        "TC700H": "portrait",
        "ET51": "portrait"
  }
```

## Assets Manager

Settings that specify assets that the BlueFletch Launcher should download and use for UI display processing. To reference the asset, use the format of 'assets:name'.

| Field       | Description                                  |
| ----------- | -------------------------------------------- |
| ***key***   | **string** Asset name.                       |
| ***value*** | **string** URL to use to download the asset. |

Example:

Shows that two images are being downloaded, and can be referenced as 'imageName' and 'anotherImage'.

```
  "assets": {
        "imageName": "https://somewhere.com/image.png",
        "anotherImage": "https://somewhere.com/image2.png"
  }
```

Usage within layouts:

```
    {
        "package": "com.google.android.music",
        "icon": "assets:anotherImage"
    },
```

## auth\_adal

ADAL IdP settings.

| Field           | Description                                                                            |
| --------------- | -------------------------------------------------------------------------------------- |
| authority       | **string** Configured resource ID for this application.                                |
| resourceId      | **string** Configured resource ID for this application.                                |
| clientId        | **string** Configured Client ID for this application.                                  |
| redirectUri     | **string** Configured callback URL for this application.                               |
| claim\_userId   | **string** Passthrough field containing the userID (e.g. unique\_name).                |
| claim\_username | **string** LDAP passthrough field containing the user's display name.                  |
| claim\_groups   | **string** LDAP passthrough field containing the groups (e.g. equivalent to MemberOf). |
| baseUrl         | **string** The base url for the ADFS environment.                                      |
| defaultDomain   | **string** Optional, to pre-populate the username field with the domain prefix.        |

## auth\_okta

OKTA IdP Settings.

| Field                    | Description                                                                                                                                                                                         |
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| okta\_issuer\_uri        | **string** The configured Issuer URI for the identity provider.                                                                                                                                     |
| okta\_client\_id         | **string** The configured client ID for this application.                                                                                                                                           |
| okta\_redirect\_uri      | **string** The configured redirect callback URI for this application.                                                                                                                               |
| okta\_scopes             | **string** The scopes where this authentication applies.                                                                                                                                            |
| auth\_location\_field    | **string** An optional setting that tells authorization which field in the auth provider response contains Location information. Used in conjunction with auth\_location\_regex.                    |
| auth\_location\_regex    | **string** A regular expression to extract the location value from the location field. Used in conjunction with auth\_location\_field.                                                              |
| auth\_group\_field       | **string** An optional setting that tells authorization which field in the auth provider response contains Group information. Used in conjunction with auth\_group\_regex.                          |
| auth\_group\_regex       | **string** A regular expression to match against the group information.                                                                                                                             |
| auth\_group\_regex\_true | **string** If the regular expression auth\_group\_regex returns true (found a value), will use this group value.                                                                                    |
| auth\_default\_group     | **string** A default group.                                                                                                                                                                         |
| auth\_role\_field        | **string** An optional setting that tells authorization which field in the auth provider response contains User ROLE information. Used in conjunction with auth\_role\_regex. Available AUTH 1.1.x. |
| auth\_role\_regex        | **string** A regular expression to match against the role information.                                                                                                                              |
| auth\_role\_regex\_true  | **string** If the regular expression auth\_role\_regex returns true (found a value), will use this Role value.                                                                                      |
| auth\_default\_role      | **string** A default user role.                                                                                                                                                                     |

## Full Example

```
{
  "configVersion" : "example configuration",
  "group_inclusion" : {
    "MANAGER_ROLE" : ["Managers", "Associates", "*"],
    "Associates" : ["Associates", "*"],
    "*" : ["*"]
  },
  "layouts" : {
    "CPP" : [
      {  "package" : "com.symbol.wfc.pttpro" },
      {  "package": "com.bluefletch.ems.support" }
    ],
    "MPP" : [
      {  "package" : "com.symbol.wfc.pttpro" },
      {  "package": "com.bluefletch.ems.support" }
    ],
    "Managers":[
      {
        "label" : "Vision Settings",
        "package": "com.bluefletch.ems.vision",
        "activity": "PreferenceActivity"
      },
      {
        "label" : "Vision Training",
        "package": "com.bluefletch.ems.vision",
        "activity": "FaceTrainActivity"
      },
      {
        "package": "com.bluefletch.go"
      }
    ],
    "ADMIN":[
      {
        "package": "com.bluefletch.ems.support",
        "nfcEnable": true
      },
      {
        "package": "com.android.settings",
        "nfcEnable": true
      }
    ],
    "Associates":[
      {  "package" : "com.symbol.wfc.pttpro" },
      {
        "label" : "Vision Settings",
        "package": "com.bluefletch.ems.vision",
        "activity": "PreferenceActivity"
      },
      {
        "label" : "Vision Training",
        "package": "com.bluefletch.ems.vision",
        "activity": "FaceTrainActivity"
      },
      {
        "package": "com.bluefletch.ems.support",
        "label": "Support"
      },
      {
        "package": "com.android.calculator2"
      }
    ],
    "*": [
      {
        "package": "com.staylinked.AndroidClient"
      },
      {
        "package": "com.android.chrome"
      },
      {
        "package" : "com.google.android.gm"
      },
      {
        "package" : "com.google.android.calendar"
      },
      {
        "package" : "com.bluefletch.ems.testpermissions"
      },
      {
        "label" : "Yahoo News",
        "url" : "https://news.yahoo.com",
        "icon" : "/sdcard/DCIM/icons/news.png",
        "showUrl" : false,
        "showTitle" : false,
        "allowCookiePreview" : false,
        "fixOrientation" : false
      },
      {
        "package": "com.bluefletch.ems.support"
      },
      {
        "label" : "Tools Folder",
        "contents":[
          {
            "package":"com.bluefletch.ems.messaging"
          },
          {
            "package":"com.bluefletch.acc.themerapp"
          },
          {
            "package": "com.bluefletch.ems.tester"
          },
          {
            "package" : "com.bluefletch.ems.support",
            "label": "Strapper",
            "icon" : "/sdcard/DCIM/icons/soccer.jpeg"
          },
          {
            "package" : "com.symbol.datawedge",
            "label": "Wedge"
          },
          {
            "package" : "com.symbol.tool.stagenow"
          },
          {
              "label" : "WebSites",
              "contents":[
                {
                  "label" : "Google",
                  "url" : "https://google.com",
                  "icon" : "/sdcard/DCIM/icons/google.png",
                  "showUrl" : false,
                  "showTitle" : false,
                  "allowCookiePreview" : false,
                  "fixOrientation" : false
                },
                {
                  "label" : "Google",
                  "url" : "https://google.com",
                  "icon" : "/sdcard/DCIM/icons/google.png",
                  "showUrl" : false,
                  "showTitle" : false,
                  "allowCookiePreview" : false,
                  "fixOrientation" : false
                },{
                  "label" : "Yahoo News",
                  "url" : "https://news.yahoo.com",
                  "icon" : "/sdcard/DCIM/icons/news.png",
                  "showUrl" : false,
                  "showTitle" : false,
                  "allowCookiePreview" : false,
                  "fixOrientation" : false
                }
              ]
          }
        ]
      },
      {
        "label" : "Google",
        "url" : "https://google.com",
        "icon" : "/sdcard/DCIM/icons/google.png",
        "showUrl" : false,
        "showTitle" : false,
        "allowCookiePreview" : false,
        "fixOrientation" : false
      },
      {
        "label" : "One item",
        "contents":[
          {
            "label" : "Google",
            "url" : "https://google.com",
            "icon" : "/sdcard/DCIM/icons/google.png",
            "showUrl" : false,
            "showTitle" : false,
            "allowCookiePreview" : false,
            "fixOrientation" : false
          },
          {
            "package": "com.android.chrome"
          }
        ]
      },
      {
        "label" : "Two items",
        "contents":[
          {
            "label" : "Google",
            "url" : "https://google.com",
            "icon" : "/sdcard/DCIM/icons/google.png",
            "showUrl" : false,
            "showTitle" : false,
            "allowCookiePreview" : false,
            "fixOrientation" : false
          },
          {
            "package" : "com.bluefletch.ems.support"
          }
        ]
      },
      {
        "label" : "Quick Start Applications Folder",
        "quickStartFolder": true,
        "contents":[
          {
            "label" : "Google",
            "url" : "https://google.com",
            "icon" : "/sdcard/DCIM/icons/google.png",
            "showUrl" : false,
            "showTitle" : false,
            "allowCookiePreview" : false,
            "fixOrientation" : false
          },
          {
            "package" : "com.bluefletch.ems.support"
          },
          {
            "package" : "com.bluefletch.ems.deviceinformation"
          }
        ]
      }
    ]
  },
  "layoutSettings:" {
    "quickStartIconSize": "small"
  },
  "settings":{
    "activateSearchBar":true,
    "idleTimeInMinutes": 5,
    "maxSessionTimeInMinutes": 120,
    "requireAuthOnScreenOn" : true,
    "adminPassword" : "",
    "enableNotifications" : true,
    "enableNotificationsAlwaysOn" : true,
    "brokerUrl" : "tcp://ems-notifications-staging.bluefletch.com:1883",
    "enableHeadsUpNotifications" : true,
    "useEnhancedMessaging" : true,
    "muteNotificationOnCall" : true,
    "autoSubscribeWithSession" : true,
    "ldap_hostname" : "contoso.domain.local",
    "ldap_port" : 389,
    "ldap_domain" : "@contoso.local",
    "ldap_rootDN" : "DC=contoso,DC=local",
    "okta_client_id": "adfasdfa-6607-asdfasdf0137-b038-06391559b9e8132312",
    "okta_redirect_uri": "com.bluefletch.launcher:/callback",
    "okta_scopes" : "[\"openid\", \"profile\", \"name\", \"groups\", \"email\"]",
    "okta_issuer_uri": "https://openid-connect.onelogin.com/oidc",
    "auth_default_group" : "Associates",
    "auth_group_field" : "title",
    "auth_group_regex" : "(?i)leader$",
    "auth_group_regex_true" : "Managers",
    "auth_location_field" : "custom_fields.deptnum",
    "auth_location_regex" : "(\\d+)",
    "device_lost_hours" : 12,
    "vision_threshold" : 0.45,
    "vision_attempts" : 20,
    "lockInMotion" : true,
    "lockInMotionConfidence" : 50,
    "disableRecents" : false,
    "unsecuredDeviceTimeoutInSecs": 30,
    "unsecuredDeviceEffects": true,
    "includeUserApps": true,
    "authorizedAppStores": "com.android.vending"
  },
  "luggageTag": {
    "enable": true,
    "thresholdInMinutes": 30,
    "logo": "https://www.image.com/url/to/logo.png",
    "line1": "123 Blue Fletch Street",
    "line2": "Atlanta, GA 45678",
    "email": "help@bluefletch.com",
    "phoneNumber": "(855) 529-6349",
    "unlockPassword": "936A185CAAA266BB9CBE981E9E05CB78CD732B0B3280EB944412BB6F8F8F07AF",
    "alarmLoopInMinutes": 10
  },
  "approvedNetworks": [
    "office-wifi-1",
    "office-wifi-2",
  ],
  "keyboard": {
    "hapticFeedback" : "hapticClick",
    "bigButtonText" : false,
    "alphanumeric" : true,
    "keyPreview" : false,
    "allowToggle": true,
    "toggleLoggedIn": false
  },
  "browser" : {
    "showUrl" : false,
    "showTitle" : false,
    "allowCookiePreview" : false,
    "fixOrientation" : false
  },
  "defaultSession" : {
    "userId" : "",
    "userName" : "",
    "groups" : "*",
    "location" : "992"
  },
  "notifications" : [
    {
      "brokerId" : "deviceManager",
      "url": "tcp://ems-notifications-prd.bluefletch.com:1883",
      "name" : "Device ",
      "enableOrganizationGroup" : true,
      "useEnhancedMessaging" : true,
      "muteNotificationsOnCall" : true,
      "enableNotificationsAlwaysOn" : true,
      "disableVolumeAdjustment" : true
    },{
      "brokerId" : "StoreTest",
      "url": "tcp://ems-notifications-prd.bluefletch.com:1883",
      "name" : "Store",
      "enableOrganizationGroup" : true,
      "useEnhancedMessaging" : true,
      "muteNotificationsOnCall" : true,
      "enableNotificationsAlwaysOn" : false,
    }
  ],
  "customField" : {
    "format" : "{Extension} - {Department}",
    "source" : [
        {
            "pathfile": "/sdcard/Download/extension_dept.txt",
            "regex": "Ext=(.*)",
            "name": "Extension"
        },
        {
            "pathfile": "/sdcard/Download/extension_dept.txt",
            "regex": "Dept=(.*)",
            "name": "Department"
        }
    ]
  },
  "patterns" : [
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.acc.itemlookup", "intent" : "Intent", "extraKey" : "SEARCH_TEXT" },
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.demoscanreceiver", "intent" : "Intent", "extraKey" : "SCAN_TEXT" },
    {"pattern": ".*", "displayPrefix" : "Open", "package" : "com.bluefletch.retail.iteminquiry", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{10}$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{10}$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" },
    {"pattern": "^[0-9]{12}$", "displayPrefix" : "Lookup", "package" : "com.bluefletch.demoscanreceiver", "intent" : "Intent", "extraKey" : "SCAN_TEXT" },
    {"pattern": "^(\\d{4})?$", "displayPrefix" : "Call", "package" : "com.android.dialer", "intent" : "Intent", "extraKey" : "KEY" }
  ],
  "extendedAttributes" : {
    "gateway_auth_url" : ""
  },
 "theme" : {
    "enable" : "true",
    "logo" : "/sdcard/Download/ems/bsb_bikes_logo.png",
    "darkTheme" : true,
    "wallpaperImage" : "messe",
    "duoToneWhite" : "#006497",
    "duoToneBlack" : "#002442",
    "blurRadius" : 5,
    "blurPasses" : 0,
    "folderBackgroundColor" : "#AAAAAA",
    "wallpaperImage_lock" : "topology",
    "duoToneWhite_lock" : "#006497",
    "duoToneBlack_lock" : "#002442",
    "blurRadius_lock" : 5,
    "blurPasses_lock" : 0
  },
  "altThemes": {
    "siteOne": {
        "darkTheme": true,
        "enable": true,
        "logo": "/sdcard/Download/ems/maingroupicon.png",
        "accentColor": "#3049CB",
        "wallpaperImage": "/sdcard/Download/ems/main.png"
      },
    "siteTwo": {
        "darkTheme": true,
        "enable": true,
        "logo": "/sdcard/Download/ems/siteTwo.png",
        "accentColor": "#343A20",
        "wallpaperImage": "/sdcard/Download/ems/siteTwo.png"
      }
  },
  "secureNotifications" : {
    "enabled": true,
    "enableHeadsUp": true,
    "headsUpTime": 2000,
    "whitelist": ["com.example.phone", "com.example.music"],
    "blacklist": ["com.example.browser"]
  },
  "emsSupportTool" : {
    "orgId": "asdf-asdf-asdf"
  },
  "protectedList": [
  ],
  "disablePackages": [
  ],
  "intents" : {
    "login" : [],
    "logout":[],
    "boot" : [],
    "uncradle": [],
    "cradle": [],
    "screenOn": []
  },
  "license" : "dkas;lsad;ladjl;asd;io3489043lkasdlk;dxvoipc oic kqw4k439-xvknzcxvoip4r934ket9",
  "orientationOverride": {
    "TC700H": "portrait",
    "ET51": "portrait"
  },
  "keyManagement": {
    "enabled": true,
    "refreshIntervalInSeconds": 1740
  }

}
```


# Release Notes

Release Notes for the BFE Launcher Application

### Release 3.27.17

#### Highlights

This release adds several new configuration options: switching Wi-Fi networks (SSIDs) on Zebra devices, exiting the Launcher remotely from the Portal, ignoring VPN addresses when detecting site location, custom re-authentication display text, and enabling or disabling Safe Mode on Zebra devices. It also improves reliability across logout and session handling, config file loading, app data clearing on Zebra devices, site location detection, and wallpaper and logo display.

#### New Features

* SSID Switching on Zebra — A new `allowSSIDChange` setting lets Zebra devices switch to a different Wi-Fi network on command.&#x20;
* Luggage Tag enter and exit events are now reported when they actually happen, and each exit records whether a passcode was used.
* Exit Launcher from Portal — Administrators can exit the Launcher remotely from the Portal. The Launcher hands control to any installed home app, waits until the Google launcher is enabled before starting it, and the DevUI shows progress while exiting.
* Ignore VPN IP for Site Location — A new config flag `ignoreVpnIpForSiteLocation` (off by default) makes site location use only the device's local IP address and skip the VPN IP.
* Custom Re-auth Display Name — A new `reauthDisplayName` setting sets the text shown on the re-authentication screen, with template values filled in from the user's session.
* Re-auth on Screen Saver Control — A new `reauthOnDreamStart` setting controls whether starting the screen saver (daydream) requires the user to sign in again.
* Safe Mode Control on Zebra — Zebra devices can now have Safe Mode turned on or off through configuration.
* Prevent Doze for BfPhone — BfPhone is now exempt from Doze mode, so incoming calls are no longer dropped while the device is idle.
* Logout Reason in Logout Intent — The logout broadcast now says why the logout happened.
* Widget Custom Extras — Widgets now receive the custom extras set for them in the configuration.

#### Bug Fixes

* Fixed "Invalid Configuration File" errors caused by the Launcher reloading several times, and sometimes reading the config file while it was still being written, when a single config file was replaced.
* Fixed a stale max-session timer that could log out the next user after a crash.
* Fixed duplicate Launcher screens that could leave the logout spinner stuck.
* Fixed unnecessary re-authentication when Android closed the Launcher. Re-authentication is now skipped only when Android closed it to free memory, and is still required if the system clock moves backward.
* Fixed apps losing asset permissions after their data was cleared on Zebra devices. Clearing recent apps now runs after app data is cleared, and permissions are granted again.
* Fixed apps on Zebra devices that kept being cleared after they were removed from the clear list. Each app is now cleared separately, and the selective-clear delay was also brought over from Launcher4.
* Fixed site location sometimes giving inconsistent results after a reboot.
* Fixed implied groups from the previous site staying in place after a site change.
* Fixed force lock not returning to its default settings when a new config was pushed.
* Fixed the logo and wallpaper sometimes not loading on first run.
* Fixed wallpaper changes being reported as successful when they had actually failed.
* Fixed a crash on Samsung devices related to Knox usage.
* Fixed a crash when the power button was pressed repeatedly on the PIN screen.
* Fixed a crash when swiping between Launcher pages.
* Fixed search not finding custom intents when they are restricted.
* Fixed custom intents that open activities not launching reliably, and an app entry is now created only for a custom intent that has a package name but no class name.
* Fixed the Launcher running unnecessary EMDK operations when enabling packages.
* Fixed a possible failure when the Knox license service could not be started.

### Release 3.26.49

#### Highlights

Permission Manager updates for new BF apps. Initialization enhancements for tracking.

#### Details

* Updated Permission Manager to grant access to BF Phone app permissions.
* Fixed Luggage Tag timer to trigger exactly at configured threshold.
* Changed the way the original intent extras get added to the `customTabsIntent` when using CCTs.
* Updated Permission Manager to grant storage permissions for BF PDF Viewer.
* Added additional logging to config file reading to assist with debugging.
* Updated to track initialization failures:
  * Updated Initialization overlay screen to have a max timeout of 5 minutes.
  * Send `platformReadyExpired` app log event if platform startup takes longer than 3 minutes.
  * Send `deviceInitialization` app log event when Launcher moves out of initializing state.
  * Add `platformExpired` extended attribute when the platform startup is more than 3 minutes.

### Release 3.26.43

#### Highlights

Support for replacement values in the "data" layout intent parameter. Expanded CCT support.

#### Details

* Added logic to perform value replacements for intent `data` field in layouts.
* Added a flag that checks whether `clearRecentExcludeList` is null or empty.
  * If null or empty, Launcher will clear all the recent apps upon logout .
  * Otherwise, Launcher will clear individual packages excluding the apps defined in `clearRecentExcludeList`.
* Updated logic for launching custom tabs. Specifically, this adds support for CCT with Microsoft Edge browser.
* Fixed issue where PlatformReceiver was creating a new uninitialized platform instance instead of using the singleton, causing `_platformHelper` to be null.
* Added defensive null checks in `sendPlatformCommand` methods.
* Cache installed custom tab providers to determine if Launcher can use CCT.
* Fixed issues with Launcher start up.

### Release 3.26.38

#### Highlights

Delete File Action improvements. ELO Scanner updates. Fix for Alternate Theme setting. Various fixes.

#### Details

* Added launcher package to the protected list at runtime.
* Updated search to include packages inside folders.
* Improved NFC foreground dispatch handling in Launcher for Android 14.
* Added confirmation dialog when logging out from reauthentication screen.
* Added loading of the managed config from file path before checking if it was valid.
* Added logic to keep the device awake for 3 minutes after scan when using the ELO Scanner.
* Added beep sound for ELO Scanner, with the ability to set a custom sound via assets.
* Added additional validation for label font size and set to minimum font size if less than 4.
* Added a file cleaner utility for age checking and easier file deletion.
* Fixed an issue where device was resetting to the default theme on reboot when altThemes are used.
* Updated logic for DELETE\_FILES action. The action will only remove files.
* Updated Launcher foreground notification to fall into the Silent notification section.
* Added new Support Agent configuration setting, `openAppFromNotification` to prevent opening the support application from the notification.
* Fixed debug logging of the Config Intent object and added data information to the logs.
* Fixed the logging for olderThanDays deletion message, as logging was using incorrect/outdated value.
* Updated logic to read the patterns information during the File Delete action processing.
* Fixed Luggage Tag mode to properly display during device restart.

### Release 3.26.30

#### Highlights

Support for screen off custom intents. Added ability to allow notifications during reauth. Various startup fixes.

#### Details

* Added logic for Zebra scanner platform to run successfully on Android 14+.
* Added new config setting to allow notifications during reauth; implemented for Zebra devices.
* Added BlueFletch Keyboard to the permissions granting logic.
* Added default value of false for `allowNotificationsOnReauth`.
* Added support for custom intents during screen off detection.

### Release 3.26.24

#### Highlights

Added a beep on scanning for ELO devices. Added validity checks for Launcher configuration files. Removed the enable/disable SMS package behavior from the setting `hideNotificationsOpenZone` .

#### Details

* Added receiver for Config reload.
* Added new upgrade tool package to be excluded from Clear Recents so that it does not get prevented from running.
* Added beep for scans when using ELO devices. Added broadcast receiver to allow external apps to disable ELO scanner beep sounds.
* Added a try/catch around App Manager's attempt to get the enabled state of a newly installed application.
* Added SettingsUtil for caching values read from Android's Settings class.
* Added `NAME` in DeviceValueReplacer.
* Added CIDR range format for IP address within Site filtering.
* Added `READ_PHONE_NUMBERS` permissions. Added phone number to extended attributes.
* Updated Launcher permission manager to set Manage External Storage permission for the BlueFletch Remote Control application.
* Updated permission logic for Zebra `ALL_DANGEROUS_PERMISSIONS`. Also set BlueFletch Chat to use `ALL_DANGEROUS_PERMISSIONS` permission, as it needs Location.
* Added checks to make sure Secure Notifications are enabled before updating the Secure Notifications Controller.
* Added a feature to allow empty spaces within a layout configuration.
* Added a check so that before updating the internal configuration file on the SDcard or a managed config, validated the incoming files is a valid Launcher configuration.
* Removed `handleEnableDisableSMSPackage` implementation from the setting `hideNotificationsOpenZone`.
* Moved the logic for `updateCustomFieldText` to be after reading the phone number to negate race condition.
* Add checking for `canDrawOverlay` in `createFloatingView` to prevent BadTokenException.
* Moved ELO scanner initialization to a background thread to prevent main thread blocking.

### Release 3.26.9

#### Highlights

Support for replacement variables in Luggage Tag mode. Fixes for Dialog theme, 'OSX admin disabled' message and other enhancements and fixes. Launcher 3.26.9 minimum OS requirement is now Android 8.1.

#### Details

* Fixed an issue where Launcher stays in Loading when running on Android 14 when setting AddToProtected packages on Zebra devices.
* Added support for replacement variables in Luggage Tag screen.
* Bumped minimum install requirement for Launcher to Android 8.1.
* Added ability to disable the large screen taskbar on Zebra Android 13+ tablets.
* Added null checking on the Force Lock configuration settings.
* Fixed issue where the logo was not loaded while in Luggage Tag mode.
* Fixed replacement variables not loading on Luggage Tag mode.
* Implemented preventDozeMode on Platform Service and Knox platforms.
* Updated the clear session method to remove extended attributes during logout.
* Fixed issue where Secure Device mode is not enabled on first install.
* Fixed Logout and other dialogs to follow configured dark/light theme.
* Added setLanguage and preventDozeMode implementations when using Platform Service.
* Updated setLanguage to wait for change language success before restarting the UI.
* Refactored Configuration Reload event reporting to include License details.
* Changed how Granting URI permissions is handled in Asset Manager to prevent the grants from running on the main thread.
* Updated the `wifiSettingsEnabled` layout property to enable system settings and prevent 'OSX admin disabled' messages on Zebra devices.
* Updated Assets Manager to allow sharing assets to EPM plugin.
* Fixed Launcher so that files on the sdcard are only 'touched' once after Launcher is granted File Access permissions.

### Release 3.25.27

#### Highlights

Secure Notification update to fix overlay and add audio notifications when locked.

#### Details

* Updated Secure Notifications unread overlay to prevent blocking access to applications.
* Updated Secure Notifications to snooze notifications if in session and requires reauthentication.
* Updated Secure Notifications to play an audio notification when in locked state.

### Release 3.25.24

#### Highlights

Fixes for Do Not Disturb and ability for Launcher to run on MC93xx series devices.

#### Details

* Fixed an exception during audio mute / unmute actions when the device is in Do Not Disturb.
* Fixed Launcher crash on MC93xx series devices (and devices with similar screen size).

### Release 3.25.22

#### Highlights

Refactored Secure Notifications. Added ability to force-lock the Launcher via broadcast intent. Fixed handling of notifications on screens where status bar is disabled.

#### Details

* Ensure that when the notification tray/status bar is disabled notifications are disabled as well.
* Added NotificationManager characteristic to house the NotificationAction parameter.
* Added handleSecureModeForPasswordProtectedApp method for handling password-protected app behavior in Secure Device Mode.
* Added ability to force-lock the Launcher with a locked-state screen:
  * Added ForceLockHandler to monitor broadcast and messaging to lock/unlock device.
  * Updated Controller to add new locked-state.
  * Updated View and layouts to display new locked-state screen.
  * Consolidated enable/disable status bar within handleEnableDisableControls method.
  * Updated to prevent logging out of current session if "disable" command is sent.
* Updated FileObserver to prevent overwriting a newly downloaded file with an old configuration.
* Added the noFullScreen flag to the text input fields to allow clicking while a keyboard is up.
* Updated platform check for Zebra devices running A14.
* Added check to verify that Secure Device Mode is active before sending Support Agent a SecureDevice login message.
* Fixes/enhancements for Secure Notification feature:
  * Fixed issue with bubble overlay preventing screen taps in top bar.
  * Cleaned up logic on when interactions with notifications can occur based on Launcher state.
  * Added notification audio to accompany heads-up notifications.

### Release 3.25.15

#### Highlights

New custom intents and layout actions for setting language, timezone, and NTP server.

#### Details

* Added support to set language, timezone, and NTP server via layout actions and custom intents.
* Updated the layout for smaller landscape devices with new Recents layout information.
* Updated CustomIntentWorker to call onComplete if intent processing fails.

### Release 3.25.14

#### Highlights

Custom Intent processing and Criteria enhancements, automatic login from notifications, local application logging, and other bug fixes and enhancements.

#### Details

* Migrated CustomIntent processing to use Android WorkManager.
* Fixed an issue where the reauth required flag was not set during reboot in some edge cases.
* Updated foreground service startup to help prevent issues with long boot times.
* Fixed issue where some settings are not enabled when in temporary admin role for Samsung devices.
* Added default setting for reportSystemApps configuration for Support Application.
* Fixed an issue where the Quick Start bar is not getting displayed.
* Added 'authRequiredForNotificationIntent' flag to enforce login when receiving notifications from the Messaging app (requires Messaging 3.5.16).
* Updated custom intents so that either criteria\_OR or criteria\_AND sections are required when using criteria for conditional custom intents.
* Updated XML platform intent to support session/config/device replacement values on the 'data' field.
* Updated to save log files to /sdcard/Download/bfe\_logs folder if the 'logUrl' parameter is set to empty.

### Release 3.25.7

#### Highlights

New "Recents Activity", Orientation enhancements, Additional Samsung enhancements, fixed icon size option, and other fixes.

#### Details

* Added knoxEnableRecentsButton flag to allow use of the hard key Recents button for select Samsung devices.
* Fixed issue where Launcher would crash when setting Language/Locale via XML.
* Added option to layoutSettings.iconSize parameter to specify a fixed icon size in dp, e.g. "48dp".
* For Samsung devices running in the default ProKiosk mode, going into Temporary Admin mode will now correctly restart Launcher with settings enabled (requires Knox Helper application to be installed).
* Fixed issue in Launcher where it is unable to retrieve the actual device serial number from the Device ID application in some scenarios.
* Fixed issue where overlay is preventing Knox license activation when Launcher is granted all permissions at install
* Added orientation override option to use the device sensor for orientation.
* Fixed issue where Launcher screen constantly redraws when Samsung Motion Smoothing is enabled.
* Fixed issue where the Device ID application was continuously being invoked if the MAC address was not found.
* Added new Recents Activity, which displays all user-launched apps, with the ability to kill the applications.
* Updated text widgets to scroll correctly.
* Updated text widgets to allow displaying of rectangular images. The iconSize parameter will now only restrict the height of the image.
* Disabled split-screen mode on Zebra devices.
* Updated to allow Launcher orientation changes to persist within a session.
* Updated to allow Launcher on ELO M60s to also send a broadcast when a scan event occurs, which other applications can consume.

### Release 3.24.30

#### Highlights

Fixes for Luggage Tag and Asset Manager, changes to Secure notifications, and support for scanning on ELO M60 devices.

* Updated Secure Notifications unread bubble to only show if the Launcher is in the foreground.
* Updated Secure Notifications to prevent notifications from being displayed when reauthentication is required.
* Added support for search and configuration barcode scanning on ELO M60 devices.
* Fixed issue with Luggage Tag mode to prevent constant entering/exiting if location permissions were not granted to Launcher.
* Updated Asset Manager to re-download assets if the asset URL string has changed.
* Updated to temporarily enable settings for 120 seconds when using certain admin actions that require access to com.android.settings.

### Release 3.24.20

#### Highlights

Fixed issue where web links were not being cleared during logout. Added dialog display updates, EMDK processing updates, and various bug fixes.

#### Details

* Updated Launcher to prevent a user from clicking a notification when in open zone or when in re-auth screen.
* Removed the "Cancel" button from the Launcher re-authentication display screen.
* Updated Launcher to enter Luggage Tag mode if the device is marked as "blocked" within the Portal.
* Added the ability to display the last four digits of the serial number within the custom field text.
* Changed the idle alarm to use setExact, to ensure Launcher properly logs out when the idle timeout occurs.
* Updated Launcher to enable Android Settings for 30 seconds upon clicking the “ok” button on the notification access dialog.
* Added ability to display session or device information within the custom header.
* Implemented consistent buttons in the Dev Admin screen.
* Added ability to clear individual application storage using custom action "CLEAR\_STORAGE".
* Updated Zebra Platform logic and EMDK settings to reduce the number of invocations of the EMDK processing on Android 11 and above.
* Fixed the display of application titles that are being cut off.
* Fixed logic to prevent merged folders from persisting between sessions.
* Added a new configuration setting "disableStatusBar" that indicates if the pull down notification tray should be disabled.
* Updated the display of dialogs to remove excess space in the dialog headers.
* Updated the button shapes to be more consistent.
* Added the ability to control the desired shape of buttons. Requires new theme configuration settings of "consistentButtonShape" and "buttonCornerRadius".

### Release 3.24.15

#### Highlights

Fix for refreshing the Site Id during network change.

#### Details

* Updated the network connection change logic to invoke the site refresh logic even if the IP Address is the same. Previously would only refresh sites if the IP Address had changed.

### Release 3.24.14

#### Highlights

Updated logic to support device information replacement. Fix for idle timeout issues.

#### Details

* Permanently hid the Cancel button on the reauth screen.
* Fixed Widget Manager to allow for device information replacement.
* Updated Custom Intents to allow for device information to be included/replaced in intent data fields.
* Updated Application Manager URL builder to allow for replacing device contents in the URL.
* Updated logic to use WorkerManager to schedule tasks in background.
* Updated device reboot logic to get the MAC address value and set into configuration extended attributes.
* Updated logic to display the max idle dialog when Launcher is restarted after a force stop.

### Release 3.24.11

#### Highlights

Various updates to the Site List processing, including polling for changes to the list and setting default site ID. Updated the Secure Device Mode to disallow muting a device during the alarm. Support for new WS50 wearables. Fixes for various bugs and exceptions.

#### Details

* Added new "appConfigs" configuration object to hold other BFE app configurations.
* Updated logic to allow Launcher to poll for site list updates when using the configuration "siteListUrl" setting.
* Added configuration setting "siteListPollingIntervalMinutes" that indicates the interval for polling for site list updates. Default is 1440 minutes.
* Added a null check for the keyManager usages in LauncherKeyManager.
* Updated SupportToolLib to version 5.7.3.
* Added WifiMac address to configuration extended attributes.
* Updated Secure Device logic to listen for volume changes. Logic will reset volume so that device cannot be muted.
* Added new theme configuration setting darkStatusIcons with default value of false. This allows for setting the status bar color based on config.
* Added configuration setting "isWearableItem" to layout objects. This indicates that the item should be sent to the wearable launcher during login flow.
* Added Launcher State replacer to application intents.
* Added Launcher State replacer to criteria logic.
* Updated the user layouts to use the Launcher state replacer logic.
* Updated logic for wearable parsing and passing reduced information.
* Fixed null pointer exception when the theme object is null.
* Refactored application information logic to allow for building isWearable-only objects.
* Added theme configuration folderTextColor to allow for changing the folder text color. Default value is #000000.
* Fixed a null pointer exception within the wallpaper update logic.
* Fixed the assets file observer to not monitor changes to the full SD card.
* Updated the Header Banner Widget to only show login button if an Auth package is installed on the device.
* Cleaned up the external host storage check. Added exception handler and moved logic to make it cleaner to read.
* Added logic to ensure to controller being available during session expiration receiver.
* Updated SiteLocationManager to use the configured "defaultSiteId" in the site list if the device is unable to automatically determine its current site. If "defaultSiteId" is set to "9800", the SiteLocationManager will look for the site list row that matches siteId = 9800.
* Updated Default Site ID logic so that if the default site ID is not in the site database, it will create a default site information object using the default site ID value. This covers a corner case where site list CSV is not properly supplied.
* Added logic to reload clearable packages at Clear Recents to ensure all clearable apps are accounted for, even if the Launcher is restarted.
* Added the Launcher State Replacer to custom intent extras.
* Added new option to use the user's current session PIN for the protected app feature. The configuration setting is "requirePinToLaunch."
* Fixed the Manage All file permissions request logic on Zebra devices.
* Removed the request for Managed Storage Permissions.
* Added Japanese translations.
* Updated persistent foreground app to be allowed in Open Zone and without the need for authentication within the controller.
* Updated the Controller View Listener logic to ensure correct listener is being removed.
* Added a try/catch around Samsung MultiUserManager use, as some Samsung devices do not support this mode.
* Fixed issue where persisted app may interfere with re-authentication.
* Changed the way the theme style was implemented in the AlertDialog. This fixes the OK button not being clickable in some instances.
* Added null check within WidgetManager logic when processing widget parameter settings.
* Updated logic during the device reboot, so that if the Launcher does not have a site it will invoke the site service logic.
* Updated Login button display to hide the button if there is no launcher configuration on device.
* Added additional checks for missing widget parameters.

### Release 3.23.8

#### Highlights

External auth layout support, fixes for icon shortcuts and intent filters.

#### Details

* Added ability for external auth modules to dynamically pass a layout with the user session.
* Fixed issue where Launcher would not display icon images for shortcuts.
* Fixed issue where intent filters are ignored.

### Release 3.23.6

#### Highlights

Extended Display support for Zebra Workstation Connect and Honeywell Desktop, Platform Service 2.x support, and Samsung Knox improvements for Android 13/OneUI 5.0.

#### Details

* Added ability to extend displays using Zebra devices with Zebra Workstation Connect.
* Added ability to extend displays on Honeywell devices with Honeywell Extended Desktop.
* Implemented Knox improvements for Android 13/OneUI 5.0:
  * Introduced new knoxSettings configuration section to allow for finer-grained control of Knox settings in Launcher.
  * Set ProKioskMode to true by default to prevent use of the Recents Application that contains unauthorized app links.
  * Made Bluetooth and Wifi settings accessible via configuration.
  * Improved device admin activation/Knox registration flow during initial startup.
* Updated to support Platform Service 2.x:
  * Improved boot start-up time on Honeywell devices when using Platform Services 2.x.x.
  * Added ability to disable individual components of packages on Samsung and Platform-signed OEMs.
* Updated disablePackages functionality to re-enable previously disabled packages when the disablePackages configuration is changed.
* Added ability to re-enable all disabled packages when exiting Launcher from the admin page.
* Updated browser shortcuts to display the specified browser's icon if the icon is not specified, instead of the default green Android icon.
* Updated Widgets to validate the format of the colors provided and log a warning message when Launcher detects an incorrect color value.
* Added information log when Launcher determines it needs to set itself as default launcher.
* Added package verification for shortcut objects. If the specified browser is not present, the shortcut object will not be displayed.
* Added intent resolution verification to the Action object. If the target package of the action is not present, the action object will not be displayed.
* Added support for passing boolean extras in Custom Intents.
* Fixed issue where BlueFletch Launcher is not able to scan on Zebra devices if it is already set as the default launcher.
* Fixed issue where the session widget header on tablets is not customizable.

### Release 3.22.31

#### Highlights

Updated Secure Device mode to support external application monitoring of device cradle status. Various exceptions fixed.

#### Details

* Added `isInSecondaryAuth` key in the session extended attribute when a device is displaying the secondary auth screen.
* Added logic to accept new config setting to allow external cradle monitoring apps to broadcast messages to override the cradle status.
* Fixed an issue of already defined message variable in the controllers onLoginComplete.
* Fixed the cradle monitor to only disable receiver when the user is logged in or device is charging.
* Moved the external cradle monitor functions out of controller and into Secure Device Manager.
* Merged functions for disabling Secure Device and external cradle deactivation.
* Added method to get the Support Tool Settings array.
* Created a new config section for Secure Device to define external cradle monitor settings.
* Added logic to perform null check when getting the orgId from the configuration.
* Fixed various exceptions for null pointers and bounds out of range.
* Fixed an issue with the session widget where configuration change cannot set the background color.
* Added the ability to override the log file upload endpoint if the Support Agent is not present.
* Fixed issue where the location text is not cleared when useSiteInfoService is disabled after previously being enabled.
* Reworked logic so that external cradle monitor does not keep Secure Device Mode from working correctly when dealing with a device that is cradled.

### Release 3.22.25

#### Highlights

Configurable Header Widgets, updated widget parameter configuration for flexibility, Persistent App feature.

#### Details

* Openzone and authorized screen header is now configurable indepent from theme and can support other widget header layouts.
* Updated widget configuration to use a more flexible `widgetParams` object.
* Support for custom intents in `widgetParams` widget configuration.
* Added Persistent App feature that automatically starts an application if a certain session criteria is met, and is made persistent even when pressing the home button.
* Added the ability to hide icons/folders from the workspace.
* Added ability to tweak the row height for icons in the Launcher workspace.
* Added ability to specify a certificate version when using the Auth Broker.
* Added intent to force redownload of the launcher configuration file when using Managed Configuration.
* Display an overlay screen during startup to prevent users from interacting with recent applications during long boot up cycles.
* Added functionality to allow web applications to run custom Android intents through the Launcher by navigating to a URL.
* Automatically grant permissions for EPM on supported devices.
* Fixed issue where Launcher did not restart Auth properly if the user cancelled authentication.
* Support for using criteria evaluation when running custom intents.
* Fix issues related to Key Management.
* Fixed issue in Motion Lock where the Android soft keyboard overlapped with the navigation icons.
* Fixed issue where secure notifications did not disable the status bar on devices running Platform Service.
* Fixed issue on some devices running Android 7.1 and below where it would not detect launcher.json configuration file updates in the /sdcard/Download/ems folder.
* Fixed configuration QR code scan to download configuration file to application storage, not the /sdcard/Download folder.

### Release 3.21.25

#### Highlights

Improved error handling for theme and wallpaper configuration. Improved site change processing on network changes.

#### Details

* Added validation against theme configuration values to prevent wallpaper and theme exceptions.
* Fixed site detection flow when different IP is recognized.
* Fixed Launcher's re-authentication required screen to follow the currently configured theme.
* Updated developer tools page to allow other apps to read the log level setting.

### Release 3.21.21

#### Highlights

Added ability to use device information (Model, Android version) within Implied Group logic. Added new intents to rotate Launcher to portrait or landscape. Various fixes for exceptions. Fixed reauth display during Lock In Motion.

#### Details

* Fixed a corner case exception when the current state object does not have the current configuration object.
* Added a try/catch within the file downloader class to ensure that poorly formed URLs do not cause issues.
* Created new Device Replacer object. Implied Groups now utilizes the replacer.
* Updated WidgetManager and Custom Field determinator to utilize the new Device Replacer logic.
* Fixed the Custom Intent Worker unit test.
* Updated the controller state processing to always check for reauth required. Regardless of the state of the device, if reauth is required, the reauth UI will be displayed within Launcher.
* Fixed logic on Honeywell devices to keep default launcher enabled and make the recents activity available after Android 11.
* Fixed logic on Honeywell devices to keep the current device brightness setting during provisioner runs.
* Added an overlay screen to Launcher during initialization to prevent users from interacting with the device at boot.
* Updated Custom Intents to handle rotation requests.
* Fixed a corner case exception with notification updates.

### Release 3.21.15 <a href="#release-32115" id="release-32115"></a>

Released September 2023

#### Highlights <a href="#highlights" id="highlights"></a>

Changed the Lock In Motion behavior to require the user to click a button to exit Lock In Motion display, and added a method to allow for manually entering Lock In Motion display. Additional localization support for fr-ca.

#### Details <a href="#details" id="details"></a>

* Added an internal action to allow for displaying a shortcut for turning on Lock In Motion.
* Updated the Launcher Activity to allow it to turn off Motion Lock via a button click.
* Updated the Motion Lock logs to indicate if a manual enter or exit occurred.
* Added Motion Lock exit button to other layout formats.
* Updated the Motion Lock feature to force user to select exit in order to get out of the Motion Lock feature.
* Updated Exit Motion Lock button to match Login button theme logic.
* Updated Asset Manager assets permissions to included the Chat application.
* Added localization support for fr-ca language.
* Updated the Crash Handler AAR to version 3.0.1.

### Release 3.21.12 <a href="#release-32112" id="release-32112"></a>

Released September 2023

#### Highlights <a href="#highlights" id="highlights"></a>

Logic added to monitor for assets that have not been loaded, ignore Draw Over permission checks on Zebra devices, added logic to wait for MX Services to start during device boot, and various other fixes.

#### Details <a href="#details" id="details"></a>

* Updated the EMDK Platform usage to wait till the EMDK / MX services indicate they are ready for usage.
* Added a check for a null NFC adapter to prevent crashes on devices that do not support NFC.
* Updated the Launcher Activity to recognize there is a missing logo file.
* Added special file observer processing to monitor assets that have not been downloaded.
* Added an intent flag during logout to override auth verification screens, if present.
* Within the Draw Over permissions check, if the device is a Zebra device, will ignore the check.
* Fixed a corner case issue during device boot where notifications pull down gets re-enabled. The controller is unaware of device state, therefore was not attempting to disable.

### Release 3.21.6 <a href="#release-3216" id="release-3216"></a>

Released August 2023

#### Highlights <a href="#highlights" id="highlights"></a>

Changed the No Configuration file UI to be less obtrusive. Fixed the Site List loading. Various fixes and changes for performance.

#### Details <a href="#details" id="details"></a>

* Added logic to check for null folder contents during folder render to fix an exception.
* Updated the logic for Configuration missing display, using widget support.
* Added Implied Groups settings for no external launcher configuration file.
* Updated the Controller to handle setting configuration extended attribute for no external configuration file.
* Added logic to reset the session group object if there is an external configuration file.
* Added attribute to center the text within the Text Widgets.
* Fixed the string resource name and text for the no configuration file message.
* Added a new Resources String replacer helper to use for including strings into widgets.
* Added default group for no configuration file loaded onto file.
* Added implied group to display the no config files widget.
* Added the Resource String replacer to the Widget rendering logic.
* Updated the column span to 10 on the No Configuration widget.
* Updated the Site List database insert method to return the row number.
* Updated the Controller to not load the configuration from database multiple times, which improves performance.
* Refactored the Site Processor to be a instantiated object, not static methods. This makes it easier to create unit tests.
* Added logic to run the Site Load logic once.
* Changed the Site Info Loader logging to be verbose, to reduce the logged data.
* Removed reference to Robolectric.
* Added Powermock packages to the Site Location service project to begin work on unit test cases.
* Updated the Site logic logging messaging text.
* Added additional null checks in the Controller life cycle processing.
* Added configuration assign for Implied Group settings.
* Fixed the implied group merge function to prevent provider errors.
* Added logging statement for SiteId and Site Name being set.
* Updated the configuration manager to return the in-memory config object and not read the database on getConfig calls.
* Fixed corner case issue where notifications pull down were getting re-enabled during device reboot while using the setting hideNotificationsOpenZone.
* Placed a try/catch around provider writes. This will handle situations when bad json files are supplied.
* Cleaned up Configuration Manager add extended attribute add logic.

### Release 3.20.14 <a href="#release-32014" id="release-32014"></a>

Released July 2023

#### Highlights <a href="#highlights" id="highlights"></a>

Luggage Tag logging and logic refactor. Various fixes and enhancements.

#### Details <a href="#details" id="details"></a>

* Updated EMDK settings to disable notifications settings on Android 11.
* Added try / catch around package manager method that throws exception.
* Updated password dialog entry to display the keyboard when the dialog is used.
* Added some additonal permissions to the manifest.
* Updated the Controller to log some addtional information regarding Luggage Tag use.
* Changed the network usage within Luggage Tag and added test for ethernet connection.
* Refactor logic within the Luggage Tag manager.
* Fixed formatting in text widget for long titles.
* Added Wallpaper checksum null check.
* Updated the individual platform classes to return from the enable Wifi method.
* Upgraded the Key Manager library to 1.0.8, to resolve an exception.
* Add BrowserRestrictions object to configuration for browser allow/block lists.

### Release 3.20.12 <a href="#release-32012" id="release-32012"></a>

Released July 2023

#### Highlights <a href="#highlights_1" id="highlights_1"></a>

Support for Samsung Remote control, various fixes, updates for Wallpaper processing, updates to the Implied Groups feature.

#### Details <a href="#details_1" id="details_1"></a>

* Fixed a corner case issue in Lugguage Tag if unable to unable to determine the SSID, then will start the timer.
* Moved Remote Control Settings to its own configuration section.
* Added configuration enums for Remote Control settings.
* Added logging within Samsung platform logic.
* Added error handling around some Samsung APIs to prevent unexpected crashes on older Samsung devices.
* Added Samsung Knox version checks on some methods.
* Added check for Android 12 or higher to prevent putting luggage tag lock at top of screen.
* Added Remote Control host to settings.
* Fixed File Downloader to return from download processing if malformed URL.
* Added logging to the On Asset Change notification, so will know when asset loading is completed.
* Changed grant permissions logic to reuse the existing Asset Manager object.
* Updated the Asset Manager with additional logging.
* Removed the dependency on Configuration Manager within Asset Manager. The Asset Manager now keeps a weak reference to the configuration object instead of requesting it.
* Added a Configuration Manager read within a corner case during download of assets.
* Added null check when looking at Authorized clients in asset processing.
* Added motionlock app list to launcher state.
* Added motionlock apps to the UI.
* When the File Manage permission is completed, touch files within the Download directory to process files, if they exist.
* At boot time (Launcher start), touch files needed by Launcher to make file observer check for differences.
* Updated Knox platform setup to support key injection.
* Added Knox Event processing for Key events and Motion events.
* Added comments to key injection for Samsung. Updated the logic to invoke the injection in another thread, as to ensure no conflict with the main threads.
* Added the Playbook Agent to the clear package exclusions.
* Added Playbook Agent to package resolver logic.
* Added logic to request the Manage All External permissions on Android 13 and above.
* Added configuration entries for cacheUserEnabled and cacheUserExpirationInDays.
* Changed the cache expiration to use 'Hours' instead of 'Days'.
* Added new Knox security permission.
* Added the ability to run config and session replacement on widget options.
* Added additional logging around wallpaper logic.
* Fixed the secure device snooze behavior to sound alarm immediately after snooze duration timeout.
* Added a configuration option for max snooze count, default = 1. After max snooze count is reached, user will no longer be able to snooze the secure device alarm.
* Changed the secure device notification text to display minutes and seconds if timer duration is greater than 60 seconds.
* Updated the Theme Configuration object to have a true isEqual method.
* Fixed an issue where certain tablets on landscape with 240dpi do not show the correct number of columns.
* Updated the impliedGroups feature to support AND and OR type matching criteria.
* Updated Controller to always call Wallpaper service when assets have changed. Let the service determine if a change has occurred that it needs to deal with.
* Added logic to check for a running Wallpaper service. If one is running, do not start another one.
* Added logic to save off the last Wallpaper image and checksum of the image, if a local file. Use that information on next service run to see if there is a change in wallpaper asset information.
* Added logic to test if the Wallpaper file has changed.
* Updated the Support Library for logging on Android 13.

### Release 3.19.21 <a href="#release-31921" id="release-31921"></a>

Released June 2023

#### Highlights <a href="#highlights_2" id="highlights_2"></a>

Allow for manual site selection to utilize an external site activity. Updated Patterns processing to use settings within Custom Intents.

#### Details <a href="#details_2" id="details_2"></a>

* Refactored Custom Intents into a worker class so that it can be utilized in other places.
* Added new Custom Intent value replacer routine to support scanning.
* Added support for Pattern Scan objects within Custom Intents.
* Added support for Patterns setting of 'unrestricted' which allows search activity to look at all applications installed on the device for a match.
* Updated application install logic to grant special permissions to BlueFletch applications after an application install.
* Added externalManualSiteSelect configuration for defining and starting manual site selection.
* Added checking for packageName and activityName for externalManualSiteSelect.
* Updated logic to use externalManualSiteSelect instead of the Site Processor.

### Release 3.19.15 <a href="#release-31915" id="release-31915"></a>

Released May 2023

#### Highlights <a href="#highlights" id="highlights"></a>

New feature for "Implied Groups" inclusion and general fixes.

#### Details <a href="#details" id="details"></a>

* Fixed the progress dialog display to not display information if the Launcher is in the background.
* Changed the Honeywell Platform to not invoke progress status display on all invocations.
* Updated the Auth Manager logout to check if current user is the Admin user. If so, do not invoke the Auth APK logout.
* Added more logging when receiving messages from Honeywell Platform.
* Added logic to track the last action invoked within Honeywell Platform requests.
* Changed logging for Honeywell intents to verbose.
* Fixed the use of the mqttPassword for non-BlueFletch MQTT Brokers.
* Updated Honeywell Platform support to set EMS application permissions.
* Added new auth\_ldap\_connections section in the configuration.
* Added the ability to apply an "implied group" based on a matching regex pattern.
* Updated Key Management receiver to include application context to resolve a potential application exception.
* Updated Key Manager to ensure initialized.
* Updated Key Manager instance constructor to use the application context.

### Release 3.19.10 <a href="#release-31910" id="release-31910"></a>

Released April 2023

#### Highlights <a href="#highlights_1" id="highlights_1"></a>

Various fixes. Added new layout setting configuration, pageWidthOffsetOverride, to allow for overriding the calculated page width.

#### Details <a href="#details_1" id="details_1"></a>

* Fixed a crash in Asset Manager if the configuration file is not present.
* Added additional re-auth logging.
* Added a check for a possible race condition within the re-auth processing.
* Updated the re-auth screen on/off logic to look at the dream start/stop state.
* Updated the EMDK Platform XML to not disable settings on EMDK 11.3.
* Fixed the Action intent logic to build a component name object if the layout action object includes a package name and an activity.
* Added logic to set the Device Token to empty string if unable to delete the token.
* Fixed an issue where Launcher is compressing icons on lower density screen devices.
* Added logic to test the key guard setting to determine if the screen can be unlocked for re-auth.

### Release 3.19.4 <a href="#release-3194" id="release-3194"></a>

Released March 2023

#### Highlights <a href="#highlights_2" id="highlights_2"></a>

Fixed the Luggage Tag password display, fixed the Site Information services for cellular-only devices, and changed the reauthorization flow display of Launcher.

#### Details <a href="#details_2" id="details_2"></a>

* Fixed Notification Manager reset logic to reset some additional flags.
* Added a reset timer method to the Auth Manager to allow the controller to reset auth timers when the screen turns on.
* Updated the reauth logic to start the Auth Verification activity when the screen is turned off.
* Added new flag to control the reauthentication flow during screen on / off. secondaryAuthWhenScreenOff is defaulted to true, therefore the secondary auth will be displayed during screen off, not during screen on. This will keep application task list the same, not bringing launcher to foreground.
* Calculate view after starting auth for screen off re-auth logic.
* Added logic to force the Auth Verify screen to display on screen on.
* Fixed the Luggage tag password display.
* Removed the text color overrides.
* Updated logic such that BlueFletch Browser (and other BlueFletch apps) will be re-granted permission to assets in case they get cleared during logout.
* Updated the EMDK settings enable/disable notification Quick Action tile.
* Fixed the Site Location processing for Cell Only devices if a site is found.
* Updated the Site Info service logic to look for cellular being enabled.

### Release 3.18.16 <a href="#release-31816" id="release-31816"></a>

Released February 2023

#### Highlights <a href="#highlights_3" id="highlights_3"></a>

Updates for Samsung Knox support, and changes to allow overriding the Secure Device alarm sounds.

#### Details <a href="#details_3" id="details_3"></a>

* Changes to support to allow task switching on Samsung devices. Can only be enabled after exiting Launcher or factory resetting.
* Added new Support Agent configuration for LowBattery sound.
* Updated the Unsecured Device feature to allow for custom sounds to be used for entry sound and for count down sound.
* Refactored the Secured Device alarm logic to handle snooze and sounds properly.
* Added new Support Agent FindMe volume fields.
* Added new 'settings' to the Support Agent configurations, so common settings can be added more easily.
* Updated the Secured Device notification message to include a count down of number of seconds until the alarm is sounded.
* Updated Secured Device feature to display the snooze button during the first notification message indicating that login is needed.
* Fixed Secure Device logic to ensure asset override exists.
* Changed the priority on the notification to default so that the Android notification sound is not made.
* Updated the Asset Manager to validate existence of assets.
* Updated Secure Device logic to not update the tray notification, as causes issues on some devices.
* Fixed the icon action image.
* Updated Secured Device logic to loop the override count down effect.

### Release 3.18.10 <a href="#release-31810" id="release-31810"></a>

Released February 2023

#### Highlights <a href="#highlights" id="highlights"></a>

Full implementation of Key Management device token support, added feature to enforce unique logins across an organization's fleet of devices, various fixes and performance improvements.

#### Details <a href="#details" id="details"></a>

* Added the unique login/forced logout feature.
* Updated DevTools theme to match base launcher.
* Added stopVisibleTasks configuration setting for Platform Service 1.3.x.
* Fixed usage of EmsPackageResolver in DevTools to be able to upload auth and messaging logs from Launcher.
* Fixed widget display bug where the last app is bumped to the next page due to one of the apps being set as a quickStartFolder.
* Added UniqueLogin settings section in Launcher configuration.
* Fixed the site logic to skip the location lookup for an existing site, but added logic to continue processing the saving of site meta data.
* Fixed the site database check to properly test for the no sites error condition.
* Fixed UI spacing issues caused by language translations.
* Updated the Key Manager alarm to use RTC\_WAKEUP, to wake the device up during refresh logic.
* Changed the signature checking within key provider to use code instead of being defined in the manifest.
* Fixed a bug to allow redrawing Launcher for Badge Updates.
* Fixed a bug that the last application on a page was placed on the next UI page.
* Updated Launcher API requests to include the Organization Id. This is to allow for validation of requests.
* Removed the API Key usage within file downloader and added Device Token to the request.
* Moved the Device Token setting to be within the resource, in case there is the off chance the device is off network when publishing.
* Updated the messaging to send the Device Id within the request.
* Updated the Launcher key management device token refresh logic to use the expiration value from the original generated key.
* Updated the Key Management flow to run on configuration load.
* Added a flag to setupKeyManagement to only attempt asset downloads on configuration change.

### Release 3.17.38 <a href="#release-31738" id="release-31738"></a>

Released January 20, 2023

#### Highlights <a href="#highlights_1" id="highlights_1"></a>

Additional debug logging and icon fix for Nokia devices.

#### Details <a href="#details_1" id="details_1"></a>

* Added additional logging during workspace drawing, to allow for better researching of draw issues.
* Added changes for icon drawing on Nokia devices.

### Release 3.17.32 <a href="#release-31732" id="release-31732"></a>

Released December 12, 2022

#### Highlights <a href="#highlights_2" id="highlights_2"></a>

Various fixes for DozeMode settings, Widget display, and Platform Service usage.

#### Details <a href="#details_2" id="details_2"></a>

* Updated the Permissions Manager to whitelist Messaging and Remote Control from DozeMode. Also updated to give Voice application System Draw permissions.
* Added logic to track the columns and rows being populated by widgets and applications in order to display correct locations.
* Fixed an issue where Launcher is unable to find the Platform Service when it is installed via EMM.

### Release 3.17.29 <a href="#release-31729" id="release-31729"></a>

Released Decemeber 5, 2022

#### Highlights <a href="#highlights_3" id="highlights_3"></a>

Release of the new widget display logic. Widgets supported include notifications, text, and native.

#### Details <a href="#details_3" id="details_3"></a>

* Added Notification widget (requires notification access).
* Added Text widget support.
* Added Native widget support.
* Updated handling for Notification Badges.
* Added support to include User installed applications in Launcher pages. Requires using configuration includeUserApps, userAppInstallCutoffTime and authorizedAppStores.
* Added ability for user to long press an application in order to delete, if the application is user installed.
* Added Android 12 support.
* Updated the Knox Platform license initialization.
* Deprecated the "messe" wallpaper.
* Updated the Asset Manager to include user-installed certificates during download.
* Fixed an issue where Launcher would crash if a notification's pending intent is empty.
* Upgraded the dependencies and target SDK to 32.
* Added the ability to customize the notification badge color and search app icon.
* Updated logoff flow to ensure Support Tool knows which user is being logged off.
* Added file creation monitor against /sdcard/Download/ems in case Launcher is started before ems folder is created.
* Improved layout support for WT6300 devices.
* Added additional event logging for motion lock enter/exit.
* Improved motion tracking when using GPS for motion lock.
* Fixed an issue with Knox and Honeywell (non Platform Service) where recently launched apps are not cleared.
* Added logic to verify and reprocess Launcher assets when used in a shortcut.
* Fixed issue where Launcher crashes when switching to Debug logging on Android 12 devices.
* Updated various language translations.
* Made additional enhancements to improve memory performance.
* Changed the BadgeListener to use the new NotificationDataManager.
* Fixed crash on Android 12 due to PendingIntent changes.
* Fixed layout issues and inconsistencies with Android 11 and higher-resolution devices.
* Update logic to prevent initializing condition on Knox license activation errors if configuration is not found.
* Fixed layout issues and inconsistencies with Android 11 and above for tablets.
* Fixed workspace to use the standard icon size unless overridden with the iconSize configuration.
* Fixed the Asset Manager to remove a crash condition. It appears that during Launcher startup the internal 'Files' path is not available.
* Fixed the default options for text widgets. Added a check to redraw widgets on options change.
* Added changes for Key Management functionality.
* Enclosed provider query in a try/catch to prevent possible crash if stored data is incorrect.
* Added additional logging around configuration / managed configuration download to assist with troubleshooting.
* Added ability to customize the Notification Badge Color and the Search Icon.
* Added a new file creation monitor to see if the base downloads file exists. Once the file exist, will start the file observer.
* Added verifyIdpOnReauth flag to call back to the IDP during reauthentication.
* Fixed the KNOX Clear Recent Tasks logic to reset the clearing processing flag.
* Added logic to stop the file observer creation monitor if using EMM managed configuration URL.
* Added logic to use trusted certs on download for assets and managed configuration.
* Added an Applog event for MotionLock enter and MotionLock exit.
* Refactored the MotionLock GPS Assist logic to account for empty or repeating location speed values. Added a secondary speed calculation to ensure device is not moving. Added additional logging.
* Fixed an issue to better estimate execution time if custom intents contains a delay intent.
* Added prevent doze (battery optimization) mode settings.
* Updated PermissionsManager to turn off battery optimization for the Support Tool.

### Release 3.16.22 <a href="#release-31622" id="release-31622"></a>

Released October 14, 2022

#### Highlights <a href="#highlights_4" id="highlights_4"></a>

Launcher has been updated to read a new format of QR Code to allow for easier provisioning of devices. Also updated support for additional locales: Italian, Latvian, Romanian, Slovenian, Swedish, and Serbian.

#### Details <a href="#details_4" id="details_4"></a>

* Added logic to read new QR Code data format to apply Launcher configuration file to a device.
* Updated Launcher text translations for IT, LV, RO, SL, SR, and SV.
* Added cradleSyncMode configuration setting.

### Release 3.16.20 <a href="#release-31619-0" id="release-31619-0"></a>

Release October 5, 2022

#### Highlights <a href="#highlights-1" id="highlights-1"></a>

Update to allow for subscriptions to email updates.

### Release 3.16.19 <a href="#release-31619-0" id="release-31619-0"></a>

Release October 4, 2022

#### Highlights <a href="#highlights-1" id="highlights-1"></a>

Updates to Support Application interaction at Launcher startup and during Support Agent installation.

#### Details <a href="#details-2" id="details-2"></a>

* Fixed a check within Secure Notifications to ensure the prefix inclusion/exclusion list has data, and that the data values are not null.
* Added a check for null package name when processing Asset Manager grant logic, in the situation where the application is not installed on the device. Reduces the noise in the device logs.
* Added null config check in device id intent logic for a corner case issue where the current state object does not have the current configuration. Resolves a device boot issue that caused Launcher to throw an exception.
* Updated the post-install logic to invoke the Support Agent permissions, then properly start Support Application.
* Updated the initialize logic to properly start the Support Application.

### Release 3.16.15 <a href="#release-31615-3" id="release-31615-3"></a>

Released September 15, 2022

#### Highlights <a href="#highlights-4" id="highlights-4"></a>

Changes to when Site Location is processed and updates to Asset Manager usage.

#### Details <a href="#details-5" id="details-5"></a>

* Added new custom intent to support prelogin.
* Fixed issue where EMS Packages would lose permissions when clearAppDataOnLogout is true.
* Fixed issue where Lock In Motion is still active even after configuration is turned off.
* Updated the Site Location Manager to look for existing site value in local database, if exists and not a reforce processing condition, will ignore the site change.
* Added a new method to the Site Processor logic to verify if a site is within the internal database.
* Fixed the site update logic to invoked the External Site Info Finder when Site Update intent is received.
* Fixed an issue in controller where the reinstallation of an external site activity is causing Launcher to look for sites in the internal database.
* Added Device Finder key within the configuration.
* Fixed Asset Manager sharing outside of Launcher.
* Added ASSETS as a type of object in the Launcher Provider.
* Updated AssetManager to insert the content URI for each asset into the provider.
* Added return code to wallpaper setting so that even if asset for wallpaper completes much later the wallpaper can get set.
* Updated LauncherProviderHelper to return correct content URI for a requested asset.
* Added BlueFletch Browser as a valid user of assets.
* Made sure that permissions are granted if the apps are installed after Launcher.
* Updated logic to honor the authorizedClients array to allow use of assets.

### Release 3.16.8 <a href="#release-3168-6" id="release-3168-6"></a>

Released August 23, 2022

#### Highlights <a href="#highlights-7" id="highlights-7"></a>

Fixed various bugs regarding Support Agent interface, added new settings support for Device Finder, and added new string translations.

#### Details <a href="#details-8" id="details-8"></a>

* Updated the Support Application interface to remove the dependency on needing Support Application installed.
* Fixed crash during corner case where Device ID message is received prior to Launcher intialization is completed.
* Support for new configuration values settings.alternateSecondaryAuth, emsSupportTool.disablePingFromDevice, and emsSupportTool.disablePingCustomText.
* Updated string resource translations.
* Changed the isLoggedIn state check to use the Session object as the state setting can be updated to other values.
* Updated controller to use Session manager for logged in state check.

### Release 3.16.3 <a href="#release-3163-9" id="release-3163-9"></a>

Released August 5, 2022

#### Highlights <a href="#highlights-10" id="highlights-10"></a>

Added features to mute/un-mute the device and change audio volumes from custom intents or application shortcuts. New feature for 'conditional' custom intent execution based on session information. Also various fixes.

#### Details <a href="#details-11" id="details-11"></a>

* When logged in as the Local Admin on a device, re-enable any packages identified in *disablePackages*.
* Changed the behavior of Quick Start Application folder: if search bar is active, the quick start is hidden.
* Added new Custom Intent support to mute or un-mute the device audio.
* Fixed a bug where the Pin Code verification screen is not displayed during crash recovery.
* Resolved memory leak with alert dialogs not being properly cleaned up.
* Updated logic to request the Device ID after device reboot.
* Added logic to listen for Device ID changes from the new Device ID application.
* Fixed a bug to reset the site ID if site ID and config site ID are not equal.
* Resovled an exception with java.lang.AbstractMethodError crash.
* Fixed GPS motion lock.
* Account for padding on folder icon to prevent cutting off label text.
* Added new Custom Intent for XML Platfrom processing. Zebra devices are the only devices currently supported.
* Fixed a bug where details.deviceRole not being set: if the device role is empty then will use the value from session groups.
* Added new RUN\_XML Action that will allow for Shortcuts to run XML within platforms.
* Added a filter map for conditional Custom Intents based on session attributes.
* Updated Audio Custom Intents and Custom Actions to support setting individual audio streams.
* Updated the Custom Action activity to support audio processing from shortcuts.

### Release 3.15.4 <a href="#release-3154-12" id="release-3154-12"></a>

Released July 11, 2022

#### Highlights <a href="#highlights-13" id="highlights-13"></a>

LauncherProvider security updates, utilize GPS speed for Motion Lock, PDF links, Layout fixes.

#### Details <a href="#details-14" id="details-14"></a>

* Introduced new authorizedClients configuration to limit apps that can access LauncherProvider session.
* Utilized GPS speed to activate motion lock on GPS-enabled devices.
* Added fix for Android 11 Zebra devices to prevent Battery Swap from failing.
* Added ability to create Launcher icons to open PDFs or other local files.
* Fixed issue where an existing sitelist.csv is not picked up on Launcher install.
* Tweaked layout to allow more icons on the screen for most devices.
* Introduced clearRecentIncludeList setting to specify apps to be killed if launched by another app.
* Added fix for Honeywell devices where Recent Tasks becomes disabled on Android 10.
* Added local admin password requirement to change the Launcher Log Level.

### Release 3.14.15 <a href="#release-31415-15" id="release-31415-15"></a>

Released June 21, 2022

#### Highlights <a href="#highlights-16" id="highlights-16"></a>

Site Information logic changes, Launcher setup/exit for Honeywell Android 10 updates, idle timer reset on phone calls, delete files on logout.

#### Details <a href="#details-17" id="details-17"></a>

* Updated configuration to allow either the Launcher search bar or quick start.
* Reset the Launcher idle timer when the phone is in use, even if the screen is off.
* Fixed set default Launcher behavior for Honeywell devices.
* Fixed exit Launcher behavior for Honeywell devices.
* Fixed WiFi enable application shortcut for Android 11 on Zebra devices.
* Made Site Information logic changes; sitelist.csv is now optional if using a custom site finder.
* Fixed issue in some scenarios where Launcher does not pickup configuration changes.
* Added new custom intent to delete files.
* Added ability to disable SMS package when in the open zone.
* Added temporary disable secure device mode when a phone call is received.

### Release 3.14.5 <a href="#release-3145-18" id="release-3145-18"></a>

Released May 11, 2022

#### Highlights <a href="#highlights-19" id="highlights-19"></a>

Introduction of Low Battery kiosk mode and password protection of individual applications or folders. Additional changes for locking down the device features in certain scenarios.

#### Details <a href="#details-20" id="details-20"></a>

* Added package wildcard feature to Secure Notifications. Now individual packages do not need to be specified.
* Updated Launcher to disable Settings on Android 11 using the new System Settings within AccessMgr 11.3.
* Added custom intent support for site change.
* Added the ability to disable notifications pulldown in Open Zone.
* Added a Low Battery kiosk mode, that will put the device into kiosk mode at certain battery level.
* Added the ability to set a password on individual applications or folders.
* Fixed bug to ensure the device keyboard is hidden when login fails.
* Added the ability to 'snooze' the secure device alarm.
* Updated translation files.
* Fixed an issue where clear app data isn't fully clearing app data.
* Updated the Clear Cache logic to invoke *Enable* / *Disable* logic for Android 9, 10, 11 running on Honeywell or Zebra devices.

### Release 3.13.20 <a href="#release-31320-21" id="release-31320-21"></a>

Released April 6, 2022

#### Highlights <a href="#highlights-22" id="highlights-22"></a>

Introduction of the Quick Start applications bar to "pin" frequently used apps for easy access. This replaces the search bar across bottom of Launcher screen, but search can be added to the Quick Start app bar.

#### Details <a href="#details-23" id="details-23"></a>

* Updated application shortcut icon to use URLs.
* Added support for subscribeToIdentityGroups Message Broker flag, to turn on Identity Group MQTT subscriptions.
* Added 'lastWillTopic' to configuration and pass the topic value to the messaging application.
* Updated Launcher for Zebra Android 11 devices to not disable/reenable Android 11 launcher as not needed. Android 11 devices are properly setting home launcher without having to disable other launchers.
* Added BlueFletch Chat configuration settings to launcher provider.
* Fixes for Clear Recents on Honeywell devices to ensure applications are cleared from task lists.
* Added logic to cache the clearablePackages to shared prefs so that they persist on a reboot.
* Updated app manager install receiver to prevent rebuilding the installed app list when an app is disabled/enabled.
* Added logic to debounce onAppChange call to prevent multiple redraws during consecutive package changes.
* Fixed an asset redraw issue.
* Added the Quick Start Apps Bar to launcher, removing the Search box.
* Fixed the clip to padding on the folder icon in the quick start toolbar.
* Added logic to now dismiss folder pop ups when the home button is pressed.
* Internal code clean up within the EmsPackageResolver class.
* Fixed a bug occurring when a logged-in device is rebooted; now sets the proper state flags.
* Updated how communications is accomplished with the Support Application, in order to properly start the application if needed.
* Added logic to store device orientation in the session extended attributes.
* Fixed an issue where the Launcher crashes when put on a display dock and cradleLogoutDelay is set.
* Updated the size of search bar in landscape mode.
* Moved the runtime permission state set to initializeLauncher to make sure it gets called for MDM auto-granted permissions.
* Changed the refreshSiteOnStartup behavior to not clear out previous site, only force the re-determination of site.

### Release 3.13.5 <a href="#release-3135-24" id="release-3135-24"></a>

Released February 11, 2022

#### Highlights <a href="#highlights-25" id="highlights-25"></a>

Introduction of the ability to theme the launcher based on the Site / Location setting of the device.

#### Details <a href="#details-26" id="details-26"></a>

* Fixed an issue with reading WorkForce Connect extensions where extension data is empty.
* Fixed a check for a null logo object which was causing issues.
* Fixed wallpaper setting logic to check for a null value.
* Fixed issue where a system notification contains a invalid bitmap drawable. Will skip the notifications for now.
* Fixed the folder display when the 'Site Change' flag is not in use, as the folder display did not have a theme to use for drawing.
* Introduction of theming by Site / Location.
* When looking at the assets to download, ensure have valid values for the name and URL.
* Updated base launcher configuration to support new TLS MQTT endpoints.
* Changed the SiteInfoService to a regular service, to allow it to keep running in external site info scenarios.
* Added an option for external site finder to send the entire siteInfo directly, instead of relying on sitelist.csv.
* Added configuration setting for device\_lost\_hours that is used by Device Information application.
* Upgrade to target SDK 31 and added the MANAGE\_EXTERNAL\_STORAGE permission as required with Android 11.
* Fixed the asset manager grant URI permissions.
* Added translation in Launcher for the languages: Bulgarian, Croatian, Czech, French, German, Greek, Hungarian, Italian, Polish, Portugese, Slovak, Spanish (Spain).
* Set minimum width on logout confirmation dialog buttons to account for different languages.

### Release 3.12.20 <a href="#release-31220-27" id="release-31220-27"></a>

#### Highlights <a href="#highlights-28" id="highlights-28"></a>

Additional Android 11 support changes around Site list downloads from URL and Assets management. Fixed various exceptions that were thrown in edge cases.

#### Details <a href="#details-29" id="details-29"></a>

* Added ability to download and manage Site CSV list from URL, based on configuration settings.
* Added the ability to send a Launcher configuration from another MDM without having to use manage configurations.
* Added asset management within Launcher which is to allow Launcher to download image/file assets.
* Updated the Support Library to one that closes cursor.
* Updated the logo and wallpaper within theming to reference the downloaded assets.
* Enhancement to allow for supplying a quick start application display on the Pin verification screen.
* Added method to Launcher Provider to allow applications to read from Launcher assets.
* Ensured downloaded assets are readable.
* Moved the old PlatformServicePlatform code to a legacy class. Created a new PlatformServicePlatform to use Platform Service AAR library helper.
* Updated onPowerConnection logic to only display home screen if logged in and cradled.
* Added logging for onTrim Memory issues.
* Ensured internal folders are created before downloading sitelist file.
* Added new config settings keys into Launcher Provider.
* Removed unused legacy platform service classes. Updated to the new platform service library.
* Fixed the Site Info processing of empty columns for GPS location data.
* Added the ability to reference assets for text info.
* Fixed a bug where Force Logout dismiss dialog is displayed multiple times during a session; the 2nd or 3rd display will cause Launcher to crash.
* Added return callbacks for platform ready and clear recent tasks.
* When Launcher activity is destroyed, tell the controller to use a NO OP Listener. The No Op listener will ensure no crashes/null pointer issues. Also will ensure UI is not invoked if activity is gone during Clear Recents.
* Added Logic to Delayed Logout Alert to occur after the activity created via onNewIntent.
* Updated External Storage logic to check for null Path and exit if needed.
* Updated project usage of EMDK to use AAR from Maven.
* Changed Site Service to use ForegroundService.
* Added Logging for the EMDK Init error condition.
* Added System Alert Window permission setting for Auth apk.
* Updated Launcher to look for Demo Config within the on new intent processing.
* Added logic to recover current user Launcher State if a user is logged in and Launcher stops for any reason. Only works after device has been running for at least 5 minutes.
* Updated the controller to update launcher state on Launcher Toggle Orientation Action.
* Within Asset Manager, do not attempt to create the asset directory if it already exists.
* Updated the Custom Field Determinator to use the Asset Manager.
* Updated the Custom Config to use asset files and still be backward compatible to use pathed files on Sdcard.
* Fixed the use of the Content Provider AAR to allow other applications to read the provider on Android 11.
* Updated the Launcher Provider with additional configuration settings, such as epmConfig.

### Release 3.11.10 <a href="#release-31110-30" id="release-31110-30"></a>

Released October 20, 2021

#### Highlights <a href="#highlights-31" id="highlights-31"></a>

Resolved issues with open database cursors and excessive home screen redraws. Implemented new Asset Manager to support Android 11.

#### Details <a href="#details-32" id="details-32"></a>

* Fixed issue where Site Selection dialog is being closed on startup of Launcher.
* Updated the launcher configuration to provide collection of named assets.
* Fixed issue where multiple site services were started.
* Updated the post platform processing logic to allow for processing certain actions after the first Clear Recents invocation.
* Added logic to wait for launcher orientation updates during initialization processing.
* Fixed issue where re-authorization processing was causing UI state to be recalculated and causing unneeded UI draws.
* Fixed issue where database cursors were not being closed within Launcher Provider.
* Fixed the configuration assign logic for Support Tool configuration settings.

### Release 3.11.5 <a href="#release-3115-33" id="release-3115-33"></a>

Released October 6, 2021

#### Highlights <a href="#highlights-34" id="highlights-34"></a>

Fixed a bug where the Max Session timer was getting reset during pin code re-authentication processing. This is to ensure that the Max Session timer is based on the initial user authentication, not re-authentication.

### Release 3.11.4 <a href="#release-3114-35" id="release-3114-35"></a>

Released October 4, 2021

#### Highlights <a href="#highlights-36" id="highlights-36"></a>

Improvements to Lock In Motion, some general bug fixes, including fix to recents button being disabled during launcher start.

#### Details <a href="#details-37" id="details-37"></a>

* Masked the admin password with dots (never show the actual character).
* Fixed the Permissions usage within Launcher for Packages on Android 11.
* Added support for demo configuration, such as logic to display the Demo Alert after 1 hour of login.
* Resolved an issue that after a logout, if the user re-logged in relativly quick, the UI was cleared.
* Added a class to make it cleaner to cancel runnable objects.
* Added an exception handler around invalid JSON received within the sites lookup logic.
* After Platform startup, if the RECENTS button needs disabled, ensure it is disabled.
* Added a prompt to check for ACTIVITY\_RECOGNITION permission.
* Made Lock In Motion interval configurable using lockInMotionInterval.
* Added extra conditions to unlock the device quickly when walking, on foot or still.

### Release 3.10.8 <a href="#release-3108-38" id="release-3108-38"></a>

Released September 8, 2021

#### Highlights <a href="#highlights-39" id="highlights-39"></a>

Improvements and bug fixes.

#### Details <a href="#details-40" id="details-40"></a>

* Fix issue where Launcher crashes on Honeywell devices on startup.
* Fix issue where crash logs are not written to the log file.

### Release 3.10.5 <a href="#release-3105-41" id="release-3105-41"></a>

Released August 30, 2021

#### Highlights <a href="#highlights-42" id="highlights-42"></a>

Samsung Knox Support, Secure Notifications, Motion Lock Enhancements, other improvements and bug fixes

#### Details <a href="#details-43" id="details-43"></a>

* Support for Samsung Devices running Knox 3.x and higher.
* Support for third-party authentication applications to drive the Launcher.
* Allow changing Launcher logging level via the Admin page
* Fixes issue with icons being cut-off inside of Folders
* Translation updates
* Suppress reporting of User ID/Username in the support logs
* Additional support agent logging to track applications opened from the Launcher
* Additional support agent logging to report current configuration version in use
* New custom intents 'motionLockEnter' and 'motionLockExit' to be able to send intents when the device enters/exit motion lock mode
* Revised landscape layout to better support WT6000/WT6300
* New configuration to set Launcher to wait for an IP address when using automatic site location
* Secure Notifications - allow changing color and position of unread badge
* Improve Launcher performance when using Secure Notifications
* Fix issue where Launcher will sometimes get stuck in Logging Out dialog if an error occurred during logout

### Release 3.9.6 <a href="#release-396-44" id="release-396-44"></a>

Released June 24, 2021

#### Highlights <a href="#highlights-45" id="highlights-45"></a>

Site-specific Open Zones, improvements and bug fixes.

#### Details <a href="#details-46" id="details-46"></a>

* Fixes an issue where icons are sometimes duplicated onto a second launcher page when there is not enough room on current screen.
* Fixes an issue where secure device logic is not activated when the user logs out while cradled, or after reboot
* Fixes an issue where the serial number is not pulled correctly when uploading logs from the Launcher
* Bring launcher to foreground if reauth is required to prevent users from bypassing pin/nfc screen
* Add feature to allow defining a different open zone per site if using the Site Info Service
* Reincorporate previous Launcher 2.x feature to disable logout on cradle if configured
* Internal development CI improvements

### Release 3.8.19 <a href="#release-3819-47" id="release-3819-47"></a>

Released June 4, 2021

#### Highlights <a href="#highlights-48" id="highlights-48"></a>

New Luggage Tag Mode and Secure Device Mode features, Site-specific Open Zones and other improvements, bug fixes

#### Details <a href="#details-49" id="details-49"></a>

* Add Secure Device feature to require users to login immediately after undocking the device.
* Add new Luggage Tag Mode feature to lock the device when it wanders off approved networks.
* If using SiteList.csv, have the ability to set a different Open Zone group by site
* Add logic to initiate the Logout sequence to clean up the session if the device is shutdown while logged in
* Add logic to hide the Recents button while performing cleanup or while in locked mode (Zebra devices)
* Add functionality to be able to use an https link to an image to use as the wallpaper
* Fixes issue where sometimes the icons on the screen are not drawn properly and moved to a different page.
* Prevent crash when the EMS support url configuration is invalid
* Better error messages to differentiate between an invalid configuration vs an invalid license

### Release 3.7.7 <a href="#release-377-50" id="release-377-50"></a>

Released April 8, 2021

#### Highlights <a href="#highlights-51" id="highlights-51"></a>

Fixes for Encrypted Launcher Provider data, and support for device id within Custom text fields.

#### Details <a href="#details-52" id="details-52"></a>

* Add a new layout for ongoing notifications in Secure Notifications to be smaller and at the very bottom.
* Added postLogout Intent support.
* Updated Launcher Controller to include Device Id within the Extended Attributes of the configuration. This will allow the device Id (or Serial Number) to be accessible to Custom Text Fields or thru Launcher Prodvide extended config attributes
* Add disable and enable task for Honeywell Launcher in Honeywell platform provisioner xml (EMSD-1286)
* Improve login experience by showing progress indicator at tap of LOGIN button.
* Updated the Secure Provider decryption to decypt Column DATA. Thus if a user looks just for that column Launcher will properly decrypt
* Updated the Controller Login Progress handler as was not closing if code invoked from service object
* Updated the logic to be cleaner within the Custom Intent invocation. Added new Platform Action to invoke Login

### Release 3.7.0 <a href="#release-370-53" id="release-370-53"></a>

Released March 25, 2021

#### Highlights <a href="#highlights-54" id="highlights-54"></a>

Session encryption within the launcher. Additional settings for changing Folder background colors.

#### Details <a href="#details-55" id="details-55"></a>

* Re-organized the Launcher Provider logic. Encrypting the CONFIG and SESSION data into the database.
* Fixed configuration update logic to allow applying a new configuration if the license is expired.
* Remove license validation during managed configuration processing
* Save siteId to session.location
* Add sleep device as a config feature.
* Add onclick to reauthenticate view's cancel button to call sleep device function
* Only use default site id if useSiteInfoService is false
* Adding back WFC Voice extension/tracking
* Expose broadcast intent to reset wallpaper to config theme
* Allow for custom folder background color
* Create addExtendedAttribute method to Config Manager.
* Update customField to allow use of session/config variables in the format.
* Add disableRecents setting

### Release 3.6.2 <a href="#release-362-56" id="release-362-56"></a>

Released February 9, 2021

#### Highlights <a href="#highlights-57" id="highlights-57"></a>

* Enhancement to force a logout from the Auth PIN screen (Auth 3.6.+)
* Enhancement to be able to clear an application's cache data via Custom Intent events
* Enhancement to allow setting of special permissions (Zebra MX10+ devices)
* Add configuration option to prevent selected apps from getting killed during logout/cradle for Honeywell devices.
* Add ability to lock the screen if the device is detected to be in a moving vehicle.
* Fix an issue where the logo gets corrupted when placed on a display docking station.
* Fixes an issue where Launch URL was conflicting with Bringg application
* Fixes issue where the icons sometimes take a long time to display after a reboot.

### Release 3.4.10 <a href="#release-3410-58" id="release-3410-58"></a>

Released December 18, 2020

#### Highlights <a href="#highlights-59" id="highlights-59"></a>

* Fix startup crash if NFC is disabled on device or not present.

### Release 3.4.8 <a href="#release-348-60" id="release-348-60"></a>

Released December 15, 2020

#### Highlights <a href="#highlights-61" id="highlights-61"></a>

* Fix issue where delayed logout dialog doesn't show if the Launcher is not in focus when cradled.
* Fix issue Launcher will stop on initial sideload when asking for system permissions.

### Release 3.4.4 <a href="#release-344-62" id="release-344-62"></a>

Released November 25, 2020

#### Highlights <a href="#highlights-63" id="highlights-63"></a>

* Enable file system support for Android 10 devices (will be removed with Android 11 support)
* Add ability to Clear Application data for opened applications on Zebra devices
* Addition of include/exclude list for clearing application data
* New support for replacing session and config placeholders in shortcut URLs
* New support for uploading Launcher log files from the Launcher or from Support Agent
* Keep Settings package enabled on Honeywell devices to prevent boot loop
* Disable ability to navigate to Full Settings from Power Settings or Volume Settings on Honeywell
* Re-enable settings on Honeywell devices when exiting the Launcher
* Fix issue with Honeywell devices where orientation does not reset to portrait after removing from display dock
* Fix issue Launcher goes to landsdcape mode on newer Honeywell/Zebra devices due to incorrect DPI settings

### Release 3.3.33 <a href="#release-3333-64" id="release-3333-64"></a>

Released October 15, 2020

#### Highlights <a href="#highlights-65" id="highlights-65"></a>

* New feature to support merging of Folder contents based on the label
* Fix issue with Honeywell devices where orientation does not reset to portrait after removing from display dock

### Release 3.3.28 <a href="#release-3328-66" id="release-3328-66"></a>

Released October 2, 2020

#### Highlights <a href="#highlights-67" id="highlights-67"></a>

* New configuration option to clear application data for opened apps on Logout (Honeywell only)
* New configuration option to re-calculate site on reboot (if Site Service is enabled)
* Fix issue where Search Page would crash if pattern is incorrect

### Release 3.3.25 <a href="#release-3325-68" id="release-3325-68"></a>

Released October 1, 2020

#### Highlights <a href="#highlights-69" id="highlights-69"></a>

* Change to use Provisioning Whitelist instead of Unrestricted Intents for Honeywell devices
* Added feature to clear recent tasks on Honeywell devices based on opened applications
* Prevent Honeywell provisioner Status UI from being displayed when Launcher is changing settings state
* Additional logic to detect workstation docks and switch to landscape if a large screen is detected.
* Fully disable Launcher foreground service on Launcher exit

### Release 3.3.20 <a href="#release-3320-70" id="release-3320-70"></a>

Released September 17, 2020

#### Highlights <a href="#highlights-71" id="highlights-71"></a>

Changes to how the scan data is sent to other applications. Update Manual Site Page to show all available sites by default.

### Release 3.3.18 <a href="#release-3318-72" id="release-3318-72"></a>

Released September 17, 2020

#### Highlights <a href="#highlights-73" id="highlights-73"></a>

On Site / Location changes ensure MQTT Messaging is subscribe to new location. Wallpaper memory improvements.

#### Details <a href="#details-74" id="details-74"></a>

* Update the Access Scanner EMDK settings
* Fixes for honeywell set launcher default and site change option
* Fix to use different paths for provisioning files so launcher can disable other launchers
* New config "disallowSiteChange", if set to true will prevent user from changing the site.
* MQTT Messaging changes for Site Changes
* Fixes for low memory devices and file watch issue
* Add foreground service in application to promote the Launcher above the kill list
* Change WallpaperSetting to object
* Create separate WallpaperIntentService to handle wallpaper settings
* Add theme helper method to compare the theme configurations
* Add onFileModified callback in the MOVED\_TO observer -- this is for SOTI and probably Airwatch after they copy the file down, they do a move.
* Also enable settings in EMDK, to re-enable settings on older device upgrades
* Do not unregister the Site Info Change Receiver
* Added missing permission
* Monitor the BlueLauncher directory for site list csv
* Make the Site Info Receiver setup a public method. Not sure if correct, but is NEEDED
* Handle the SITE Change outside of Logout processing. Make it unique, assuming user can not change site during logged in state
* On Resume force workspace render

### Release 3.3.13 <a href="#release-3313-75" id="release-3313-75"></a>

Released September 8, 2020

#### Highlights <a href="#highlights-76" id="highlights-76"></a>

General fixes and various changes for Android 10 support. Ability to submit Launcher Logs via Dev UI.

#### Details <a href="#details-77" id="details-77"></a>

* Fix issue where packages defined with separate activities in layouts are incorrectly marked as duplicates so only one icon is showing.
* Look for OnResume in order to handle Scan Event
* Replace Build.SERIAL & Build.getSerial calls with SupportLibrary.getDeviceId()
* Fix issue where apps that use a similar intent to Launcher for scanning gets started while Launcher is in the background.
* Added a Submit Logs button to the Dev UI. Fixed Reload Configurations
* Change logout dialog to use DialogFragment so it persists on device rotation
* Update to Calligraphy 3 due to crashing on Android 10

### Release 3.3.7 <a href="#release-337-78" id="release-337-78"></a>

Released September 1, 2020

#### Highlights <a href="#highlights-79" id="highlights-79"></a>

Cradle Logout options, UI improvments, optional reauthentication delay, stability and security fixes/improvements.

#### Details <a href="#details-80" id="details-80"></a>

* New delay option before user is required to re-enter their pin after the screen turns off
* New option to logout a user if a pin is not created after authentication.
* New option to allow user to keep session when docking a device
* New layout settings to support app icon label boldface type and font size
* Allow setting of the screen timeout/sleep from the Launcher (Zebra)
* Admin password security improvements
* Allow use of wallpaper image as-is without duoTone tint.
* Other UI improvements to support dark and light theme modes.
* Memory optimization when wallpaper blur is not required.
* Fix issue for clearing recent tasks on Zebra devices
* Fix issue where an error occurs when a user cancels out creating a pin for certain auth scenarios.
* Fix to correctly calculate top/bottom margins when switching from dark/light theme
* Fix issue where wallpaper is not set when the duoTone colors are blank
* Fix issue where Launcher crashes when a URL is launched and Chrome is disabled

### Release 3.2.14 <a href="#release-3214-81" id="release-3214-81"></a>

Released August 21, 2020

#### Highlights <a href="#highlights-82" id="highlights-82"></a>

Secure Notifications (beta), Group Inclusion support, Device Orientation by Device, Managed Google Play availability, fixes and stability improvements.

#### Details <a href="#details-83" id="details-83"></a>

* Secure Notifications (beta) is now available (requires Notification Access).
* Group inclusion functionality is now supported with layouts.
* Performs deduplication of apps when a user belongs to multiple identity groups
* Allow configuration of the device orientation based on the device model
* Support for multiple URLs for device load-balancing and/or failover for connecting to a cluster of brokers without a load balancer (requires Messaging 3.x)
* Upgraded logging framework to be able to remotely pull EMS app logs from the device
* Additional enhancements for Managed Google Play compatibilty
* Support for custom/external site location logic
* Fixes an issue where session object can be empty during initialization
* Improvements to ensure Launcher is able to start Support Agent and Messaging background services during application updates
* Fix issue where the Launcher progress bar doesn't dismiss
* Fix orientation issues with older TC700H devices (running Android 5.1)
* Fix issue where the search bar overlaps with the bottom row icons in the Open Zone.

### Release 3.0.29 <a href="#release-3029-84" id="release-3029-84"></a>

Released July 8, 2020

#### Highlights <a href="#highlights-85" id="highlights-85"></a>

Improvements to Launcher UI.

#### Details <a href="#details-86" id="details-86"></a>

* Fix issue where the home screen 'blinks' frequently when the Launcher was given notification access.
* Improve logic in Launcher to draw more efficiently.

### Release 3.0.28 <a href="#release-3028-87" id="release-3028-87"></a>

Released July 2, 2020

#### Highlights <a href="#highlights-88" id="highlights-88"></a>

Updates to Alert Dialogs, removed License Valid toast, and allowed more room if Location Services not utilized.

#### Details <a href="#details-89" id="details-89"></a>

* Display only one dialog for Config error, license error or site error
* If Formatted Text is not being used, then remove (gone) the Location Field
* If the Screen is being turned on, calculate view state
* Some null pointer checks, check for height prior to drawing application
* Render performance tweaks
* Fix display of site info

### Release 3.0.25 <a href="#release-3025-90" id="release-3025-90"></a>

Released June 24, 2020

#### Highlights <a href="#highlights-91" id="highlights-91"></a>

Complete UI refresh, allowing changes to Wallpaper and Lock screen, with support for Light and Dark mode displays.

#### Details <a href="#details-92" id="details-92"></a>

* UI theme settings, including dark/light mode, and wallpaper settings
* Developer UI Security changes
* Playstore Manage configuration support
* Allow for custom intents to include Session values
* Add ability for external applications to initiate login, re-auth, or logout
* Android X migration and stability enhancements
* Allow for controlling NFC Enable / Disable during login or application start (Zebra only)
* Allow for enabling WIFI Settings UI during application start (Zebra only)
* Support for Displaying System Actions on Home Screen
* Allow for session data to be included as Extras to application launches

### Release 2.13.11 <a href="#release-21311-93" id="release-21311-93"></a>

Released June 2, 2020

#### Highlights <a href="#highlights-94" id="highlights-94"></a>

Can now use Chrome Custom Tabs to launch shortcuts. Ability to launch apps in single app kiosk mode. Custom Fields feature to display file contents in UI.

#### Details <a href="#details-95" id="details-95"></a>

* Default BF Keyboard settings values
* Enhancements to add support for signed platform service
* Updated Layout definition to have a KIOSK flag (true/false). Updated the Application Start Event to have a startKioskMode
* Implement single-app kiosk feature, passcode required on exit
* Moved window inset calculation to its own method
* Move some strings to resource file
* Add the keyPreview setting
* Fix for incorrect logic in ip range site location
* Adding useSecondaryAuth default value for generic re-auth
* Initial checkin of Custom Field work
* Using Custom Chrome tab to launch shortcuts. Also have ability to use another browser
* Added UI display of a custom field.
* Added check for potential null config entry or no custom field in view.
* Move config pull into the Config Change event to prevent null pointer configs.
* Fix the bottom toolbar offset based on soft navigation
* During application search, recurse through folder contents
* Added Package Name to broadcasts
* Fixed Decode when there is an INVALID license

### Release 2.12.1 <a href="#release-2121-96" id="release-2121-96"></a>

Released January 28, 2020

#### Highlights <a href="#highlights-97" id="highlights-97"></a>

Added platform update for OEM Platform Service (now supports Nokia Devices)

#### Details <a href="#details-98" id="details-98"></a>

* Implement status bar lockdown via platform service
* Implement set default launcher via platform service
* Implement clear app cache, data and recents via platform service

### Release 2.11.1 <a href="#release-2111-99" id="release-2111-99"></a>

Released January 22, 2020

#### Highlights <a href="#highlights-100" id="highlights-100"></a>

Updated the Device Serial number logic. Platform updates for Honeywell devices. Added ability to scan QR code to load Launcher Configurations. EC30 layout support.

#### Details <a href="#details-101" id="details-101"></a>

* Removed configuration *enableOptiko*. now support application support always on
* New 'legacy' honeywell platform and enhanced way of checking for default launcher
* Make list of launchers to disable configurable, if needed.
* Update Device Serial Number usage
* Tweaks to EC30 Layout + support for Voice on EC30
* Remove search from EC30 view for now.
* Support config settings for keyboard
* Enhancements for sitelist to monitor folder for file changes.
* Cleanup on check for downloads on ems folder
* Basic changes for qr code reading
* Updated logic to set data into UI adapter
* Accepts a Scanned QR Code to load configuration for Launcher
* Fixed issue where Download/ems/launcher.json was not checked on initial load
* Added conformation flow to the launcher configuration qr scan. removes download file, if exists
* Implement enable and disable package on honeywell platform.
* Support backward compatibility with legacy builds for honeywell

### Release 2.9.2 <a href="#release-292-102" id="release-292-102"></a>

Released December 5, 2019

#### Highlights <a href="#highlights-103" id="highlights-103"></a>

Update Developer UI to reduce confusion of current logged in user versus Admin User. Changes to the setting of Default Launchers.

#### Details <a href="#details-104" id="details-104"></a>

* Set BF Launcher as the default after the user exits and reopens it
* Updated launcher icons
* Updated the Developer tools to message user about logging out first
* If error during login attempt, then Clear Recent Tasks
* Disable the Android Launchers when making BF Launcher the default launcher

### Release 2.8.1 <a href="#release-281-105" id="release-281-105"></a>

Released November 5, 2019

#### Highlights <a href="#highlights-106" id="highlights-106"></a>

Various fixes to support latest Zebra BSP.

#### Details <a href="#details-107" id="details-107"></a>

* Fix for AppLog to send the actually Location value, not the string 'LOCATION'
* Fixed the Power Connect receiver, now registered within the Main Activity
* Re-added the BOOT Complete Receiver
* Moved Clear Provider and Clear Session to APPLICATION level
* Fixed application startup issue. When clearing provider, config has not been fully loaded at the time, so needed a null check
* Allow for Disabling Packages at startup
* Updated the Launcher Banner image to the new bluefletch logo
* Removed ‘s from tool’s, now is tools
* Moved Power Session logic into launcher. Fixes logout of session when device is cradled.
* Moved session “retain” logic into power session

### Release 2.7.7 <a href="#release-277-108" id="release-277-108"></a>

Released October 8, 2019

#### Highlights <a href="#highlights-109" id="highlights-109"></a>

Common Configuration uploader, to allow for easier remote debugging. Support for ADFS Auth.

Launcher will look for configuration changes in /sdcard/Downloads/ems folder.

#### Details <a href="#details-110" id="details-110"></a>

* Changed default production Org ID to the new support org id
* If the Configuration file is not on the device, it will display an alert
* If debug build, ignore license and config check
* Made Alert dialog dis-misable via config change
* New feature: config upload
* Will get config, launcher version and expiration date
* Add permission READ\_PHONE\_STATE to get the device serial number on O devices
* Send data to eventAPI configuration endpoint
* Upgrade Retrofit to 2.x, OkHttp to 3.x
* Put in a workaround for a known defect in Android 6.0 M where FileObserver doesn't trigger CREATE event if folder is empty.
* Add feature to defer posting of config until a valid network connection exists.
* "No Config" Dialog can not be dismissed
* Updated the Config Missing message
* Moved unregister to calling function for readability
* Updated base configuration for new auth for ADFS 3.0
* Updated ConfigManager to check /sdcard/Download/ems folder for newer files
* Fixed missing function error
* Add separate recursive file observer for /sdcard/Downloads/ems folder. Existing fileObserverAction can take care of the processing
* Fixed errors being reported by IDE due to Timber usage
* Additional logic in fileObserver to differentiate between ems/launcher.json and blueLauncher/launcher.json
* Added debounce logic to notifyConfigChange method to prevent multiple calls when launcher.json is being updated (within a second)
* When Support tool is updated, logic will restart/re-init the connection with the tool
* Logic to catch Platform startup issue
* Added disable logic to the setting default launcher
* Added the disable off launcher 3 because the set default launcher profile will not always be run
* Changed the Clear Recent to only occur on Log off

### Release 2.6.4 <a href="#release-264-111" id="release-264-111"></a>

Released September 16, 2019

#### Highlights <a href="#highlights-112" id="highlights-112"></a>

Support for new Site location CSV. This allows for detection of the SITE / Location based on where the DEVICE is, not based on who is logged in.

Various fixes.

#### Details <a href="#details-113" id="details-113"></a>

* New SiteLocationService module: corresponding services for Loading Site Information. Merged loader and fetch services into single service Load the data on first request for location Store load file checksum in shared preferences to skip loading step if already processed. Cache location in shared prefs to load at next startup (except if using default config). Use config default siteId and siteName if no file is found
* Send location to support agent once location is known
* Moved setTheme to post config change
* Revert old behavior for setting location if useSiteInfoService = false
* Moved sitelist.csv location from /sdcard/Downloads to app folder
* Set base configuration useSiteInfoService to false
* Added logic to look for the show Badges on the Channel
* Updated Notification manager to NOT subscribe to topics if ORG not set but needed. Fixed subscribing for GROUPS array

### Release 2.5.16 <a href="#release-2516-114" id="release-2516-114"></a>

Released September 4, 2019

#### Highlights <a href="#highlights-115" id="highlights-115"></a>

Various fixes, removed logged in user id from the Notifications Topics

#### Details <a href="#details-116" id="details-116"></a>

* Fix for occasional crash due to NPE with messaging service \_connected variable.
* License logic now displays an Alert on Failed expiration
* Removed UserId from Topics Updated the Alert Message.
* Sending Event records about License Check
* Updated the Claims to match the new format updated license message
* If ADMIN logged in and using Layouts, if the Admin group exists within layouts, use that, otherwise default to displaying all
* Fixed scroll bar that displays on home screen.
* Fixed crash on ec30 because the height / width were not defined for hidden items
* Resolve Layouts issue where Folder contents rendered on incorrect view. Issue was getting the Folder View objects from the correct layout. Only affects when having 3 or more pages of icons




---

[Next Page](https://docs.bluefletch.com/bluefletch-enterprise/llms-full.txt/1)

