@tencent-rtc/mcp 1.4.7 → 1.6.0

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.
Files changed (553) hide show
  1. package/cursor-setting.png +0 -0
  2. package/index.js +0 -1
  3. package/knowledge/bm25-cache.js +73 -0
  4. package/knowledge/bm25.js +147 -0
  5. package/knowledge/build-index.js +69 -0
  6. package/knowledge/chunker.js +167 -0
  7. package/knowledge/content-loader.js +39 -0
  8. package/knowledge/doc-url-resolver.js +142 -0
  9. package/knowledge/extractors.js +25 -0
  10. package/knowledge/path-meta.js +184 -0
  11. package/knowledge/search/exact-lookup.js +497 -0
  12. package/knowledge/search/filter-pool.js +104 -0
  13. package/knowledge/search/product-scope-intent.js +40 -0
  14. package/knowledge/search/requires-framework.js +81 -0
  15. package/knowledge/search/search-knowledge.js +229 -0
  16. package/mcp-server-prompt.png +0 -0
  17. package/package.json +1 -1
  18. package/resource/_schema/feature-aliases.yaml +10 -0
  19. package/resource/_schema/goal-tags.yaml +72 -0
  20. package/resource/_schema/products.yaml +19 -0
  21. package/resource/_schema/trtc-intents.yaml +27 -0
  22. package/resource/_schema/types.yaml +43 -0
  23. package/resource/index/component-slugs.json +1 -0
  24. package/resource/index/doc-source-urls.json +1 -0
  25. package/resource/index/manifest.json +1 -0
  26. package/resource/{doc → integration}/callkit/preset/android/integration.md +34 -28
  27. package/resource/integration/callkit/preset/flutter/integration.md +346 -0
  28. package/resource/integration/callkit/preset/ios/integration.md +408 -0
  29. package/resource/integration/callkit/preset/react/integration.md +362 -0
  30. package/resource/integration/callkit/preset/vue/integration.md +356 -0
  31. package/resource/integration/chat/preset/android/integration.md +500 -0
  32. package/resource/integration/chat/preset/flutter/integration.md +370 -0
  33. package/resource/integration/chat/preset/ios/integration.md +566 -0
  34. package/resource/integration/chat/preset/react/integration.md +490 -0
  35. package/resource/integration/chat/preset/vue/integration.md +504 -0
  36. package/resource/{doc → integration}/livekit/preset/live/vue/live-list-integration.md +26 -22
  37. package/resource/{doc → integration}/livekit/preset/live/vue/live-player-desk-integration.md +22 -18
  38. package/resource/integration/livekit/preset/live/vue/live-player-h5-integration.md +309 -0
  39. package/resource/{doc → integration}/livekit/preset/live/vue/live-pusher-integration.md +47 -39
  40. package/resource/integration/roomkit/preset/vue/integration.md +562 -0
  41. package/resource/knowledge/callkit/core-sdk/android/answer-call.md +828 -0
  42. package/resource/knowledge/callkit/core-sdk/android/make-call.md +897 -0
  43. package/resource/knowledge/callkit/core-sdk/android/offline-push.md +363 -0
  44. package/resource/knowledge/callkit/core-sdk/flutter/answer-call.md +1111 -0
  45. package/resource/knowledge/callkit/core-sdk/flutter/make-call.md +1132 -0
  46. package/resource/{doc → knowledge}/callkit/core-sdk/flutter/offline-push.md +174 -151
  47. package/resource/knowledge/callkit/core-sdk/ios/answer-call.md +1084 -0
  48. package/resource/knowledge/callkit/core-sdk/ios/make-call.md +1252 -0
  49. package/resource/knowledge/callkit/core-sdk/ios/offline-push.md +534 -0
  50. package/resource/knowledge/callkit/core-sdk/uni-app/answer-call.md +953 -0
  51. package/resource/knowledge/callkit/core-sdk/uni-app/make-call.md +1061 -0
  52. package/resource/knowledge/callkit/faq/android.md +92 -0
  53. package/resource/{doc/callkit/faq/android-faq.md → knowledge/callkit/faq/common.md} +11 -12
  54. package/resource/knowledge/callkit/faq/error-code.md +67 -0
  55. package/resource/knowledge/callkit/faq/flutter.md +52 -0
  56. package/resource/knowledge/callkit/faq/ios.md +104 -0
  57. package/resource/knowledge/callkit/faq/web.md +74 -0
  58. package/resource/knowledge/callkit/preset/android/api.md +412 -0
  59. package/resource/knowledge/callkit/preset/flutter/api.md +22 -0
  60. package/resource/knowledge/callkit/preset/ios/api.md +234 -0
  61. package/resource/knowledge/callkit/preset/web/api.md +83 -0
  62. package/resource/knowledge/chat/preset/android/features/chat-setting.md +74 -0
  63. package/resource/knowledge/chat/preset/android/features/contact-list.md +43 -0
  64. package/resource/knowledge/chat/preset/android/features/conversation-list.md +117 -0
  65. package/resource/knowledge/chat/preset/android/features/language.md +136 -0
  66. package/resource/knowledge/chat/preset/android/features/message-input.md +57 -0
  67. package/resource/knowledge/chat/preset/android/features/message-list.md +142 -0
  68. package/resource/knowledge/chat/preset/android/features/search.md +64 -0
  69. package/resource/knowledge/chat/preset/android/features/theme.md +222 -0
  70. package/resource/knowledge/chat/preset/android-view/integration.md +300 -0
  71. package/resource/knowledge/chat/preset/flutter/features/chat-setting.md +64 -0
  72. package/resource/knowledge/chat/preset/flutter/features/contact-list.md +40 -0
  73. package/resource/knowledge/chat/preset/flutter/features/conversation-list.md +129 -0
  74. package/resource/knowledge/chat/preset/flutter/features/language.md +104 -0
  75. package/resource/knowledge/chat/preset/flutter/features/message-input.md +54 -0
  76. package/resource/knowledge/chat/preset/flutter/features/message-list.md +158 -0
  77. package/resource/knowledge/chat/preset/flutter/features/search.md +59 -0
  78. package/resource/knowledge/chat/preset/flutter/features/theme.md +261 -0
  79. package/resource/knowledge/chat/preset/ios/features/chat-setting.md +94 -0
  80. package/resource/knowledge/chat/preset/ios/features/contact-list.md +119 -0
  81. package/resource/knowledge/chat/preset/ios/features/conversation-list.md +134 -0
  82. package/resource/knowledge/chat/preset/ios/features/language.md +125 -0
  83. package/resource/knowledge/chat/preset/ios/features/message-input.md +69 -0
  84. package/resource/knowledge/chat/preset/ios/features/message-list.md +162 -0
  85. package/resource/knowledge/chat/preset/ios/features/search.md +93 -0
  86. package/resource/knowledge/chat/preset/ios/features/theme.md +270 -0
  87. package/resource/{doc/chatkit/ios → knowledge/chat/preset/ios-uikit}/integration.md +160 -158
  88. package/resource/knowledge/chat/preset/react/features/chat-setting.md +101 -0
  89. package/resource/{doc/chatkit/react/components → knowledge/chat/preset/react/features}/contact-list.md +43 -41
  90. package/resource/knowledge/chat/preset/react/features/conversation-actions.md +215 -0
  91. package/resource/knowledge/chat/preset/react/features/conversation-list.md +339 -0
  92. package/resource/knowledge/chat/preset/react/features/conversation-preview.md +101 -0
  93. package/resource/knowledge/chat/preset/react/features/conversation-search.md +61 -0
  94. package/resource/{doc/chatkit/react/components → knowledge/chat/preset/react/features}/message-input.md +117 -156
  95. package/resource/knowledge/chat/preset/react/features/message-list.md +297 -0
  96. package/resource/{doc/chatkit/react/components → knowledge/chat/preset/react/features}/search.md +65 -59
  97. package/resource/knowledge/chat/preset/react/features/theme.md +93 -0
  98. package/resource/knowledge/chat/preset/vue/features/chat-header.md +331 -0
  99. package/resource/knowledge/chat/preset/vue/features/chat-setting.md +79 -0
  100. package/resource/knowledge/chat/preset/vue/features/contact-list.md +277 -0
  101. package/resource/knowledge/chat/preset/vue/features/conversation-actions.md +234 -0
  102. package/resource/knowledge/chat/preset/vue/features/conversation-list.md +331 -0
  103. package/resource/knowledge/chat/preset/vue/features/conversation-preview.md +216 -0
  104. package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/conversation-search.md +13 -13
  105. package/resource/knowledge/chat/preset/vue/features/message-input.md +551 -0
  106. package/resource/knowledge/chat/preset/vue/features/message-list.md +350 -0
  107. package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/search.md +79 -73
  108. package/resource/knowledge/chat/preset/vue/features/theme.md +136 -0
  109. package/resource/knowledge/chat/urls/error-code.md +17 -0
  110. package/resource/knowledge/chat/urls/product.md +43 -0
  111. package/resource/knowledge/chat/urls/restapi.md +204 -0
  112. package/resource/knowledge/chat/urls/sdk/android.md +80 -0
  113. package/resource/knowledge/chat/urls/sdk/flutter.md +71 -0
  114. package/resource/knowledge/chat/urls/sdk/ios.md +80 -0
  115. package/resource/knowledge/chat/urls/sdk/web.md +80 -0
  116. package/resource/knowledge/chat/urls/webhook.md +68 -0
  117. package/resource/knowledge/livekit/core-sdk/api-reference/android/AudioEffectStore.md +286 -0
  118. package/resource/knowledge/livekit/core-sdk/api-reference/android/BarrageStore.md +174 -0
  119. package/resource/knowledge/livekit/core-sdk/api-reference/android/BattleStore.md +329 -0
  120. package/resource/knowledge/livekit/core-sdk/api-reference/android/CameraView.md +55 -0
  121. package/resource/knowledge/livekit/core-sdk/api-reference/android/CoGuestStore.md +434 -0
  122. package/resource/knowledge/livekit/core-sdk/api-reference/android/CoHostStore.md +362 -0
  123. package/resource/knowledge/livekit/core-sdk/api-reference/android/DeviceStore.md +466 -0
  124. package/resource/knowledge/livekit/core-sdk/api-reference/android/GiftStore.md +173 -0
  125. package/resource/knowledge/livekit/core-sdk/api-reference/android/LikeStore.md +51 -0
  126. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveAudienceStore.md +291 -0
  127. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveCoreView.md +78 -0
  128. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveSeatStore.md +488 -0
  129. package/resource/knowledge/livekit/core-sdk/api-reference/android/LoginStore.md +219 -0
  130. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/AudioEffectStore.md +282 -0
  131. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BarrageStore.md +212 -0
  132. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BaseBeautyStore.md +153 -0
  133. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BattleStore.md +312 -0
  134. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoGuestStore.md +404 -0
  135. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoHostStore.md +334 -0
  136. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/DeviceStore.md +426 -0
  137. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/GiftStore.md +166 -0
  138. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LikeStore.md +52 -0
  139. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveAudienceStore.md +281 -0
  140. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveCoreView.md +150 -0
  141. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveSeatStore.md +438 -0
  142. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LoginStore.md +190 -0
  143. package/resource/knowledge/livekit/core-sdk/api-reference/ios/AudioEffectStore.md +291 -0
  144. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BarrageStore.md +192 -0
  145. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BaseBeautyStore.md +146 -0
  146. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BattleStore.md +309 -0
  147. package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoGuestStore.md +370 -0
  148. package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoHostStore.md +339 -0
  149. package/resource/knowledge/livekit/core-sdk/api-reference/ios/DeviceStore.md +503 -0
  150. package/resource/knowledge/livekit/core-sdk/api-reference/ios/GiftStore.md +188 -0
  151. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LikeStore.md +51 -0
  152. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveAudienceStore.md +289 -0
  153. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveCoreView.md +78 -0
  154. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveSeatStore.md +487 -0
  155. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LoginStore.md +183 -0
  156. package/resource/knowledge/livekit/core-sdk/api-reference/web/index.md +736 -0
  157. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-audience-list.md +53 -47
  158. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-audio-effect.md +28 -24
  159. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-barrage.md +22 -18
  160. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-base-beauty.md +17 -15
  161. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-co-guest-interaction.md +19 -18
  162. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-gift.md +102 -89
  163. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-host-interaction.md +41 -37
  164. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-integration.md +45 -43
  165. package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-live-list.md +23 -20
  166. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-audience-list.md +41 -41
  167. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-audio-effect.md +70 -69
  168. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-barrage.md +68 -71
  169. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-base-beauty.md +43 -47
  170. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-co-guest-interaction.md +59 -56
  171. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-gift.md +103 -105
  172. package/resource/knowledge/livekit/core-sdk/live/flutter/live-host-interaction.md +869 -0
  173. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-integration.md +84 -87
  174. package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-live-list.md +43 -40
  175. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-audience-list.md +11 -10
  176. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-audio-effect.md +28 -24
  177. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-barrage.md +22 -18
  178. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-base-beauty.md +15 -14
  179. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-co-guest-interaction.md +19 -18
  180. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-gift.md +54 -50
  181. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-host-interaction.md +41 -37
  182. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-integration.md +40 -40
  183. package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-live-list.md +19 -18
  184. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-audience-list.md +53 -47
  185. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-audio-effect.md +28 -24
  186. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-barrage.md +22 -18
  187. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-co-guest-interaction.md +41 -33
  188. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-gift.md +94 -81
  189. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-host-interaction.md +35 -30
  190. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-integration.md +45 -42
  191. package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-room-list.md +23 -20
  192. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-audience-list.md +260 -0
  193. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-audio-effect.md +598 -0
  194. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-barrage.md +490 -0
  195. package/resource/{doc → knowledge}/livekit/core-sdk/voice/flutter/voice-co-guest-interaction.md +65 -59
  196. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-gift.md +424 -0
  197. package/resource/{doc → knowledge}/livekit/core-sdk/voice/flutter/voice-integration.md +69 -76
  198. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-room-list.md +726 -0
  199. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-audience-list.md +11 -10
  200. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-audio-effect.md +28 -24
  201. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-barrage.md +22 -18
  202. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-co-guest-interaction.md +41 -33
  203. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-gift.md +54 -50
  204. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-host-interaction.md +35 -30
  205. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-integration.md +49 -46
  206. package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-room-list.md +19 -18
  207. package/resource/knowledge/livekit/faq/error-code.md +193 -0
  208. package/resource/{doc/livekit/preset/live/vue/components → knowledge/livekit/preset/live/vue/features}/barrage.md +56 -53
  209. package/resource/{doc/livekit/preset/live/vue/components → knowledge/livekit/preset/live/vue/features}/live-audience-list.md +22 -21
  210. package/resource/{doc/livekit/preset/live/vue/components → knowledge/livekit/preset/live/vue/features}/live-view.md +34 -32
  211. package/resource/knowledge/push/config/android.md +92 -0
  212. package/resource/knowledge/push/config/harmonyos.md +83 -0
  213. package/resource/knowledge/push/config/ios.md +254 -0
  214. package/resource/knowledge/push/config/react-native.md +254 -0
  215. package/resource/knowledge/push/config/unity.md +209 -0
  216. package/resource/knowledge/push/config/unreal-engine.md +194 -0
  217. package/resource/knowledge/push/integration/android.md +404 -0
  218. package/resource/knowledge/push/integration/flutter.md +465 -0
  219. package/resource/knowledge/push/integration/harmonyos.md +63 -0
  220. package/resource/knowledge/push/integration/ios.md +246 -0
  221. package/resource/knowledge/push/integration/react-native.md +366 -0
  222. package/resource/knowledge/push/integration/uni-app.md +208 -0
  223. package/resource/knowledge/push/integration/unity.md +389 -0
  224. package/resource/knowledge/push/integration/unreal-engine.md +390 -0
  225. package/resource/knowledge/push/overview/prepare.md +60 -0
  226. package/resource/knowledge/roomkit/core-sdk/android/call-user-to-room.md +241 -0
  227. package/resource/knowledge/roomkit/core-sdk/android/room-participant-state.md +588 -0
  228. package/resource/knowledge/roomkit/core-sdk/android/room-state.md +364 -0
  229. package/resource/knowledge/roomkit/core-sdk/android/schedule-room.md +340 -0
  230. package/resource/knowledge/roomkit/core-sdk/flutter/call-user-to-room.md +230 -0
  231. package/resource/knowledge/roomkit/core-sdk/flutter/room-participant-state.md +797 -0
  232. package/resource/knowledge/roomkit/core-sdk/flutter/room-state.md +325 -0
  233. package/resource/knowledge/roomkit/core-sdk/flutter/schedule-room.md +325 -0
  234. package/resource/knowledge/roomkit/core-sdk/ios/call-user-to-room.md +233 -0
  235. package/resource/knowledge/roomkit/core-sdk/ios/room-participant-state.md +569 -0
  236. package/resource/knowledge/roomkit/core-sdk/ios/room-state.md +325 -0
  237. package/resource/knowledge/roomkit/core-sdk/ios/schedule-room.md +322 -0
  238. package/resource/knowledge/roomkit/core-sdk/vue/call-user-to-room.md +221 -0
  239. package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/device-detection.md +49 -48
  240. package/resource/knowledge/roomkit/core-sdk/vue/device-state.md +461 -0
  241. package/resource/knowledge/roomkit/core-sdk/vue/free-beauty-panel.md +216 -0
  242. package/resource/knowledge/roomkit/core-sdk/vue/room-chat.md +370 -0
  243. package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/room-participant-state.md +61 -60
  244. package/resource/knowledge/roomkit/core-sdk/vue/room-state.md +280 -0
  245. package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/room-view.md +57 -56
  246. package/resource/knowledge/roomkit/core-sdk/vue/schedule-room.md +319 -0
  247. package/resource/knowledge/roomkit/core-sdk/vue/screen-share.md +267 -0
  248. package/resource/knowledge/roomkit/core-sdk/vue/virtual-background.md +261 -0
  249. package/resource/knowledge/roomkit/preset/android/integration.md +396 -0
  250. package/resource/knowledge/roomkit/preset/flutter/integration.md +404 -0
  251. package/resource/knowledge/roomkit/preset/ios/integration.md +369 -0
  252. package/resource/knowledge/roomkit/preset/react/integration.md +576 -0
  253. package/resource/knowledge/rtcengine/web/how_to_run_web_sdk_demo.md +44 -0
  254. package/resource/{doc → knowledge}/rtcengine/web/plugin/21-advanced-auto-play-policy.md +8 -2
  255. package/resource/{doc → knowledge}/rtcengine/web/plugin/22-advanced-audio-mixer.md +19 -1
  256. package/resource/{doc → knowledge}/rtcengine/web/plugin/23-advanced-support-detection.md +1 -1
  257. package/resource/{doc → knowledge}/rtcengine/web/plugin/24-advanced-network-quality.md +8 -8
  258. package/resource/{doc → knowledge}/rtcengine/web/plugin/25-advanced-device-change.md +1 -1
  259. package/resource/{doc → knowledge}/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +6 -6
  260. package/resource/{doc → knowledge}/rtcengine/web/plugin/27-advanced-small-stream.md +3 -3
  261. package/resource/{doc → knowledge}/rtcengine/web/plugin/29-advanced-water-mark.md +18 -0
  262. package/resource/{doc → knowledge}/rtcengine/web/plugin/31-advanced-plugins-overview.md +1 -1
  263. package/resource/{doc → knowledge}/rtcengine/web/plugin/34-advanced-proxy.md +2 -2
  264. package/resource/{doc → knowledge}/rtcengine/web/plugin/35-advanced-ai-denoiser.md +1 -1
  265. package/resource/knowledge/trtc/android/TRTCCloud.md +1915 -0
  266. package/resource/knowledge/trtc/android/TRTCCloudDef.md +1029 -0
  267. package/resource/knowledge/trtc/android/TRTCCloudListener.md +1095 -0
  268. package/resource/knowledge/trtc/android/TRTCStatistics.md +68 -0
  269. package/resource/knowledge/trtc/android/TXAudioEffectManager.md +502 -0
  270. package/resource/knowledge/trtc/android/TXBeautyManager.md +415 -0
  271. package/resource/knowledge/trtc/android/TXDeviceManager.md +169 -0
  272. package/resource/knowledge/trtc/android/TXLiteAVCode.md +125 -0
  273. package/resource/knowledge/trtc/c++/ITRTCCloud.md +2069 -0
  274. package/resource/knowledge/trtc/c++/ITRTCStatistics.md +73 -0
  275. package/resource/knowledge/trtc/c++/ITXAudioEffectManager.md +502 -0
  276. package/resource/knowledge/trtc/c++/ITXDeviceManager.md +391 -0
  277. package/resource/knowledge/trtc/c++/TRTCCloudCallback.md +1191 -0
  278. package/resource/knowledge/trtc/c++/TRTCTypeDef.md +931 -0
  279. package/resource/knowledge/trtc/c++/TXLiteAVCode.md +127 -0
  280. package/resource/knowledge/trtc/ios/TRTCCloud.md +2118 -0
  281. package/resource/knowledge/trtc/ios/TRTCCloudDef.md +975 -0
  282. package/resource/knowledge/trtc/ios/TRTCCloudDelegate.md +1131 -0
  283. package/resource/knowledge/trtc/ios/TRTCStatistics.md +68 -0
  284. package/resource/knowledge/trtc/ios/TXAudioEffectManager.md +423 -0
  285. package/resource/knowledge/trtc/ios/TXBeautyManager.md +416 -0
  286. package/resource/knowledge/trtc/ios/TXDeviceManager.md +387 -0
  287. package/resource/knowledge/trtc/ios/TXLiteAVCode.md +127 -0
  288. package/server-config.js +0 -1
  289. package/server.js +35 -12
  290. package/streamable-http.js +0 -1
  291. package/tools/call/get_native_call_uikit_integration.js +2 -4
  292. package/tools/call/get_native_callkit_core_integration.js +2 -6
  293. package/tools/call/get_web_call_uikit_integration.js +2 -4
  294. package/tools/chat/get_native_chat_uikit_integration.js +2 -4
  295. package/tools/chat/get_web_chat_uikit_integration.js +2 -4
  296. package/tools/common/get_usersig.js +0 -1
  297. package/tools/common/present_framework_choice.js +19 -14
  298. package/tools/common/record_answer.js +19 -26
  299. package/tools/common/record_feedback.js +17 -31
  300. package/tools/common/search_trtc_knowledge.js +44 -0
  301. package/tools/definitions/get_native_call_uikit_integration_def.js +3 -2
  302. package/tools/definitions/get_native_callkit_core_integration_def.js +5 -4
  303. package/tools/definitions/get_native_chat_uikit_integration_def.js +5 -3
  304. package/tools/definitions/get_native_livekit_core_integration_def.js +6 -6
  305. package/tools/definitions/get_usersig_def.js +0 -1
  306. package/tools/definitions/get_web_call_uikit_integration_def.js +4 -3
  307. package/tools/definitions/get_web_chat_uikit_integration_def.js +2 -1
  308. package/tools/definitions/get_web_live_uikit_integration_def.js +5 -6
  309. package/tools/definitions/get_web_room_core_integration_def.js +49 -0
  310. package/tools/definitions/get_web_room_uikit_integration_def.js +5 -5
  311. package/tools/definitions/integration-boundary.js +5 -0
  312. package/tools/definitions/present_framework_choice_def.js +12 -11
  313. package/tools/definitions/record_answer_def.js +19 -18
  314. package/tools/definitions/record_feedback_def.js +14 -14
  315. package/tools/definitions/search_trtc_knowledge_def.js +39 -0
  316. package/tools/index.js +5 -37
  317. package/tools/live/get_native_livekit_core_integration.js +1 -4
  318. package/tools/live/get_web_live_uikit_integration.js +2 -5
  319. package/tools/room/get_web_room_core_integration.js +47 -0
  320. package/tools/room/get_web_room_uikit_integration.js +2 -4
  321. package/utils/generate-structured-result.js +24 -31
  322. package/utils/generate-usersig.js +0 -1
  323. package/utils/get-device-identifier.js +0 -1
  324. package/utils/get-doc-content.js +14 -9
  325. package/utils/http-get.js +0 -1
  326. package/utils/http-post.js +0 -1
  327. package/utils/report-cls-client.js +18 -21
  328. package/utils/report-es-client.js +1 -2
  329. package/index.js.map +0 -1
  330. package/resource/doc/callkit/core-sdk/.gitkeep +0 -0
  331. package/resource/doc/callkit/core-sdk/android/answer-call.md +0 -852
  332. package/resource/doc/callkit/core-sdk/android/make-call.md +0 -954
  333. package/resource/doc/callkit/core-sdk/android/offline-push.md +0 -361
  334. package/resource/doc/callkit/core-sdk/flutter/answer-call.md +0 -1160
  335. package/resource/doc/callkit/core-sdk/flutter/make-call.md +0 -1205
  336. package/resource/doc/callkit/core-sdk/ios/answer-call.md +0 -1090
  337. package/resource/doc/callkit/core-sdk/ios/make-call.md +0 -1248
  338. package/resource/doc/callkit/core-sdk/ios/offline-push.md +0 -485
  339. package/resource/doc/callkit/core-sdk/uni-app/answer-call.md +0 -950
  340. package/resource/doc/callkit/core-sdk/uni-app/make-call.md +0 -1052
  341. package/resource/doc/callkit/faq/common/error-code.md +0 -47
  342. package/resource/doc/callkit/faq/flutter-faq.md +0 -115
  343. package/resource/doc/callkit/faq/ios-faq.md +0 -115
  344. package/resource/doc/callkit/faq/web-faq.md +0 -36
  345. package/resource/doc/callkit/preset/android/api.md +0 -296
  346. package/resource/doc/callkit/preset/flutter/api.md +0 -410
  347. package/resource/doc/callkit/preset/flutter/integration.md +0 -164
  348. package/resource/doc/callkit/preset/ios/api.md +0 -80
  349. package/resource/doc/callkit/preset/ios/integration.md +0 -187
  350. package/resource/doc/callkit/preset/react/api.md +0 -501
  351. package/resource/doc/callkit/preset/react/integration.md +0 -86
  352. package/resource/doc/callkit/preset/vue/api.md +0 -501
  353. package/resource/doc/callkit/preset/vue/integration.md +0 -83
  354. package/resource/doc/chatkit/android/faq.md +0 -111
  355. package/resource/doc/chatkit/android/features/theme.md +0 -219
  356. package/resource/doc/chatkit/android/integration.md +0 -490
  357. package/resource/doc/chatkit/faq/android_sdk/client-api.md +0 -281
  358. package/resource/doc/chatkit/faq/common/product.md +0 -7
  359. package/resource/doc/chatkit/faq/common/server.md +0 -44
  360. package/resource/doc/chatkit/faq/common/server_error_code.md +0 -74
  361. package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +0 -199
  362. package/resource/doc/chatkit/faq/flutter_sdk/faq.md +0 -53
  363. package/resource/doc/chatkit/faq/ios_sdk/client-api.md +0 -235
  364. package/resource/doc/chatkit/faq/web_sdk/error_code.md +0 -47
  365. package/resource/doc/chatkit/faq/web_sdk/faq.md +0 -287
  366. package/resource/doc/chatkit/flutter/faq.md +0 -23
  367. package/resource/doc/chatkit/flutter/features/theme.md +0 -235
  368. package/resource/doc/chatkit/flutter/integration.md +0 -344
  369. package/resource/doc/chatkit/ios/faq.md +0 -111
  370. package/resource/doc/chatkit/ios/features/theme.md +0 -267
  371. package/resource/doc/chatkit/react/components/avatar.md +0 -104
  372. package/resource/doc/chatkit/react/components/chat-header.md +0 -148
  373. package/resource/doc/chatkit/react/components/chat-setting.md +0 -57
  374. package/resource/doc/chatkit/react/components/chat.md +0 -38
  375. package/resource/doc/chatkit/react/components/component-list.md +0 -37
  376. package/resource/doc/chatkit/react/components/conversation-actions.md +0 -174
  377. package/resource/doc/chatkit/react/components/conversation-list.md +0 -333
  378. package/resource/doc/chatkit/react/components/conversation-preview.md +0 -118
  379. package/resource/doc/chatkit/react/components/conversation-search.md +0 -60
  380. package/resource/doc/chatkit/react/components/message-list.md +0 -293
  381. package/resource/doc/chatkit/react/components/tuikit.md +0 -34
  382. package/resource/doc/chatkit/react/faq.md +0 -26
  383. package/resource/doc/chatkit/react/integration.md +0 -416
  384. package/resource/doc/chatkit/vue/components/avatar.md +0 -104
  385. package/resource/doc/chatkit/vue/components/chat-header.md +0 -148
  386. package/resource/doc/chatkit/vue/components/chat-setting.md +0 -62
  387. package/resource/doc/chatkit/vue/components/chat.md +0 -45
  388. package/resource/doc/chatkit/vue/components/component-list.md +0 -87
  389. package/resource/doc/chatkit/vue/components/contact-list.md +0 -271
  390. package/resource/doc/chatkit/vue/components/conversation-actions.md +0 -228
  391. package/resource/doc/chatkit/vue/components/conversation-list.md +0 -320
  392. package/resource/doc/chatkit/vue/components/conversation-preview.md +0 -213
  393. package/resource/doc/chatkit/vue/components/message-input.md +0 -1054
  394. package/resource/doc/chatkit/vue/components/message-list.md +0 -433
  395. package/resource/doc/chatkit/vue/components/tuikit.md +0 -31
  396. package/resource/doc/chatkit/vue/components/userpicker.md +0 -256
  397. package/resource/doc/chatkit/vue/faq.md +0 -36
  398. package/resource/doc/chatkit/vue/integration.md +0 -428
  399. package/resource/doc/livekit/core-sdk/live/flutter/live-host-interaction.md +0 -866
  400. package/resource/doc/livekit/faq/common/error-code.md +0 -88
  401. package/resource/doc/livekit/preset/live/vue/api-reference/index.md +0 -780
  402. package/resource/doc/livekit/preset/live/vue/components/co-guest-panel.md +0 -91
  403. package/resource/doc/livekit/preset/live/vue/components/live-scene-panel.md +0 -112
  404. package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +0 -215
  405. package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +0 -300
  406. package/resource/doc/roomkit/faq/common/error-code.md +0 -67
  407. package/resource/doc/roomkit/vue/features/call-user-to-room.md +0 -220
  408. package/resource/doc/roomkit/vue/features/device-state.md +0 -460
  409. package/resource/doc/roomkit/vue/features/free-beauty-panel.md +0 -215
  410. package/resource/doc/roomkit/vue/features/room-chat.md +0 -369
  411. package/resource/doc/roomkit/vue/features/room-state.md +0 -282
  412. package/resource/doc/roomkit/vue/features/schedule-room.md +0 -318
  413. package/resource/doc/roomkit/vue/features/screen-share.md +0 -265
  414. package/resource/doc/roomkit/vue/features/virtual-background.md +0 -271
  415. package/resource/doc/roomkit/vue/integration.md +0 -315
  416. package/resource/doc/rtcengine/faq/common/error_code.md +0 -1
  417. package/resource/doc/rtcengine/faq/web_sdk/.gitkeep +0 -0
  418. package/resource/doc/rtcengine/web/.gitkeep +0 -0
  419. package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +0 -59
  420. package/resource/doc/trtc/C++/ITRTCCloud.md +0 -1970
  421. package/resource/doc/trtc/C++/ITRTCStatistics.md +0 -70
  422. package/resource/doc/trtc/C++/ITXAudioEffectManager.md +0 -469
  423. package/resource/doc/trtc/C++/ITXDeviceManager.md +0 -387
  424. package/resource/doc/trtc/C++/TRTCCloudCallback.md +0 -1082
  425. package/resource/doc/trtc/C++/TRTCTypeDef.md +0 -925
  426. package/resource/doc/trtc/C++/TXLiteAVCode.md +0 -129
  427. package/resource/doc/trtc/android/TRTCCloud.md +0 -1815
  428. package/resource/doc/trtc/android/TRTCCloudDef.md +0 -992
  429. package/resource/doc/trtc/android/TRTCCloudListener.md +0 -1004
  430. package/resource/doc/trtc/android/TRTCStatistics.md +0 -65
  431. package/resource/doc/trtc/android/TXAudioEffectManager.md +0 -469
  432. package/resource/doc/trtc/android/TXBeautyManager.md +0 -402
  433. package/resource/doc/trtc/android/TXDeviceManager.md +0 -173
  434. package/resource/doc/trtc/android/TXLiteAVCode.md +0 -127
  435. package/resource/doc/trtc/iOS/TRTCCloud.md +0 -2028
  436. package/resource/doc/trtc/iOS/TRTCCloudDef.md +0 -958
  437. package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +0 -1046
  438. package/resource/doc/trtc/iOS/TRTCStatistics.md +0 -65
  439. package/resource/doc/trtc/iOS/TXAudioEffectManager.md +0 -397
  440. package/resource/doc/trtc/iOS/TXBeautyManager.md +0 -403
  441. package/resource/doc/trtc/iOS/TXDeviceManager.md +0 -381
  442. package/resource/doc/trtc/iOS/TXLiteAVCode.md +0 -130
  443. package/server-config.js.map +0 -1
  444. package/server.js.map +0 -1
  445. package/streamable-http.js.map +0 -1
  446. package/tools/call/get_callkit_api.js +0 -33
  447. package/tools/call/get_callkit_api.js.map +0 -1
  448. package/tools/call/get_native_call_uikit_integration.js.map +0 -1
  449. package/tools/call/get_native_callkit_core_integration.js.map +0 -1
  450. package/tools/call/get_web_call_uikit_integration.js.map +0 -1
  451. package/tools/chat/get_native_chat_uikit_feature_detail.js +0 -35
  452. package/tools/chat/get_native_chat_uikit_feature_detail.js.map +0 -1
  453. package/tools/chat/get_native_chat_uikit_integration.js.map +0 -1
  454. package/tools/chat/get_web_chat_uikit_component_detail.js +0 -35
  455. package/tools/chat/get_web_chat_uikit_component_detail.js.map +0 -1
  456. package/tools/chat/get_web_chat_uikit_integration.js.map +0 -1
  457. package/tools/common/get_faq.js +0 -266
  458. package/tools/common/get_faq.js.map +0 -1
  459. package/tools/common/get_usersig.js.map +0 -1
  460. package/tools/common/present_framework_choice.js.map +0 -1
  461. package/tools/common/record_answer.js.map +0 -1
  462. package/tools/common/record_feedback.js.map +0 -1
  463. package/tools/common/record_skill_session.js +0 -69
  464. package/tools/common/record_skill_session.js.map +0 -1
  465. package/tools/definitions/get_callkit_api_def.js +0 -29
  466. package/tools/definitions/get_callkit_api_def.js.map +0 -1
  467. package/tools/definitions/get_faq_def.js +0 -47
  468. package/tools/definitions/get_faq_def.js.map +0 -1
  469. package/tools/definitions/get_native_call_uikit_integration_def.js.map +0 -1
  470. package/tools/definitions/get_native_callkit_core_integration_def.js.map +0 -1
  471. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +0 -31
  472. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +0 -1
  473. package/tools/definitions/get_native_chat_uikit_integration_def.js.map +0 -1
  474. package/tools/definitions/get_native_livekit_core_features_def.js +0 -34
  475. package/tools/definitions/get_native_livekit_core_features_def.js.map +0 -1
  476. package/tools/definitions/get_native_livekit_core_integration_def.js.map +0 -1
  477. package/tools/definitions/get_native_trtc_sdk_docs_def.js +0 -32
  478. package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +0 -1
  479. package/tools/definitions/get_usersig_def.js.map +0 -1
  480. package/tools/definitions/get_web_call_uikit_integration_def.js.map +0 -1
  481. package/tools/definitions/get_web_chat_uikit_component_detail_def.js +0 -31
  482. package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +0 -1
  483. package/tools/definitions/get_web_chat_uikit_integration_def.js.map +0 -1
  484. package/tools/definitions/get_web_live_uikit_integration_def.js.map +0 -1
  485. package/tools/definitions/get_web_livekit_api_def.js +0 -30
  486. package/tools/definitions/get_web_livekit_api_def.js.map +0 -1
  487. package/tools/definitions/get_web_livekit_component_detail_def.js +0 -32
  488. package/tools/definitions/get_web_livekit_component_detail_def.js.map +0 -1
  489. package/tools/definitions/get_web_room_uikit_integration_def.js.map +0 -1
  490. package/tools/definitions/get_web_roomkit_feature_detail_def.js +0 -31
  491. package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +0 -1
  492. package/tools/definitions/get_web_trtc_sdk_api_def.js +0 -27
  493. package/tools/definitions/get_web_trtc_sdk_api_def.js.map +0 -1
  494. package/tools/definitions/get_web_trtc_sdk_integration_def.js +0 -27
  495. package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +0 -1
  496. package/tools/definitions/get_web_trtc_sdk_plugin_def.js +0 -27
  497. package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +0 -1
  498. package/tools/definitions/present_framework_choice_def.js.map +0 -1
  499. package/tools/definitions/record_answer_def.js.map +0 -1
  500. package/tools/definitions/record_feedback_def.js.map +0 -1
  501. package/tools/definitions/record_skill_session_def.js +0 -31
  502. package/tools/definitions/record_skill_session_def.js.map +0 -1
  503. package/tools/index.js.map +0 -1
  504. package/tools/live/get_native_livekit_core_features.js +0 -68
  505. package/tools/live/get_native_livekit_core_features.js.map +0 -1
  506. package/tools/live/get_native_livekit_core_integration.js.map +0 -1
  507. package/tools/live/get_web_live_uikit_integration.js.map +0 -1
  508. package/tools/live/get_web_livekit_api.js +0 -33
  509. package/tools/live/get_web_livekit_api.js.map +0 -1
  510. package/tools/live/get_web_livekit_component_detail.js +0 -35
  511. package/tools/live/get_web_livekit_component_detail.js.map +0 -1
  512. package/tools/room/get_web_room_uikit_integration.js.map +0 -1
  513. package/tools/room/get_web_roomkit_feature_detail.js +0 -69
  514. package/tools/room/get_web_roomkit_feature_detail.js.map +0 -1
  515. package/tools/rtcengine/get_web_trtc_sdk_api.js +0 -32
  516. package/tools/rtcengine/get_web_trtc_sdk_api.js.map +0 -1
  517. package/tools/rtcengine/get_web_trtc_sdk_integration.js +0 -32
  518. package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +0 -1
  519. package/tools/rtcengine/get_web_trtc_sdk_plugin.js +0 -32
  520. package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +0 -1
  521. package/tools/trtc/get_native_trtc_sdk_docs.js +0 -74
  522. package/tools/trtc/get_native_trtc_sdk_docs.js.map +0 -1
  523. package/utils/build-session-directives.js +0 -120
  524. package/utils/build-session-directives.js.map +0 -1
  525. package/utils/generate-structured-result.js.map +0 -1
  526. package/utils/generate-usersig.js.map +0 -1
  527. package/utils/get-device-identifier.js.map +0 -1
  528. package/utils/get-doc-content.js.map +0 -1
  529. package/utils/handle-framework.js +0 -9
  530. package/utils/handle-framework.js.map +0 -1
  531. package/utils/handle-state-name.js +0 -29
  532. package/utils/handle-state-name.js.map +0 -1
  533. package/utils/http-get.js.map +0 -1
  534. package/utils/http-post.js.map +0 -1
  535. package/utils/report-cls-client.js.map +0 -1
  536. package/utils/report-es-client.js.map +0 -1
  537. package/utils/report-runtime-error-cls-client.js +0 -91
  538. package/utils/report-runtime-error-cls-client.js.map +0 -1
  539. /package/resource/{doc/livekit/preset/live/vue/faq.md → knowledge/push/config/donut.md} +0 -0
  540. /package/resource/{doc/roomkit/vue/faq.md → knowledge/push/integration/donut.md} +0 -0
  541. /package/resource/{doc → knowledge}/rtcengine/web/api.md +0 -0
  542. /package/resource/{doc/rtcengine/faq/web/web.md → knowledge/rtcengine/web/faq.md} +0 -0
  543. /package/resource/{doc → knowledge}/rtcengine/web/how_to_integrated_web_sdk.md +0 -0
  544. /package/resource/{doc → knowledge}/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +0 -0
  545. /package/resource/{doc → knowledge}/rtcengine/web/plugin/28-advanced-beauty.md +0 -0
  546. /package/resource/{doc → knowledge}/rtcengine/web/plugin/30-advanced-cross-room-link.md +0 -0
  547. /package/resource/{doc → knowledge}/rtcengine/web/plugin/36-advanced-virtual-background.md +0 -0
  548. /package/resource/{doc → knowledge}/rtcengine/web/plugin/37-advanced-voice-changer.md +0 -0
  549. /package/resource/{doc → knowledge}/rtcengine/web/plugin/39-advanced-video-decoder.md +0 -0
  550. /package/resource/{doc → knowledge}/rtcengine/web/plugin/40-advanced-video-mixer.md +0 -0
  551. /package/resource/{doc → knowledge}/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +0 -0
  552. /package/resource/{doc → knowledge}/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +0 -0
  553. /package/resource/{doc → knowledge}/rtcengine/web/plugin/43-advanced-face-detection.md +0 -0
@@ -1,65 +1,65 @@
1
- This article introduces how to integrate `TUIKit` components.
1
+ TUIKit is a UI component library built on the Chat SDK. It enables rapid implementation of chat, conversation, search, relationship chain, and group management features through ready-to-use UI components. Message sending and receiving are handled by the TUIChat component. This guide explains how to quickly integrate TUIKit and implement its core features.
2
2
 
3
- > **Note:**
4
- >
5
- > - Starting from version 5.7.1435, TUIKit supports modular integration and the classic UI. You can integrate the necessary modules according to your needs.
6
- > - Starting from version 6.9.3557, TUIKit introduces a brand new minimalist UI.
7
- > - To respect the copyright of emoji designs, the Chat Demo/TUIKit project does not include cutouts of large emoji elements. Please replace them with your own designs or other emoji packs for which you hold the copyright before officially launching for commercial use. **The default smiley face emoji pack shown below is copyrighted by Tencent RTC** and is available for licensed use for a fee. If you need to obtain a license, please [contact us](https://trtc.io/contact).
3
+ ## Key Concepts
4
+ - **Classic UI**: Starting from version 5.7.1435, TUIKit supports modular integration and provides the Classic UI (WeChat-style).
8
5
 
9
- >
10
- >
6
+ - **Minimalist UI**: Starting from version 6.9.3557, TUIKit introduces a new Minimalist UI (WhatsApp-style).
11
7
 
12
- You can freely choose between the classic or minimalist UI components according to your needs. If you are not familiar with the effects of the interface libraries, you can refer to the document [TUIKit Overview](https://www.tencentcloud.com/document/product/1047/50062).
8
+ You can select either the Classic or Minimalist UI components as needed. If you are unfamiliar with the appearance of each UI library, see [TUIKit UI Library Introduction](https://www.tencentcloud.com/zh/document/product/1047/50062).
13
9
 
14
- ## Environment Requirements
15
- - Xcode 10 or later
10
+ ## Prerequisites
11
+ - Xcode 15 or later
16
12
 
17
- - iOS 9.0 or later
13
+ - iOS 14.0 or later (physical device or simulator)
18
14
 
19
- ## CocoaPods Integration
20
- 1. Install CocoaPods
21
- Enter the following command in a terminal (you need to install Ruby on your Mac first):
15
+ - CocoaPods 1.7.5 or later. If you have not installed CocoaPods, see [CocoaPods Guides - Getting Started](https://guides.cocoapods.org/using/getting-started.html#getting-started).
22
16
 
23
- ``` bash
24
- sudo gem install cocoapods
25
- ```
26
- 2. Create a Podfile
27
- Go to the path where the project is located and run the following command. Then, a Podfile will appear under the project path.
17
+ - A valid Tencent Cloud account and Chat application. See [Enable Service](https://www.tencentcloud.com/zh/document/product/1047/45913#.E6.93.8D.E4.BD.9C.E6.AD.A5.E9.AA.A4) to obtain the following information from the console:
18
+
19
+ - `SDKAppID`: The Chat application ID from the console, serving as your app’s unique identifier.
20
+
21
+ - `SDKSecretKey`: The application's secret key.
22
+
23
+ ## CocoaPods Integration
24
+ 1. Create a Podfile. Navigate to your project directory and run the following command to generate a Podfile:
28
25
 
29
26
  ``` bash
30
27
  pod init
31
28
  ```
32
- 3. Add the corresponding TUIKit components to your Podfile according to your needs. Components are independent of each other, and adding or removing them will not affect project compilation. You can choose different Podfile integration methods as needed:
29
+ 2. Add the required TUIKit components to your Podfile based on your business needs. Components are independent; adding or removing them does not affect project compilation. TUIKit supports two integration methods:
33
30
 
34
31
  - Remote CocoaPods Integration
35
32
 
36
- - Local Integration of DevelopmentPods
33
+ - Local Development Pods Integration
37
34
 
38
- The pros and cons of the above two integration methods are shown in the following table:
35
+ The following table summarizes the advantages and disadvantages of each integration method:
39
36
 
40
- | Integration methods | Suitable Scenarios | Advantage | Disadvantage |
41
- | --- | --- | --- | --- |
42
- | Remote CocoaPods Integration | Suitable for integration without source code modifications. | When there is a version update of TUIKit, you only need to `Pod update` again to complete the update. | When you have modifications to the source code, using `Pod update` to update will overwrite your modifications with the new version of TUIKit. |
43
- | Local DevelopmentPods Integration | Suitable for customers who have custom modifications to the source code | When you have your own git repository, you can track changes. After modifying the source code, using `Pod update` to update other remote Pod libraries will not overwrite your modifications. | You need to manually overwrite your local TUIKit folder with the TUIKit source code to update. |
37
+ |Integration Method|Scenarios|Advantages|Disadvantages|
38
+ |---------|---------|---------|---------|
39
+ |Remote CocoaPods|Used when no source code modification is required.|To update TUIKit, simply run `pod update`.|If you modify the source code, running `pod update` will overwrite your changes with the latest TUIKit version.|
40
+ |Local Development Pods|Recommended for customizing the source code.|If you use your own git repository, you can track changes. Updating other remote Pod libraries with `pod update` will not overwrite your customizations.|You must manually update your local TUIKit folder by replacing it with the latest source code.|
44
41
 
45
- ### Remote CocoaPods
42
+ Choose one of the following methods to integrate TUIKit:
46
43
 
47
- > **Note:**
48
- >
44
+ 【Remote CocoaPods Integration】
49
45
 
50
- > Swift language component support was introduced in TUIKit version 8.5.6870.
46
+ > **Note:**
51
47
  >
48
+ > 3. Starting from version 8.5.6870, TUIKit supports Swift components.
49
+ > 4. If you add only `pod 'TUIChat'` in your Podfile without specifying Classic or Minimalist UI, both UI component versions will be integrated by default.
50
+ > 5. **Classic and Minimalist UI cannot be mixed.** When integrating multiple components, select either all Classic UI or all Minimalist UI components. For example, the Classic `TUIChat` component must be used with Classic `TUIConversation` and `TUIContact` components. Similarly, the Minimalist `TUIChat` component must be used with Minimalist `TUIConversation` and `TUIContact` components.
51
+ > 6. If you use Swift, enable `use_modular_headers!` and use the @import module format for header imports.
52
52
 
53
- You can add components as needed in your Podfile:
53
+ Add the required component libraries to your Podfile as needed:
54
54
 
55
- 【Minimalist version】
55
+ 【Minimalist UI】
56
56
 
57
57
  【Swift】
58
58
  ``` bash
59
59
  # Uncomment the next line to define a global platform for your project
60
60
  # ...
61
61
  source 'https://github.com/CocoaPods/Specs.git'
62
- platform :ios, '13.0'
62
+ platform :ios, '14.0'
63
63
  # Prevent `*.xcassets` in TUIKit from conflicting with your project
64
64
  install! 'cocoapods', :disable_input_output_paths => true
65
65
 
@@ -95,7 +95,7 @@ post_install do |installer|
95
95
  config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
96
96
  config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
97
97
  config.build_settings['ENABLE_BITCODE'] = "NO"
98
- config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = "13.0"
98
+ config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = "14.0"
99
99
  #Fix Xcode15 other links flag -ld64
100
100
  xcode_version = `xcrun xcodebuild -version | grep Xcode | cut -d' ' -f2`.to_f
101
101
  if xcode_version >= 15
@@ -123,7 +123,7 @@ end
123
123
  # Uncomment the next line to define a global platform for your project
124
124
  # ...
125
125
  source 'https://github.com/CocoaPods/Specs.git'
126
- platform :ios, '13.0'
126
+ platform :ios, '14.0'
127
127
  # Prevent `*.xcassets` in TUIKit from conflicting with your project
128
128
  install! 'cocoapods', :disable_input_output_paths => true
129
129
 
@@ -165,7 +165,7 @@ post_install do |installer|
165
165
  config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
166
166
  config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
167
167
  config.build_settings['ENABLE_BITCODE'] = "NO"
168
- config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = "13.0"
168
+ config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = "14.0"
169
169
  #Fix Xcode15 other links flag -ld64
170
170
  xcode_version = `xcrun xcodebuild -version | grep Xcode | cut -d' ' -f2`.to_f
171
171
  if xcode_version >= 15
@@ -188,13 +188,13 @@ post_install do |installer|
188
188
  end
189
189
  ```
190
190
 
191
- 【Classic version】
191
+ 【Classic UI】
192
192
 
193
193
  【Swift】
194
194
  ``` bash
195
195
  # Uncomment the next line to define a global platform for your project
196
196
  source 'https://github.com/CocoaPods/Specs.git'
197
- platform :ios, '13.0'
197
+ platform :ios, '14.0'
198
198
  # Prevent `*.xcassets` in TUIKit from conflicting with your project
199
199
  install! 'cocoapods', :disable_input_output_paths => true
200
200
 
@@ -240,7 +240,7 @@ post_install do |installer|
240
240
  config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
241
241
  config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
242
242
  config.build_settings['ENABLE_BITCODE'] = "NO"
243
- config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = "13.0"
243
+ config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = "14.0"
244
244
  #Fix Xcode15 other links flag -ld64
245
245
  xcode_version = `xcrun xcodebuild -version | grep Xcode | cut -d' ' -f2`.to_f
246
246
  if xcode_version >= 15
@@ -267,7 +267,7 @@ end
267
267
  ``` bash
268
268
  # Uncomment the next line to define a global platform for your project
269
269
  source 'https://github.com/CocoaPods/Specs.git'
270
- platform :ios, '13.0'
270
+ platform :ios, '14.0'
271
271
  # Prevent `*.xcassets` in TUIKit from conflicting with your project
272
272
  install! 'cocoapods', :disable_input_output_paths => true
273
273
 
@@ -318,7 +318,7 @@ post_install do |installer|
318
318
  config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
319
319
  config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
320
320
  config.build_settings['ENABLE_BITCODE'] = "NO"
321
- config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = "13.0"
321
+ config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = "14.0"
322
322
  #Fix Xcode15 other links flag -ld64
323
323
  xcode_version = `xcrun xcodebuild -version | grep Xcode | cut -d' ' -f2`.to_f
324
324
  if xcode_version >= 15
@@ -341,59 +341,43 @@ post_install do |installer|
341
341
  end
342
342
  ```
343
343
 
344
- > **Indication**
345
- >
346
- > 1. If you directly use `pod 'TUIChat'` without specifying classic or minimalist, it will integrate both UI component versions by default.
347
- > 2. The Classic and Minimalist UI cannot be mixed. When integrating multiple components, you must choose classic UI or minimalist UI at the same time. For instance, the Classic TUIChat component must be used with the Classic versions of the TUIConversation, TUIContact, and TUIGroup. Similarly, the Minimalist version of the TUIChat component must be paired with the Minimalist versions of the TUIConversation, TUIContact.
348
- > 3. If you are using Swift, please enable `use_modular_headers!`, and change the header file reference to @import reference.
349
-
350
- After modifying the Podfile, run the following command to install TUIKit.
344
+ After updating your Podfile, run the following command to install the TUIKit components:
351
345
  ``` bash
352
346
  pod install
353
347
  ```
354
348
 
355
- If you cannot install the latest version of TUIKit, run the following command to update the local CocoaPods repository.
356
- ``` bash
357
- pod repo update
358
- ```
359
-
360
- Then run the following command to update the Pod version of the component.
361
- ``` bash
362
- pod update
363
- ```
364
-
365
- After all TUIKit components are integrated, the project structure is as follows:
366
-
367
- > **Note:**
349
+ > **Note:**
368
350
  >
351
+ > 7. If you cannot install the latest version of TUIKit, run `pod repo update` to update your local CocoaPods repository, then run `pod update` to update the component library version.
352
+ > 8. If you encounter third-party library version conflicts, see CocoaPods FAQs - Dependency Version Conflicts.
369
353
 
370
- > If you encounter any errors in the process, you can refer to the FAQs at the end of the document.
371
- >
354
+ After successfully integrating all TUIKit components, your project directory should resemble the following:
372
355
 
373
- ### Local DevelopmentPods
374
- 1. Download TUIKit source code from GitHub. Drag it directly into your project directory:
356
+ 【Local DevelopmentPods Integration】
357
+ 1. Download the TUIKit source code from GitHub and add the TUIKit directory directly to your project directory:
375
358
 
376
- 1. [Swift TUIKit in Github](https://github.com/Tencent-RTC/Chat_UIKit/tree/main/Swift/TUIKit):
359
+ - [Swift TUIKit Source Code GitHub](https://github.com/Tencent-RTC/Chat_UIKit/tree/main/Swift/TUIKit):
377
360
 
378
- 2. [Objective-C TUIKit in Github](https://github.com/TencentCloud/chat-uikit-ios/tree/main/TUIKit):
361
+ - [Objective-C TUIKit Source Code GitHub](https://github.com/TencentCloud/chat-uikit-ios/tree/main/TUIKit):
379
362
 
380
- 2. Modify the local path of each component in your Podfile. The path is the location of the TUIKit folder relative to your project's Podfile, commonly including:
363
+ 2. Specify the local path for each component in your Podfile. The `:path` parameter value depends on the TUIKit folder’s location relative to the Podfile:
381
364
 
382
- - The TUIKit folder is located in the **parent directory** of your project's Podfile: `pod 'TUICore', :path => "../TUIKit/TUICore"`
365
+ Common path configurations:
366
+ - TUIKit is in the **parent directory** of the Podfile: `pod 'TUICore', :path => "../TUIKit/TUICore"`
383
367
 
384
- - The TUIKit folder is located in the **current directory** of your project's Podfile: `pod 'TUICore', :path => "./TUIKit/TUICore"`
368
+ - TUIKit is in the **current directory** of the Podfile: `pod 'TUICore', :path => "./TUIKit/TUICore"`
385
369
 
386
- - The TUIKit folder is located in the **subdirectory** of your project's Podfile: ` pod 'TUICore', :path => "/TUIKit/TUICore"`
370
+ - TUIKit is in a **subdirectory** of the Podfile: `pod 'TUICore', :path => "TUIKit/TUICore"`
387
371
 
388
- Taking the TUIKit folder located in the parent directory of your project's Podfile as an example:
372
+ The following Podfile path configuration assumes the TUIKit folder is in the parent directory of the Podfile:
389
373
 
390
374
  【DevelopmentPodfile】
391
375
 
392
376
  【Swift】
393
377
  ``` bash
394
- ment# Uncomment the next line to define a global platform for your project
378
+ # Uncomment the next line to define a global platform for your project
395
379
  source 'https://github.com/CocoaPods/Specs.git'
396
- platform :ios, '13.0'
380
+ platform :ios, '14.0'
397
381
  install! 'cocoapods', :disable_input_output_paths => true
398
382
 
399
383
  # Replace `your_project_name` with your actual project name
@@ -435,7 +419,7 @@ post_install do |installer|
435
419
  config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
436
420
  config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
437
421
  config.build_settings['ENABLE_BITCODE'] = "NO"
438
- config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = "13.0"
422
+ config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = "14.0"
439
423
  #Fix Xcode15 other links flag -ld64
440
424
  xcode_version = `xcrun xcodebuild -version | grep Xcode | cut -d' ' -f2`.to_f
441
425
  if xcode_version >= 15
@@ -460,9 +444,9 @@ end
460
444
 
461
445
  【Objective-C】
462
446
  ``` bash
463
- ment# Uncomment the next line to define a global platform for your project
447
+ # Uncomment the next line to define a global platform for your project
464
448
  source 'https://github.com/CocoaPods/Specs.git'
465
- platform :ios, '13.0'
449
+ platform :ios, '14.0'
466
450
  install! 'cocoapods', :disable_input_output_paths => true
467
451
 
468
452
  # Replace `your_project_name` with your actual project name
@@ -519,7 +503,7 @@ post_install do |installer|
519
503
  config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
520
504
  config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
521
505
  config.build_settings['ENABLE_BITCODE'] = "NO"
522
- config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = "13.0"
506
+ config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = "14.0"
523
507
  #Fix Xcode15 other links flag -ld64
524
508
  xcode_version = `xcrun xcodebuild -version | grep Xcode | cut -d' ' -f2`.to_f
525
509
  if xcode_version >= 15
@@ -541,85 +525,57 @@ post_install do |installer|
541
525
  end
542
526
  end
543
527
  ```
528
+ 3. After updating your Podfile, run the following command to install the TUIKit components:
544
529
 
545
- 3. After modifying the Podfile, run the following command to install the local TUIKit components. Example:
546
-
547
- ``` bash
548
- pod install
549
- ```
550
-
551
- > **Note:**
552
- >
553
- > 4. When using the local integration solution, if you need to upgrade, you must obtain the latest souce code from Github and overwrite the TUIKit directory in your local project.
554
- > 5. When private modifications conflict with the remote version, manual merging is required to resolve conflicts.
555
- > 6. The TUIKit plugin relies on the version of TUICore, so please ensure that the plugin version matches the spec.version in "../TUIKit/TUICore/TUICore.spec".
556
-
557
- ## Third-party Library Dependencies
558
-
559
- The minimum version requirements for third-party libraries depended on by TUIKit are as follows. If your version is lower, please upgrade to the latest version.
560
-
561
- 【Swift】
562
- ``` plaintext
563
- - MJExtension (3.4.1)
564
- - MJRefresh (3.7.5)
565
- - SnapKit (5.7.1)
566
- - SSZipArchive (2.4.3)
567
- - SDWebImage (5.18.11)
568
- ```
569
-
570
- 【Objective-C】
571
- ``` plaintext
572
- - Masonry (1.1.0)
573
- - MJExtension (3.4.1)
574
- - MJRefresh (3.7.5)
575
- - ReactiveObjC (3.1.1)
576
- - SDWebImage (5.18.11):
577
- - SDWebImage/Core (= 5.18.11)
578
- - SDWebImage/Core (5.18.11)
579
- - SnapKit (5.6.0)
580
- - SSZipArchive (2.4.3)
530
+ ``` bash
531
+ pod install
581
532
  ```
582
533
 
583
- ## Build Basic Interfaces
534
+ > **Notes:**
535
+ >
536
+ > 4. When using local integration, you must obtain the latest component code from GitHub and overwrite your local TUIKit directory when upgrading.
537
+ > 5. If you have private modifications that conflict with the remote repository, manually merge and resolve conflicts.
538
+ > 6. TUIKit plugins depend on the TUICore version. Ensure the plugin version matches the `spec.version` in `../TUIKit/TUICore/TUICore.spec`.
539
+ > 7. If you encounter third-party library version conflicts, see CocoaPods FAQs - Dependency Version Conflicts.
584
540
 
585
- After integrating TUIKit, if you want to continue building basic interfaces for chat, conversation list, etc., please refer to the document: [Build Chat](https://www.tencentcloud.com/document/product/1047/61215), [Build Conversation List.](https://www.tencentcloud.com/document/product/1047/61217)
541
+ Now you have successfully integrated TUIKit into your project. To continue building basic interfaces such as chat and conversation, see [Build Chat Interface](https://www.tencentcloud.com/zh/document/product/1047/61215) and [Build Conversation List.](https://www.tencentcloud.com/zh/document/product/1047/61217)
586
542
 
587
543
  ## FAQs
588
544
 
589
- ### Xcode Issues
590
- - **Integration error: [Xcodeproj] Unknown object version (60). (RuntimeError)**
545
+ ### Xcode
546
+ - **Integration Error: [Xcodeproj] Unknown object version (60). (RuntimeError)**
591
547
 
592
- When integrating TUIKit in a new project created with Xcode15 and entering `pod install`, you may encounter this issue due to using an older version of CocoaPods. There are two solutions:
548
+ When creating a new project with Xcode 15 and integrating TUIKit, this error may occur after running `pod install`. It is caused by an outdated version of CocoaPods. There are two solutions:
593
549
 
594
- Solution 1: Change the Xcode project's `Project Format` version to Xcode13.0.
550
+ **Solution 1**: Change your Xcode project’s `Project Format` version to Xcode 13.0.
595
551
 
596
- Solution 2: Upgrade your local version of CocoaPods. The upgrade method will not be elaborated here.
552
+ ** Solution 2**: Upgrade your local version of CocoaPods. (Upgrade steps not detailed here.)
597
553
 
598
554
  - **Assertion failed: (false && "compact unwind compressed function offset doesn't fit in 24 bits"), function operator(), file Layout.cpp.**
599
555
 
600
- Or, when integrating TUIRoom with XCode15, the latest linker causes symbol conflicts in TUIRoomEngine, which is also part of this issue.
556
+ Alternatively, when integrating TUIRoom with Xcode 15, you may encounter symbol conflicts in TUIRoomEngine caused by the latest linker. Both issues have the same root cause.
601
557
 
602
- Solution: Modify the linker configuration. In `Build Settings`, add `-ld64` to `Other Linker Flags`.
558
+ **Solution**: Update the linker configuration. Add `-ld64` to `Other Linker Flags` in Build Settings.
603
559
 
604
- Official Documentation: [https://developer.apple.com/forums/thread/735426](https://links.jianshu.com/go?to=https%3A%2F%2Fdeveloper.apple.com%2Fforums%2Fthread%2F735426)
560
+ Official document: [https://developer.apple.com/forums/thread/735426](https://links.jianshu.com/go)
605
561
 
606
562
  - **Rosetta Simulator Issue**
607
563
 
608
- When using Apple Silicon (M1, M2, etc. series chips), you'll encounter this type of popup. The reason is that some third-party libraries, including SDWebImage, do not support xcframework. However, Apple has still provided an adaptation method, which is to enable Rosetta settings on the emulator. Generally, the Rosetta option will automatically pop up during compilation.
564
+ On Apple Silicon chips (M1/M2 series), you may see a popup due to some third-party libraries (such as SDWebImage) not supporting XCFramework. Apple provides a workaround: enable Rosetta on the simulator. The Rosetta option usually appears automatically during compilation.
609
565
 
610
566
  - **Xcode 15 Developer Sandbox Option Error: Sandbox: bash(xxx) deny(1) file-write-create**
611
567
 
612
- When you create a new project using Xcode 15, this option may cause compilation and execution failure. It is recommended that you turn off this option.
568
+ When creating a new project with Xcode 15, enabling this option may cause build and run failures. We recommend disabling this option.
613
569
 
614
- - **Xcode 16 does not support enabling bitcode for Frameworks**
570
+ - **Xcode 16 Does Not Support Framework Bitcode**
615
571
 
616
- **Solution 1: Upgrade the SDK**
572
+ **Solution 1: Upgrade SDK**
617
573
 
618
- If you are using an old version SDK with Bitcode (e.g., TXIMSDK_iOS), it is recommended to follow this document and upgrade the SDK to TXIMSDK_Plus_iOS_XCFramework.
574
+ If you are using an older SDK version that includes Bitcode (such as TXIMSDK_iOS), upgrade to TXIMSDK_Plus_iOS_XCFramework as described in this documentation.
619
575
 
620
- **Solution 2: Modify the Podfile**
576
+ **Solution 2: Modify Podfile Configuration**
621
577
 
622
- Add the following configuration to the end of your Podfile and run pod install again.
578
+ Add the following configuration to the end of your Podfile and run `pod install` again.
623
579
 
624
580
  ``` java
625
581
  post_install do |installer|
@@ -639,31 +595,71 @@ After integrating TUIKit, if you want to continue building basic interfaces for
639
595
  end
640
596
  ```
641
597
 
642
- ### CocoaPods Issues
643
- - **When using remote integration, issues with mismatched Pod dependency versions**
598
+ ### CocoaPods
599
+ - **Pod Dependency Version Mismatch When Using Remote Integration**
600
+
601
+ If you encounter a version mismatch between Podfile.lock and the plugin's TUICore dependency when using remote CocoaPods integration:
602
+
603
+ Delete the Podfile.lock file, run `pod repo update` to update the local code repository, and then run `pod update`.
604
+
605
+ - **Pod Dependency Version Mismatch When Using Local Integration**
606
+
607
+ When integrating TUI components (such as TUIChat, TUIConversation, TIMCommon, etc.) using local Development Pods, and integrating TUICallKit via remote CocoaPods, you may encounter dependency conflicts caused by inconsistent version numbers. This issue is specifically manifested as follows:
608
+
609
+ - Locally integrated TUI components and their dependency TUICore use a default version number of 1.0.0.
610
+
611
+ - Remotely integrated TUICallKit and its dependency TUICore use a specific remote version (for example, 7.5.4852).
612
+
613
+ This results in a version conflict for TUICore.
614
+
615
+ **Solution:**
616
+
617
+ To resolve this issue, align the version numbers of your local TUI components and TUICore with the version used by the remote TUICallKit. Follow these steps:
618
+
619
+ 1. In [Podfile_local](https://github.com/TencentCloud/chat-uikit-ios/blob/main/Demo/Podfile_local), update the version numbers of the relevant local components to match the remote version.
644
620
 
645
- If you encounter a mismatch between the Podfile.lock and the plugin dependency version of TUICore while using remote CocoaPods integration,
621
+ 2. In the [TUICore.podspec](https://github.com/TencentCloud/chat-uikit-ios/blob/main/TUIKit/TUICore/TUICore.podspec) file, set the version number to the same remote version (for example, 7.5.4852).By ensuring all components use a consistent version, you can avoid dependency conflicts during integration.
646
622
 
647
- please delete the Podfile.lock file and use `pod repo update`to update your local repository, then use `pod update` to refresh the updates.
623
+ -
648
624
 
649
- - **When using local integration, issues with mismatched Pod dependency versions**
625
+ **Which third-party libraries does TUIKit depend on? What should I do if there are version conflicts?**
650
626
 
651
- When integrating local DevelopmentPods and the plugin dependency on TUICoreis newer, but the local Pod dependency version is 1.0.0,
627
+ TUIKit manages dependencies automatically via CocoaPods, so manual intervention is typically unnecessary. If you encounter version conflicts, ensure your third-party library versions meet the following minimum requirements:
652
628
 
653
- Please refer to [Podfile_local](https://github.com/TencentCloud/chat-uikit-ios/blob/main/Demo/Podfile_local) and [TUICore.spec](https://github.com/TencentCloud/chat-uikit-ios/blob/main/TUIKit/TUICore/TUICore.podspec) for modifications. The plugin needs to follow the version and match the one in TUICore.spec.
629
+ 【Swift Components】
630
+ ``` json
631
+ - MJExtension (3.4.1)
632
+ - MJRefresh (3.7.5)
633
+ - SnapKit (5.7.1)
634
+ - SSZipArchive (2.4.3)
635
+ - SDWebImage (5.18.11)
636
+ ```
637
+
638
+ 【Objective-C Components】
639
+ ``` json
640
+ - Masonry (1.1.0)
641
+ - MJExtension (3.4.1)
642
+ - MJRefresh (3.7.5)
643
+ - ReactiveObjC (3.1.1)
644
+ - SDWebImage (5.18.11):
645
+ - SDWebImage/Core (= 5.18.11)
646
+ - SDWebImage/Core (5.18.11)
647
+ - SnapKit (5.6.0)
648
+ - SSZipArchive (2.4.3)
649
+ ```
654
650
 
655
- When using local integration for the first time, we recommend you download our sample Demo project, replace the content of the Podfile with Podfile_local, and execute `Pod update` for cross-reference.
651
+ ### App Store Submission
652
+ - **Packaging Fails When Submitting to App Store, Error: Unsupported Architectures**
656
653
 
657
- ### Submission Issues
658
- - **Packaging failure when launching on the Appstore, with an 'Unsupported Architectures' error message.**
654
+ The following error may occur during packaging: ImSDK_Plus.framework contains the x86_64 simulator version, which is not supported by the App Store. This is because the SDK includes the simulator version by default for developer debugging.
659
655
 
660
- The issue is illustrated below, where packaging indicates the ImSDK_Plus.framework includes an x86_64 simulator version not supported by the Appstore. This is because the SDK, to facilitate developer debugging, defaults to including the simulator version upon release.
656
+ **Solution:**
661
657
 
662
- You can follow the steps below to remove the simulator version during packaging:
658
+ To remove the simulator version during packaging:
663
659
 
664
- 1. Select your project's Target and click on the `Build Phases` option, then add a `Run Script` to the current panel;
660
+ 1. Select your project's Target, go to the `Build Phases` tab, and add a `Run Script` in the current panel.
665
661
 
666
- 2. In the newly added Run Script, insert the following script:
662
+ 2. In the new Run Script, add the following script:
667
663
 
668
664
  ``` bash
669
665
  #!/bin/sh
@@ -702,33 +698,39 @@ After integrating TUIKit, if you want to continue building basic interfaces for
702
698
  done
703
699
  ```
704
700
 
705
- ### TUICallKit Issues
706
- - **What should I do if TUICallKit conflicts with an audio/video library that I have integrated?**
701
+ ### TUICallKit
702
+ - **TUICallKit Conflicts with Your Own Integrated Audio/Video Library?**
707
703
 
708
- Tencent Cloud's audio and video libraries cannot be integrated simultaneously due to possible symbol conflicts. These can be addressed as follows.
704
+ Tencent Cloud audio/video libraries cannot be integrated together, as symbol conflicts may occur. Handle this according to your scenario:
709
705
 
710
- 1. If you have integrated the `TXLiteAVSDK_TRTC` library, a symbol conflict will not occur. You can directly add the dependency in Podfile:
706
+ 1. If you use the `TXLiteAVSDK_TRTC` library, no symbol conflicts will occur. Add the dependency in your Podfile:
711
707
 
712
708
  ``` ruby
713
709
  pod 'TUICallKit_Swift'
714
710
  ```
715
- 2. If you have integrated the `TXLiteAVSDK_Professional` library, a symbol conflict will occur. You can add the dependency in Podfile:
711
+ 2. If you use the `TXLiteAVSDK_Professional` library, symbol conflicts will occur. Add the dependency in your Podfile:
716
712
 
717
713
  ``` ruby
718
714
  pod 'TUICallKit_Swift/Professional'
719
715
  ```
720
- 3. If you have integrated the `TXLiteAVSDK_Enterprise` library, a symbol conflict will occur. It is recommended to upgrade to `TXLiteAVSDK_Professional` and then use TUICallKit_Swift/Professional.
716
+ 3. If you use the `TXLiteAVSDK_Enterprise` library, symbol conflicts will occur. We recommend upgrading to `TXLiteAVSDK_Professional` and then using `TUICallKit_Swift/Professional`.
717
+
718
+ - **What is the default timeout for call invitations?**
719
+
720
+ The default timeout for call invitations is 30 seconds.
721
+
722
+ - **If the invitee goes offline and comes back online within the invitation timeout, can they receive the invitation immediately?**
721
723
 
722
- - **How long is the default duration for call invitation timeouts?**
724
+ 1.1 For one-on-one call invitations, if the invitee goes offline and comes back online, they will receive the call invitation. TUIKit will automatically display the call invitation interface.
723
725
 
724
- The default timeout duration for a call invitation is 30 seconds.
726
+ 1.2 For group call invitations, if the invitee goes offline and comes back online, TUIKit will automatically retrieve invitations from the last 30 seconds and display the group call interface.
725
727
 
726
- - **During the invitation timeout period, can the invitee immediately receive the invitation if they go offline and then online?**
728
+ ### Others
727
729
 
728
- 1.If the call invitation is started in a one-to-one chat, the invitee can receive the call invitation, and the TUIKit will automatically open the call invitation UI internally.
730
+ #### Using Emoji Packs
729
731
 
730
- 2.If the call invitation is for a group chat, the invitee will automatically fetch invitations from the last 30 seconds upon going online again, and the TUIKit will automatically trigger the group call interface.3.
732
+ To respect the copyright of emoji designs, the Chat Demo/TUIKit project does not include cutouts of large emoji elements. Please replace them with your own designs or other emoji packs for which you hold the copyright before officially launching for commercial use. **The default smiley face emoji pack shown below is copyrighted by Tencent RTC**, you can upgrade to [Chat Pro Plus Edition and Enterprise Edition](https://console.trtc.io/subscription/buy/chat) to use it for free.
731
733
 
732
734
  ## Contact Us
733
735
 
734
- If you have any questions about this article, feel free to join the [Telegram Technical Group](https://t.me/+EPk6TMZEZMM5OGY1), where you will receive reliable technical support.
736
+ If you have any questions or suggestions, feel free to join our [Telegram](https://t.me/tencent_imsdk) or [WhatsApp](https://chat.whatsapp.com/IVa11ZkVmKTEwSWsAzSyik) community, or [contact us](https://trtc.io/contact) for support.
@@ -0,0 +1,101 @@
1
+ ## Component Overview
2
+
3
+ `ChatSetting` is an intelligent chat settings component that can automatically render the appropriate settings interface based on the currently activated session type. This component internally integrates two modes: C2C (one-on-one) chat settings and group chat settings, providing users with a uniform chat settings portal.
4
+
5
+ Core features of components:
6
+ - **Automatic adaptation** - The settings interface is automatically switched based on session type
7
+
8
+ - **Status-driven** - Auto-update content based on the current active session status
9
+
10
+ ## Props Parameters
11
+
12
+ |Parameter|Type|Default Value|Description|
13
+ |---------|---------|---------|---------|
14
+ |className|string \| undefined|undefined|Custom CSS class name|
15
+ |style|React.CSSProperties \| undefined|undefined|Custom inline style|
16
+
17
+ ## Quick Usage
18
+
19
+ `ChatSetting` is an independent component that can be used freely. By default, the switch control is on the ChatHeader Component. Alternatively use the useUIOpenControlState Hook to customize the ChatSetting switch.
20
+ ``` typescript
21
+ import { useState } from 'react';
22
+ import {
23
+ ChatSetting,
24
+ Search,
25
+ useChatContext,
26
+ VariantType,
27
+ } from '@tencentcloud/chat-uikit-react';
28
+ import './styles.css';
29
+
30
+ function ChatSidePanelsBasicDemo() {
31
+ const [isChatSettingShow, setIsChatSettingShow] = useState(false);
32
+ const [isSearchShow, setIsSearchShow] = useState(false);
33
+ const [targetID, setTargetID] = useState('');
34
+ const [conversationType, setConversationType] = useState<'C2C' | 'GROUP'>('C2C');
35
+ const { activeConversationID, setActiveConversation } = useChatContext();
36
+
37
+ const handleActivateConversation = () => {
38
+ const normalizedID = targetID.trim();
39
+ if (!normalizedID) {
40
+ return;
41
+ }
42
+ setActiveConversation(`${conversationType}${normalizedID}`);
43
+ };
44
+
45
+ return (
46
+ <div className="chat-side-panels-basic-demo">
47
+ <div className="chat-side-panels-basic-demo__header">
48
+ <h2>Chat Side Panels</h2>
49
+ <p>Activate a conversation, then open or close ChatSetting and Search.</p>
50
+ </div>
51
+
52
+ <div className="chat-side-panels-basic-demo__frame">
53
+ <div className="chat-side-panels-basic-demo__actions">
54
+ <input
55
+ onChange={event => setTargetID(event.target.value)}
56
+ placeholder="User ID or group ID"
57
+ value={targetID}
58
+ />
59
+ <select
60
+ onChange={event => setConversationType(event.target.value as 'C2C' | 'GROUP')}
61
+ value={conversationType}
62
+ >
63
+ <option value="C2C">C2C</option>
64
+ <option value="GROUP">GROUP</option>
65
+ </select>
66
+ <button onClick={handleActivateConversation} type="button">
67
+ Activate Conversation
68
+ </button>
69
+ <span className="chat-side-panels-basic-demo__active">
70
+ Active: {activeConversationID || 'None'}
71
+ </span>
72
+ <button
73
+ onClick={() => setIsChatSettingShow(show => !show)}
74
+ type="button"
75
+ >
76
+ {isChatSettingShow ? 'Hide Setting' : 'Show Setting'}
77
+ </button>
78
+ <button
79
+ onClick={() => setIsSearchShow(show => !show)}
80
+ type="button"
81
+ >
82
+ {isSearchShow ? 'Hide Search' : 'Show Search'}
83
+ </button>
84
+ </div>
85
+
86
+ {isChatSettingShow && (
87
+ <div className="chat-side-panels-basic-demo__panel">
88
+ <ChatSetting />
89
+ </div>
90
+ )}
91
+
92
+ {isSearchShow && (
93
+ <div className="chat-side-panels-basic-demo__panel">
94
+ <Search variant={VariantType.EMBEDDED} />
95
+ </div>
96
+ )}
97
+ </div>
98
+ </div>
99
+ );
100
+ }
101
+ ```