I’m trying to inject custom styling into our Genesys Cloud Web Messaging widget using the deployment JSON configuration. The goal is to move the launcher button to the top-left corner and apply a specific hex color scheme that matches our brand guidelines.
I’ve been tweaking the deployment object in the JSON payload sent to the SDK initialization. Here’s the relevant snippet I’m working with:
{
"deployment": {
"id": "my-deployment-id",
"launcher": {
"position": "top-left",
"style": {
"backgroundColor": "#FF5733",
"iconColor": "#FFFFFF"
}
},
"theme": {
"primaryColor": "#FF5733",
"secondaryColor": "#C70039"
}
}
}
The problem is that the launcher.position property seems to be ignored on Android. The button always defaults to bottom-right. I’ve checked the genesys-cloud-web-messaging-sdk documentation, but it’s pretty sparse on supported CSS-like properties for the launcher element.
Is there a specific method or config key I’m missing to override the default position? Or is the Android SDK limited to only a subset of the web configuration options? I’m using Kotlin to parse this JSON and pass it to WebMessagingSDK.initialize().
val config = WebMessagingConfig.fromJson(jsonString)
WebMessagingSDK.initialize(context, config)
Nothing in the logs indicates a parsing error, so the JSON structure is valid. Just wondering if anyone has successfully moved the launcher off the bottom-right corner.