How to troubleshoot if you can't retrieve the conversation list?

The SDK opens its database after confirming your identity during connect().

Make sure to call the conversation list API only after the connect() callback returns. Otherwise, the db isn’t open, and you won’t get the conversation list data.

The SDK also supports offline login. If you’ve logged in successfully before, you can still retrieve the conversation list data even if the next connect() triggers an onError callback—as long as it’s the same user ID and you call it after the callback.