agora-appbuilder-core 4.0.31-beta-4 → 4.0.31-beta-5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agora-appbuilder-core",
3
- "version": "4.0.31-beta-4",
3
+ "version": "4.0.31-beta-5",
4
4
  "description": "React Native template for RTE app builder",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -76,8 +76,8 @@ const DefaultConfig = {
76
76
  CHAT_ORG_NAME: '',
77
77
  CHAT_APP_NAME: '',
78
78
  CHAT_URL: '',
79
- CLI_VERSION: '3.0.30-1',
80
- CORE_VERSION: '4.0.30-1',
79
+ CLI_VERSION: '3.0.31-beta-5',
80
+ CORE_VERSION: '4.0.31-beta-5',
81
81
  DISABLE_LANDSCAPE_MODE: false,
82
82
  STT_AUTO_START: false,
83
83
  CLOUD_RECORDING_AUTO_START: false,
@@ -303,7 +303,9 @@ const ChatConfigure = ({children}) => {
303
303
  } else {
304
304
  const fromUserID = operations[0].userId;
305
305
  const uid =
306
- localUid === fromUserID ? privateChatUserRef.current : fromUserID;
306
+ localUid === fromUserID
307
+ ? Number(privateChatUserRef.current)
308
+ : Number(fromUserID);
307
309
  addReactionToPrivateStore(
308
310
  uid,
309
311
  msgId,
@@ -905,6 +905,7 @@ const style = StyleSheet.create({
905
905
  flexDirection: 'row',
906
906
  gap: 4,
907
907
  zIndex: 5,
908
+ elevation: -1,
908
909
  },
909
910
  reactionUserList: {
910
911
  position: 'absolute',
@@ -220,7 +220,7 @@ const ChatContainer = (props?: {
220
220
  ) : (
221
221
  <></>
222
222
  )}
223
- {pinMsgId && (
223
+ {pinMsgId && chatType === ChatType.Group && (
224
224
  <PinnedMessage pinMsgId={pinMsgId} pinnedByUser={pinnedByUser} />
225
225
  )}
226
226
  <ScrollView