Technical Guide
Configurations
settings
Include in the settings object in the Launcher Configuration file:
useSiteInfoService
boolean Set to true
.
defaultLocation
string Set a placeholder string. This will display if a site location is not found automatically, allowing the user to manually override and select a site.
emsSupportTool
Include in the emsSupportTool object in the Launcher Configuration file:
orgId
bfChat
Include in the bfChat object in the Launcher Configuration file:
apiKey
autoPlayAudio
boolean If true
, audio recordings will automatically play when received and will be stored for playback in the Chat conversation. If false
, audio recordings will only be available through playback in the Chat conversation.
allowAttachments
boolean If true
, sending attachments in Chat is enabled. If false
, the attachment button will be disabled in Chat, preventing the user from sending attachments.
callTimeout
integer The number of seconds a voice/video call will be allowed to ring before the call is ended. Default is 20.
notificationSoundIndividual
string Used this to override the default notification sound for chat messages received by individuals. Either a file reference or Launcher asset. Introduced in Chat release 2.0.17.
notificationSoundGroup
string Used this to override the default notification sound for chat messages received by groups. Either a file reference or Launcher asset. Introduced in Chat release 2.0.17.
voiceMessageLimitInSeconds
integer Used to set the recording length for voice messages. Default is 30 seconds. Introduced in Chat release 2.2.7.
disablePttUsageInBackground
boolean When set to true, Chat will start recording audio in response to PTT button press while user is in the Chat application. Default is false. Introduced in Chat release 2.2.7.
logLevel
string The logging level for the Chat application. Default is 'info'. Introduced in Chat release 2.2.7.
dataHost
string Host URL for getting the user contacts for a site.
chatHost
string Host URL for the Messaging service that is used to publish messages to chat recipients.
fileHost
string Host URL for File Upload (such as images, voice recordings) to Google Cloud.
login
Include in the login array within intents object in the Launcher Configuration file:
action
string Set to "com.bluefletch.chat.ACTION_LOGIN"
.
package
string Set to "com.bluefletch.chat"
.
flags
integer Set to 1
.
typeIntent
string Set to "a"
.
logout
Include in the logout array within intents object in the Launcher Configuration file:
action
string Set to "com.bluefletch.chat.ACTION_LOGOUT"
.
package
string Set to "com.bluefletch.chat"
.
flags
integer Set to 1
.
typeIntent
string Set to "a"
.
Example Configuration
Last updated