Aurora Imui Versions Save

General IM UI components. Android/iOS/RectNative ready. 通用 IM 聊天 UI 组件,已经同时支持 Android/iOS/RN。

0.7.0-rn

6 years ago

Change Log

  • fix #241
  • fix #245
  • fix #218

0.6.9

6 years ago

Change Log

  • fix #226

0.6.7-rn

6 years ago

Change Log:

react-native-iOS: 添加权限提醒,在没有录音、相册、相机权限的时候,ChatInput 会显示权限提醒,指引用户前往设置页面添加权限。

0.6.6

6 years ago

Change Log

  • fix #207
  • fix #131

0.6.0-rn

6 years ago

Change Log

  • fix #197

其他改动: 简化 JS 代码,将 AndroidPtrLayout 与 MessageList 结合(原来 AndroidPtrLayout 的属性和方法移动到 MessageList),所有输入界面高度全部由 onSizeChange 控制。参考 ReactNative/sample/app 获得详细用法。

0.6.5

6 years ago

Change Log

  • fix #192
  • fix MessageList custom type bug

Android MessageList

Now message type should return Integer, if you upgrade MessageList to v0.5.7, you should modify getType. More detail please refer to docs or sample.

0.5.14-rn

6 years ago

Change Log:

add auto-size feature for inputText. refer to onSizeChange .

iOS

This version does not automatically set the default avatar. if you need set default image ,If you need to deal with the default avatar, you need to pass the native avatar path to User.avatarPath.

New Property

  • messageListBackgroundColor type: string usage:
// Android
<AndroidPtrLayout
    messageListBackgroundColor={"#ffffff"}
/>

// iOS
<MessageList
    messageListBackgroundColor={"ffffff"}
/>
  • chatInputBackgroupColor type: string usage:
// Android & iOS
<ChatInput
    chatInputBackgroupColor={"ffffff"}
/>
  • maxBubbleSize type: number. Value should be zero to one. 1 means take the phone's width usage:
<MessageList
    maxBubbleSize={0.7}
/>

0.6.4

6 years ago

Change Log

  • fix #181
  • fix #140
  • fix #183

简化 demo 键盘,菜单控制代码,详情查看 demo。

0.6.1

6 years ago

Change Log

  • fix #157

Android

Support many kinds of custom message without limit. Please refer to Custom Layout for more detail.

Android

支持多种自定义消息。用法参考文档

0.5.10-rn

6 years ago

Change log:

Add:
  • Add custom message in react native. 👉 Data format
  • Add extras in message, you can add key-value in message, It's useful when you have many custom message.
新增:
  • 新增自定义消息,自定义消息可以渲染一个 html 页面。注意应避免添加 <script> 标签。 👉数据格式
  • 消息新增 extras 字段,可以把附加字段用这个字段来储存,如果有多条自定义消息这个字段可以用于区分每种消息。