Technical Guide

Configurations for the Host Device

settings

Include in the settings object in the Launcher Configuration file:

Field
Value

maxSessionTimeInMinutes

integer How long the user has to successfully scan the QR code before the host device signs out. Helps prevent user from walking away and leaving their QR code up.

emsSupportTool

Include in the emsSupportTool object in the Launcher Configuration file:

Field
Value

orgId

string Set to the company's organization ID, as displayed on the BlueFletch Portal Admin - Organization page here.

browser

Certain browser settings are necessary for a proper signin flow:

Field
Value

exitBrowserOnIntentCall

boolean Set to true so that once authentication is complete, the browser will exit and send the user to the QR Code activity.

login

Include in the login array within intents object in the Launcher Configuration file:

Field
Value

typeIntent

string Set to "d"

data

integer Set to 2000 for a 2 second delay before launching the QR Activity

Field
Value

class

string Set to "com.bluefletch.ems.baseauth.wearable.HostActivity"

package

string Set to the currently installed auth package, usually "com.bluefletch.ems.auth"

flags

integer 1

typeIntent

string set to "a"

postLogout

Include in the postLogout array within intents object in the Launcher Configuration file:

Field
Value

action

string Set to "com.bluefletch.ems.browser.CLEAR_COOKIES".

package

string Set to the installed browser package, usually "com.bluefletch.ems.emm.browser".

typeIntent

string Set to "b".

Field
Value

action

string Set to "CLEAR_STORAGE".

package

string Set to the installed browser package, usually "com.bluefletch.ems.emm.browser".

typeIntent

string Set to "p".

Extended Attributes

Within the extendedAttributes block, include the following:

Field
Value

apiUrl

string the appropriate apiUrl for your environment, usually "https://ems-services-api.bluefletch.comarrow-up-right"

apiKey

string The appropriate api key for the organization.

wearableHostUseSync

boolean Set to true

wearableHostLogoutOnSuccess

boolean Set to true

tenant_id

string the tenant id for Workcloud Sync. This will come from the Sync Portal.

tenant_url

string the tenant url for Workcloud Sync. This will come from the Sync Portal

Example Configuration

Last updated