Skip to content

Releases: jpush/aurora-imui

Fix Bug

19 Jan 04:10
f724952
Compare
Choose a tag to compare

Change Log

Android Fix Bug

11 Jan 09:02
f724952
Compare
Choose a tag to compare

Change Log

RN v0.6.7 iOS 添加权限提示

07 Jan 06:39
Compare
Choose a tag to compare

Change Log:

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

Fix Bug

02 Jan 07:36
c3cddd1
Compare
Choose a tag to compare

Change Log

RN v0.6.0 修复 Bug,简化 JS 代码

02 Jan 07:13
c3cddd1
Compare
Choose a tag to compare

Change Log

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

Fix Bug

22 Dec 07:55
678bf3b
Compare
Choose a tag to compare

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.

Fix Bug & Optimize

14 Dec 07:22
a311ff1
Compare
Choose a tag to compare

Change Log

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

0.5.14-rn add auto-size feature for inputText

15 Dec 03:28
Compare
Choose a tag to compare

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}
/>

Android 支持多种自定义消息

28 Nov 08:53
9d2520f
Compare
Choose a tag to compare

Change Log

Android

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

Android

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

0.5.10-rn react-naitve add custom message

20 Nov 03:25
Compare
Choose a tag to compare

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 字段,可以把附加字段用这个字段来储存,如果有多条自定义消息这个字段可以用于区分每种消息。