Skip to content

chat-sdk: include consumer proguard rules#101

Open
teobaranga wants to merge 1 commit intoamazon-connect:mainfrom
teobaranga:consumer-proguard
Open

chat-sdk: include consumer proguard rules#101
teobaranga wants to merge 1 commit intoamazon-connect:mainfrom
teobaranga:consumer-proguard

Conversation

@teobaranga
Copy link

Description:

Include consumer Proguard rules so that applications can build with R8 and minification enabled without the risk of trimming used classes. Includes two Retrofit interfaces that are accessed by reflection.


Functional backward compatibility:

Does this change introduce backwards incompatible changes? No

Does this change introduce any new dependency? No


Testing:

Is the code unit tested? N/A

Have you tested the changes with a sample UI (e.g. Android Mobile Chat Example)?

Tested a local publication of the chat SDK integrated into a release build of the Trainline app. The Travel Assistant feature uses it.

List manual testing steps:

  • All scenarios below except for the attachment ones successfully tested.

Here are a list of manual test cases to run through:

  • Initiating chat and connecting with an agent
  • Retrieving transcript
  • Disconnecting from chat
  • Sending a message to the agent
    • See typing bubbles on agent side
    • See read/delivered receipt on client side
    • Receiving a message from the agent
    • See typing bubbles on client side
    • See read/delivered receipt on agent side
    • Sending an attachment to the agent (try .txt, .pdf, .jpg)
    • Preview the attachment on click
    • Receiving an attachment from the agent
    • Preview the attachment on click
  • Close the application (Without ending chat) → open app again → Start chat → Should Retrieve transcript from a previous chat session
  • Quick Connect transfer failed should show the transfer failed event in the transcript

@teobaranga teobaranga requested a review from a team as a code owner March 3, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant