How to use the react-native-im-easemob.IMConstant function in react-native-im-easemob

To help you get started, we’ve selected a few react-native-im-easemob examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gaoxiaosong / react-native-im / plugin / easemob / index.ts View on Github external
export function setup() {
    setup_parse_action();
    setup_display_action();
    setup_abstract_action();
    setup_moreboard_action();
    setup_send_action();
    setup_im_conversation_delegate();
    setup_im_group_delegate();
    // 代理设置
    Delegate.config.messageType.text = EMSDK.IMConstant.MessageType.text;
    Delegate.config.messageType.voice = EMSDK.IMConstant.MessageType.voice;
    Delegate.config.messageType.system = EMSDK.IMConstant.MessageType.command;
}
github gaoxiaosong / react-native-im / plugin / easemob / index.ts View on Github external
export function setup() {
    setup_parse_action();
    setup_display_action();
    setup_abstract_action();
    setup_moreboard_action();
    setup_send_action();
    setup_im_conversation_delegate();
    setup_im_group_delegate();
    // 代理设置
    Delegate.config.messageType.text = EMSDK.IMConstant.MessageType.text;
    Delegate.config.messageType.voice = EMSDK.IMConstant.MessageType.voice;
    Delegate.config.messageType.system = EMSDK.IMConstant.MessageType.command;
}