Hello,
I am trying to use the zendesk messaging android sdk into my client's app. They are using Ultimate AI as AI Agent. On Ultimate we have some intents that work properly on web (like authentication and also querying some user data from our backend using some metadata send through the chat) and I have to implement that on Android as well.
So far I was not able to pass that metadata to the chat so that the agent picks it up and do the magic with it. I am using the following:
val fields = mapOf( "jwt" to "aToken", "externalId" to user.uuid, "uuid" to user.uuid, "openIDToken" to “token..”, “some_custom_key” to a value for it") Zendesk.instance.messaging.setConversationFields(fields)
I've tryed that before authenticating the user in Zendesk and even in the success callback but it appears that the Ultimate agent doesn't know how to pick it up…
Is there something I am missing or is this even possible using the Android Zendesk SDK? I am using zendeskMessaging = "2.26.1"
Thank you!
I've solved the issue and posted the solution in here https://support.zendesk.com/hc/en-us/requests/13198373