Info:
This is documentation for Stream Chat Android SDK v5, which is no longer actively maintained. For up-to-date documentation, see the latest version (v7).

Debug

The SDK includes a tool to debug requests and help the user to understand how and when the backend is being requested.

ApiRequestsAnalyser

The ApiRequestsAnalyser can be called at any time to print out all the requests that were made with their information.

Enable it using:

ChatClient.Builder(apiKey, context)
    .debugRequests(true)
    .build()

Then you can request the information for the requests used ApiRequestsAnalyser.dumpRequestByName or ApiRequestsAnalyser.dumpAll.

To clear the information of the analyser to focus on some information, it is possible to clear the data using ApiRequestsAnalyser.clearRequestContaining or ApiRequestsAnalyse.clearAll.

Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat Android v5: <Your Question>