Rongyun Instant Messaging SDK Integration-Custom UI (2)-Add a custom emoji library

Rongyun Instant Messaging SDK Integration-Custom UI (2)-Add a custom emoji library

background:

Recently, the company’s new app needs to add instant messaging function. It is of course impossible to quickly implement one by yourself (the project deadline can’t stand it). Just choose from various mature SDK vendors, each has its own Each is good, but each has its own shortcomings. In the end, I selected the Rongyun family's SDK (the boss has the final say hhhh).
His official website and document address:
official website:https://www.rongcloud.cn/
Document:https://docs.rongcloud.cn/v4
Of course, this task still falls on my head. I am using their SDK with UI, (their family has two SDKs with and without UI, no The sdk with UI has only instant messaging capabilities. All UI needs to be implemented by the developer. The sdk with UI encapsulates some basic interfaces, such as the conversation list, and the conversation interface for chatting with others.) Of course, these have integrated the UI. The SDK does not fully meet the needs of a product, so this article will tell you how to add a set of custom emoticons.

The effect is as follows:
img

Although it’s a bit ugly here, haha, but it’s just to show you how to do it, just don’t care that much. You can see that in addition to the default emoji emoji package, there is also a tab. I made a set from QQ emojis. Just add it here. A cute little pig

Guess you like

Origin blog.51cto.com/15024061/2561889