@tencent-rtc/mcp 1.4.7 → 1.6.0-beta.1
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/cursor-setting.png +0 -0
- package/knowledge/bm25-cache.js +74 -0
- package/knowledge/bm25-cache.js.map +1 -0
- package/knowledge/bm25.js +148 -0
- package/knowledge/bm25.js.map +1 -0
- package/knowledge/build-index.js +70 -0
- package/knowledge/build-index.js.map +1 -0
- package/knowledge/chunker.js +168 -0
- package/knowledge/chunker.js.map +1 -0
- package/knowledge/content-loader.js +40 -0
- package/knowledge/content-loader.js.map +1 -0
- package/knowledge/doc-url-resolver.js +143 -0
- package/knowledge/doc-url-resolver.js.map +1 -0
- package/knowledge/extractors.js +26 -0
- package/knowledge/extractors.js.map +1 -0
- package/knowledge/path-meta.js +185 -0
- package/knowledge/path-meta.js.map +1 -0
- package/knowledge/search/exact-lookup.js +498 -0
- package/knowledge/search/exact-lookup.js.map +1 -0
- package/knowledge/search/filter-pool.js +105 -0
- package/knowledge/search/filter-pool.js.map +1 -0
- package/knowledge/search/product-scope-intent.js +41 -0
- package/knowledge/search/product-scope-intent.js.map +1 -0
- package/knowledge/search/requires-framework.js +82 -0
- package/knowledge/search/requires-framework.js.map +1 -0
- package/knowledge/search/search-knowledge.js +230 -0
- package/knowledge/search/search-knowledge.js.map +1 -0
- package/mcp-server-prompt.png +0 -0
- package/package.json +1 -1
- package/resource/_schema/feature-aliases.yaml +10 -0
- package/resource/_schema/goal-tags.yaml +72 -0
- package/resource/_schema/products.yaml +19 -0
- package/resource/_schema/trtc-intents.yaml +27 -0
- package/resource/_schema/types.yaml +43 -0
- package/resource/index/component-slugs.json +1 -0
- package/resource/index/doc-source-urls.json +1 -0
- package/resource/index/manifest.json +1 -0
- package/resource/{doc → integration}/callkit/preset/android/integration.md +34 -28
- package/resource/integration/callkit/preset/flutter/integration.md +346 -0
- package/resource/integration/callkit/preset/ios/integration.md +408 -0
- package/resource/integration/callkit/preset/react/integration.md +362 -0
- package/resource/integration/callkit/preset/vue/integration.md +356 -0
- package/resource/integration/chat/preset/android/integration.md +500 -0
- package/resource/integration/chat/preset/flutter/integration.md +370 -0
- package/resource/integration/chat/preset/ios/integration.md +566 -0
- package/resource/integration/chat/preset/react/integration.md +490 -0
- package/resource/integration/chat/preset/vue/integration.md +504 -0
- package/resource/{doc → integration}/livekit/preset/live/vue/live-list-integration.md +26 -22
- package/resource/{doc → integration}/livekit/preset/live/vue/live-player-desk-integration.md +22 -18
- package/resource/integration/livekit/preset/live/vue/live-player-h5-integration.md +309 -0
- package/resource/{doc → integration}/livekit/preset/live/vue/live-pusher-integration.md +47 -39
- package/resource/integration/roomkit/preset/vue/integration.md +562 -0
- package/resource/knowledge/callkit/core-sdk/android/answer-call.md +828 -0
- package/resource/knowledge/callkit/core-sdk/android/make-call.md +897 -0
- package/resource/knowledge/callkit/core-sdk/android/offline-push.md +363 -0
- package/resource/knowledge/callkit/core-sdk/flutter/answer-call.md +1111 -0
- package/resource/knowledge/callkit/core-sdk/flutter/make-call.md +1132 -0
- package/resource/{doc → knowledge}/callkit/core-sdk/flutter/offline-push.md +174 -151
- package/resource/knowledge/callkit/core-sdk/ios/answer-call.md +1084 -0
- package/resource/knowledge/callkit/core-sdk/ios/make-call.md +1252 -0
- package/resource/knowledge/callkit/core-sdk/ios/offline-push.md +534 -0
- package/resource/knowledge/callkit/core-sdk/uni-app/answer-call.md +953 -0
- package/resource/knowledge/callkit/core-sdk/uni-app/make-call.md +1061 -0
- package/resource/knowledge/callkit/faq/android.md +92 -0
- package/resource/{doc/callkit/faq/android-faq.md → knowledge/callkit/faq/common.md} +11 -12
- package/resource/knowledge/callkit/faq/error-code.md +67 -0
- package/resource/knowledge/callkit/faq/flutter.md +52 -0
- package/resource/knowledge/callkit/faq/ios.md +104 -0
- package/resource/knowledge/callkit/faq/web.md +74 -0
- package/resource/knowledge/callkit/preset/android/api.md +412 -0
- package/resource/knowledge/callkit/preset/flutter/api.md +22 -0
- package/resource/knowledge/callkit/preset/ios/api.md +234 -0
- package/resource/knowledge/callkit/preset/web/api.md +83 -0
- package/resource/knowledge/chat/preset/android/features/chat-setting.md +74 -0
- package/resource/knowledge/chat/preset/android/features/contact-list.md +43 -0
- package/resource/knowledge/chat/preset/android/features/conversation-list.md +117 -0
- package/resource/knowledge/chat/preset/android/features/language.md +136 -0
- package/resource/knowledge/chat/preset/android/features/message-input.md +57 -0
- package/resource/knowledge/chat/preset/android/features/message-list.md +142 -0
- package/resource/knowledge/chat/preset/android/features/search.md +64 -0
- package/resource/knowledge/chat/preset/android/features/theme.md +222 -0
- package/resource/knowledge/chat/preset/android-view/integration.md +300 -0
- package/resource/knowledge/chat/preset/flutter/features/chat-setting.md +64 -0
- package/resource/knowledge/chat/preset/flutter/features/contact-list.md +40 -0
- package/resource/knowledge/chat/preset/flutter/features/conversation-list.md +129 -0
- package/resource/knowledge/chat/preset/flutter/features/language.md +104 -0
- package/resource/knowledge/chat/preset/flutter/features/message-input.md +54 -0
- package/resource/knowledge/chat/preset/flutter/features/message-list.md +158 -0
- package/resource/knowledge/chat/preset/flutter/features/search.md +59 -0
- package/resource/knowledge/chat/preset/flutter/features/theme.md +261 -0
- package/resource/knowledge/chat/preset/ios/features/chat-setting.md +94 -0
- package/resource/knowledge/chat/preset/ios/features/contact-list.md +119 -0
- package/resource/knowledge/chat/preset/ios/features/conversation-list.md +134 -0
- package/resource/knowledge/chat/preset/ios/features/language.md +125 -0
- package/resource/knowledge/chat/preset/ios/features/message-input.md +69 -0
- package/resource/knowledge/chat/preset/ios/features/message-list.md +162 -0
- package/resource/knowledge/chat/preset/ios/features/search.md +93 -0
- package/resource/knowledge/chat/preset/ios/features/theme.md +270 -0
- package/resource/{doc/chatkit/ios → knowledge/chat/preset/ios-uikit}/integration.md +160 -158
- package/resource/knowledge/chat/preset/react/features/chat-setting.md +101 -0
- package/resource/{doc/chatkit/react/components → knowledge/chat/preset/react/features}/contact-list.md +43 -41
- package/resource/knowledge/chat/preset/react/features/conversation-actions.md +215 -0
- package/resource/knowledge/chat/preset/react/features/conversation-list.md +339 -0
- package/resource/knowledge/chat/preset/react/features/conversation-preview.md +101 -0
- package/resource/knowledge/chat/preset/react/features/conversation-search.md +61 -0
- package/resource/{doc/chatkit/react/components → knowledge/chat/preset/react/features}/message-input.md +117 -156
- package/resource/knowledge/chat/preset/react/features/message-list.md +297 -0
- package/resource/{doc/chatkit/react/components → knowledge/chat/preset/react/features}/search.md +65 -59
- package/resource/knowledge/chat/preset/react/features/theme.md +93 -0
- package/resource/knowledge/chat/preset/vue/features/chat-header.md +331 -0
- package/resource/knowledge/chat/preset/vue/features/chat-setting.md +79 -0
- package/resource/knowledge/chat/preset/vue/features/contact-list.md +277 -0
- package/resource/knowledge/chat/preset/vue/features/conversation-actions.md +234 -0
- package/resource/knowledge/chat/preset/vue/features/conversation-list.md +331 -0
- package/resource/knowledge/chat/preset/vue/features/conversation-preview.md +216 -0
- package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/conversation-search.md +13 -13
- package/resource/knowledge/chat/preset/vue/features/message-input.md +551 -0
- package/resource/knowledge/chat/preset/vue/features/message-list.md +350 -0
- package/resource/{doc/chatkit/vue/components → knowledge/chat/preset/vue/features}/search.md +79 -73
- package/resource/knowledge/chat/preset/vue/features/theme.md +136 -0
- package/resource/knowledge/chat/urls/error-code.md +17 -0
- package/resource/knowledge/chat/urls/product.md +43 -0
- package/resource/knowledge/chat/urls/restapi.md +204 -0
- package/resource/knowledge/chat/urls/sdk/android.md +80 -0
- package/resource/knowledge/chat/urls/sdk/flutter.md +71 -0
- package/resource/knowledge/chat/urls/sdk/ios.md +80 -0
- package/resource/knowledge/chat/urls/sdk/web.md +80 -0
- package/resource/knowledge/chat/urls/webhook.md +68 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/AudioEffectStore.md +286 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/BarrageStore.md +174 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/BattleStore.md +329 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/CameraView.md +55 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/CoGuestStore.md +434 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/CoHostStore.md +362 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/DeviceStore.md +466 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/GiftStore.md +173 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LikeStore.md +51 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveAudienceStore.md +291 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveCoreView.md +78 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveSeatStore.md +488 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LoginStore.md +219 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/AudioEffectStore.md +282 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BarrageStore.md +212 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BaseBeautyStore.md +153 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BattleStore.md +312 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoGuestStore.md +404 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoHostStore.md +334 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/DeviceStore.md +426 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/GiftStore.md +166 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LikeStore.md +52 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveAudienceStore.md +281 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveCoreView.md +150 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveSeatStore.md +438 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LoginStore.md +190 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/AudioEffectStore.md +291 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/BarrageStore.md +192 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/BaseBeautyStore.md +146 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/BattleStore.md +309 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoGuestStore.md +370 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoHostStore.md +339 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/DeviceStore.md +503 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/GiftStore.md +188 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LikeStore.md +51 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveAudienceStore.md +289 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveCoreView.md +78 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveSeatStore.md +487 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LoginStore.md +183 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/web/index.md +736 -0
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-audience-list.md +53 -47
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-audio-effect.md +28 -24
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-barrage.md +22 -18
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-base-beauty.md +17 -15
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-co-guest-interaction.md +19 -18
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-gift.md +102 -89
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-host-interaction.md +41 -37
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-integration.md +45 -43
- package/resource/{doc → knowledge}/livekit/core-sdk/live/android/live-live-list.md +23 -20
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-audience-list.md +41 -41
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-audio-effect.md +70 -69
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-barrage.md +68 -71
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-base-beauty.md +43 -47
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-co-guest-interaction.md +59 -56
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-gift.md +103 -105
- package/resource/knowledge/livekit/core-sdk/live/flutter/live-host-interaction.md +869 -0
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-integration.md +84 -87
- package/resource/{doc → knowledge}/livekit/core-sdk/live/flutter/live-live-list.md +43 -40
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-audience-list.md +11 -10
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-audio-effect.md +28 -24
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-barrage.md +22 -18
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-base-beauty.md +15 -14
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-co-guest-interaction.md +19 -18
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-gift.md +54 -50
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-host-interaction.md +41 -37
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-integration.md +40 -40
- package/resource/{doc → knowledge}/livekit/core-sdk/live/ios/live-live-list.md +19 -18
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-audience-list.md +53 -47
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-audio-effect.md +28 -24
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-barrage.md +22 -18
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-co-guest-interaction.md +41 -33
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-gift.md +94 -81
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-host-interaction.md +35 -30
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-integration.md +45 -42
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/android/voice-room-list.md +23 -20
- package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-audience-list.md +260 -0
- package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-audio-effect.md +598 -0
- package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-barrage.md +490 -0
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/flutter/voice-co-guest-interaction.md +65 -59
- package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-gift.md +424 -0
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/flutter/voice-integration.md +69 -76
- package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-room-list.md +726 -0
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-audience-list.md +11 -10
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-audio-effect.md +28 -24
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-barrage.md +22 -18
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-co-guest-interaction.md +41 -33
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-gift.md +54 -50
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-host-interaction.md +35 -30
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-integration.md +49 -46
- package/resource/{doc → knowledge}/livekit/core-sdk/voice/ios/voice-room-list.md +19 -18
- package/resource/knowledge/livekit/faq/error-code.md +193 -0
- package/resource/{doc/livekit/preset/live/vue/components → knowledge/livekit/preset/live/vue/features}/barrage.md +56 -53
- package/resource/{doc/livekit/preset/live/vue/components → knowledge/livekit/preset/live/vue/features}/live-audience-list.md +22 -21
- package/resource/{doc/livekit/preset/live/vue/components → knowledge/livekit/preset/live/vue/features}/live-view.md +34 -32
- package/resource/knowledge/push/config/android.md +92 -0
- package/resource/knowledge/push/config/harmonyos.md +83 -0
- package/resource/knowledge/push/config/ios.md +254 -0
- package/resource/knowledge/push/config/react-native.md +254 -0
- package/resource/knowledge/push/config/unity.md +209 -0
- package/resource/knowledge/push/config/unreal-engine.md +194 -0
- package/resource/knowledge/push/integration/android.md +404 -0
- package/resource/knowledge/push/integration/flutter.md +465 -0
- package/resource/knowledge/push/integration/harmonyos.md +63 -0
- package/resource/knowledge/push/integration/ios.md +246 -0
- package/resource/knowledge/push/integration/react-native.md +366 -0
- package/resource/knowledge/push/integration/uni-app.md +208 -0
- package/resource/knowledge/push/integration/unity.md +389 -0
- package/resource/knowledge/push/integration/unreal-engine.md +390 -0
- package/resource/knowledge/push/overview/prepare.md +60 -0
- package/resource/knowledge/roomkit/core-sdk/android/call-user-to-room.md +241 -0
- package/resource/knowledge/roomkit/core-sdk/android/room-participant-state.md +588 -0
- package/resource/knowledge/roomkit/core-sdk/android/room-state.md +364 -0
- package/resource/knowledge/roomkit/core-sdk/android/schedule-room.md +340 -0
- package/resource/knowledge/roomkit/core-sdk/flutter/call-user-to-room.md +230 -0
- package/resource/knowledge/roomkit/core-sdk/flutter/room-participant-state.md +797 -0
- package/resource/knowledge/roomkit/core-sdk/flutter/room-state.md +325 -0
- package/resource/knowledge/roomkit/core-sdk/flutter/schedule-room.md +325 -0
- package/resource/knowledge/roomkit/core-sdk/ios/call-user-to-room.md +233 -0
- package/resource/knowledge/roomkit/core-sdk/ios/room-participant-state.md +569 -0
- package/resource/knowledge/roomkit/core-sdk/ios/room-state.md +325 -0
- package/resource/knowledge/roomkit/core-sdk/ios/schedule-room.md +322 -0
- package/resource/knowledge/roomkit/core-sdk/vue/call-user-to-room.md +221 -0
- package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/device-detection.md +49 -48
- package/resource/knowledge/roomkit/core-sdk/vue/device-state.md +461 -0
- package/resource/knowledge/roomkit/core-sdk/vue/free-beauty-panel.md +216 -0
- package/resource/knowledge/roomkit/core-sdk/vue/room-chat.md +370 -0
- package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/room-participant-state.md +61 -60
- package/resource/knowledge/roomkit/core-sdk/vue/room-state.md +280 -0
- package/resource/{doc/roomkit/vue/features → knowledge/roomkit/core-sdk/vue}/room-view.md +57 -56
- package/resource/knowledge/roomkit/core-sdk/vue/schedule-room.md +319 -0
- package/resource/knowledge/roomkit/core-sdk/vue/screen-share.md +267 -0
- package/resource/knowledge/roomkit/core-sdk/vue/virtual-background.md +261 -0
- package/resource/knowledge/roomkit/preset/android/integration.md +396 -0
- package/resource/knowledge/roomkit/preset/flutter/integration.md +404 -0
- package/resource/knowledge/roomkit/preset/ios/integration.md +369 -0
- package/resource/knowledge/roomkit/preset/react/integration.md +576 -0
- package/resource/knowledge/rtcengine/web/how_to_run_web_sdk_demo.md +44 -0
- package/resource/{doc → knowledge}/rtcengine/web/plugin/21-advanced-auto-play-policy.md +8 -2
- package/resource/{doc → knowledge}/rtcengine/web/plugin/22-advanced-audio-mixer.md +19 -1
- package/resource/{doc → knowledge}/rtcengine/web/plugin/23-advanced-support-detection.md +1 -1
- package/resource/{doc → knowledge}/rtcengine/web/plugin/24-advanced-network-quality.md +8 -8
- package/resource/{doc → knowledge}/rtcengine/web/plugin/25-advanced-device-change.md +1 -1
- package/resource/{doc → knowledge}/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +6 -6
- package/resource/{doc → knowledge}/rtcengine/web/plugin/27-advanced-small-stream.md +3 -3
- package/resource/{doc → knowledge}/rtcengine/web/plugin/29-advanced-water-mark.md +18 -0
- package/resource/{doc → knowledge}/rtcengine/web/plugin/31-advanced-plugins-overview.md +1 -1
- package/resource/{doc → knowledge}/rtcengine/web/plugin/34-advanced-proxy.md +2 -2
- package/resource/{doc → knowledge}/rtcengine/web/plugin/35-advanced-ai-denoiser.md +1 -1
- package/resource/knowledge/trtc/android/TRTCCloud.md +1915 -0
- package/resource/knowledge/trtc/android/TRTCCloudDef.md +1029 -0
- package/resource/knowledge/trtc/android/TRTCCloudListener.md +1095 -0
- package/resource/knowledge/trtc/android/TRTCStatistics.md +68 -0
- package/resource/knowledge/trtc/android/TXAudioEffectManager.md +502 -0
- package/resource/knowledge/trtc/android/TXBeautyManager.md +415 -0
- package/resource/knowledge/trtc/android/TXDeviceManager.md +169 -0
- package/resource/knowledge/trtc/android/TXLiteAVCode.md +125 -0
- package/resource/knowledge/trtc/c++/ITRTCCloud.md +2069 -0
- package/resource/knowledge/trtc/c++/ITRTCStatistics.md +73 -0
- package/resource/knowledge/trtc/c++/ITXAudioEffectManager.md +502 -0
- package/resource/knowledge/trtc/c++/ITXDeviceManager.md +391 -0
- package/resource/knowledge/trtc/c++/TRTCCloudCallback.md +1191 -0
- package/resource/knowledge/trtc/c++/TRTCTypeDef.md +931 -0
- package/resource/knowledge/trtc/c++/TXLiteAVCode.md +127 -0
- package/resource/knowledge/trtc/ios/TRTCCloud.md +2118 -0
- package/resource/knowledge/trtc/ios/TRTCCloudDef.md +975 -0
- package/resource/knowledge/trtc/ios/TRTCCloudDelegate.md +1131 -0
- package/resource/knowledge/trtc/ios/TRTCStatistics.md +68 -0
- package/resource/knowledge/trtc/ios/TXAudioEffectManager.md +423 -0
- package/resource/knowledge/trtc/ios/TXBeautyManager.md +416 -0
- package/resource/knowledge/trtc/ios/TXDeviceManager.md +387 -0
- package/resource/knowledge/trtc/ios/TXLiteAVCode.md +127 -0
- package/server.js +35 -11
- package/server.js.map +1 -1
- package/tools/call/get_native_call_uikit_integration.js +2 -3
- package/tools/call/get_native_call_uikit_integration.js.map +1 -1
- package/tools/call/get_native_callkit_core_integration.js +2 -5
- package/tools/call/get_native_callkit_core_integration.js.map +1 -1
- package/tools/call/get_web_call_uikit_integration.js +2 -3
- package/tools/call/get_web_call_uikit_integration.js.map +1 -1
- package/tools/chat/get_native_chat_uikit_integration.js +2 -3
- package/tools/chat/get_native_chat_uikit_integration.js.map +1 -1
- package/tools/chat/get_web_chat_uikit_integration.js +2 -3
- package/tools/chat/get_web_chat_uikit_integration.js.map +1 -1
- package/tools/common/present_framework_choice.js +19 -13
- package/tools/common/present_framework_choice.js.map +1 -1
- package/tools/common/record_answer.js +19 -25
- package/tools/common/record_answer.js.map +1 -1
- package/tools/common/record_feedback.js +17 -30
- package/tools/common/record_feedback.js.map +1 -1
- package/tools/common/search_trtc_knowledge.js +45 -0
- package/tools/common/search_trtc_knowledge.js.map +1 -0
- package/tools/definitions/get_native_call_uikit_integration_def.js +3 -1
- package/tools/definitions/get_native_call_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_native_callkit_core_integration_def.js +5 -3
- package/tools/definitions/get_native_callkit_core_integration_def.js.map +1 -1
- package/tools/definitions/get_native_chat_uikit_integration_def.js +5 -2
- package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_native_livekit_core_integration_def.js +6 -5
- package/tools/definitions/get_native_livekit_core_integration_def.js.map +1 -1
- package/tools/definitions/get_web_call_uikit_integration_def.js +4 -2
- package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_chat_uikit_integration_def.js +2 -0
- package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_live_uikit_integration_def.js +5 -5
- package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_room_core_integration_def.js +50 -0
- package/tools/definitions/get_web_room_core_integration_def.js.map +1 -0
- package/tools/definitions/get_web_room_uikit_integration_def.js +5 -4
- package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
- package/tools/definitions/integration-boundary.js +6 -0
- package/tools/definitions/integration-boundary.js.map +1 -0
- package/tools/definitions/present_framework_choice_def.js +12 -10
- package/tools/definitions/present_framework_choice_def.js.map +1 -1
- package/tools/definitions/record_answer_def.js +19 -17
- package/tools/definitions/record_answer_def.js.map +1 -1
- package/tools/definitions/record_feedback_def.js +14 -13
- package/tools/definitions/record_feedback_def.js.map +1 -1
- package/tools/definitions/search_trtc_knowledge_def.js +40 -0
- package/tools/definitions/search_trtc_knowledge_def.js.map +1 -0
- package/tools/index.js +5 -36
- package/tools/index.js.map +1 -1
- package/tools/live/get_native_livekit_core_integration.js +1 -3
- package/tools/live/get_native_livekit_core_integration.js.map +1 -1
- package/tools/live/get_web_live_uikit_integration.js +2 -4
- package/tools/live/get_web_live_uikit_integration.js.map +1 -1
- package/tools/room/get_web_room_core_integration.js +48 -0
- package/tools/room/get_web_room_core_integration.js.map +1 -0
- package/tools/room/get_web_room_uikit_integration.js +2 -3
- package/tools/room/get_web_room_uikit_integration.js.map +1 -1
- package/utils/generate-structured-result.js +24 -30
- package/utils/generate-structured-result.js.map +1 -1
- package/utils/get-doc-content.js +14 -8
- package/utils/get-doc-content.js.map +1 -1
- package/utils/report-cls-client.js +18 -20
- package/utils/report-cls-client.js.map +1 -1
- package/utils/report-es-client.js +1 -1
- package/resource/doc/callkit/core-sdk/.gitkeep +0 -0
- package/resource/doc/callkit/core-sdk/android/answer-call.md +0 -852
- package/resource/doc/callkit/core-sdk/android/make-call.md +0 -954
- package/resource/doc/callkit/core-sdk/android/offline-push.md +0 -361
- package/resource/doc/callkit/core-sdk/flutter/answer-call.md +0 -1160
- package/resource/doc/callkit/core-sdk/flutter/make-call.md +0 -1205
- package/resource/doc/callkit/core-sdk/ios/answer-call.md +0 -1090
- package/resource/doc/callkit/core-sdk/ios/make-call.md +0 -1248
- package/resource/doc/callkit/core-sdk/ios/offline-push.md +0 -485
- package/resource/doc/callkit/core-sdk/uni-app/answer-call.md +0 -950
- package/resource/doc/callkit/core-sdk/uni-app/make-call.md +0 -1052
- package/resource/doc/callkit/faq/common/error-code.md +0 -47
- package/resource/doc/callkit/faq/flutter-faq.md +0 -115
- package/resource/doc/callkit/faq/ios-faq.md +0 -115
- package/resource/doc/callkit/faq/web-faq.md +0 -36
- package/resource/doc/callkit/preset/android/api.md +0 -296
- package/resource/doc/callkit/preset/flutter/api.md +0 -410
- package/resource/doc/callkit/preset/flutter/integration.md +0 -164
- package/resource/doc/callkit/preset/ios/api.md +0 -80
- package/resource/doc/callkit/preset/ios/integration.md +0 -187
- package/resource/doc/callkit/preset/react/api.md +0 -501
- package/resource/doc/callkit/preset/react/integration.md +0 -86
- package/resource/doc/callkit/preset/vue/api.md +0 -501
- package/resource/doc/callkit/preset/vue/integration.md +0 -83
- package/resource/doc/chatkit/android/faq.md +0 -111
- package/resource/doc/chatkit/android/features/theme.md +0 -219
- package/resource/doc/chatkit/android/integration.md +0 -490
- package/resource/doc/chatkit/faq/android_sdk/client-api.md +0 -281
- package/resource/doc/chatkit/faq/common/product.md +0 -7
- package/resource/doc/chatkit/faq/common/server.md +0 -44
- package/resource/doc/chatkit/faq/common/server_error_code.md +0 -74
- package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +0 -199
- package/resource/doc/chatkit/faq/flutter_sdk/faq.md +0 -53
- package/resource/doc/chatkit/faq/ios_sdk/client-api.md +0 -235
- package/resource/doc/chatkit/faq/web_sdk/error_code.md +0 -47
- package/resource/doc/chatkit/faq/web_sdk/faq.md +0 -287
- package/resource/doc/chatkit/flutter/faq.md +0 -23
- package/resource/doc/chatkit/flutter/features/theme.md +0 -235
- package/resource/doc/chatkit/flutter/integration.md +0 -344
- package/resource/doc/chatkit/ios/faq.md +0 -111
- package/resource/doc/chatkit/ios/features/theme.md +0 -267
- package/resource/doc/chatkit/react/components/avatar.md +0 -104
- package/resource/doc/chatkit/react/components/chat-header.md +0 -148
- package/resource/doc/chatkit/react/components/chat-setting.md +0 -57
- package/resource/doc/chatkit/react/components/chat.md +0 -38
- package/resource/doc/chatkit/react/components/component-list.md +0 -37
- package/resource/doc/chatkit/react/components/conversation-actions.md +0 -174
- package/resource/doc/chatkit/react/components/conversation-list.md +0 -333
- package/resource/doc/chatkit/react/components/conversation-preview.md +0 -118
- package/resource/doc/chatkit/react/components/conversation-search.md +0 -60
- package/resource/doc/chatkit/react/components/message-list.md +0 -293
- package/resource/doc/chatkit/react/components/tuikit.md +0 -34
- package/resource/doc/chatkit/react/faq.md +0 -26
- package/resource/doc/chatkit/react/integration.md +0 -416
- package/resource/doc/chatkit/vue/components/avatar.md +0 -104
- package/resource/doc/chatkit/vue/components/chat-header.md +0 -148
- package/resource/doc/chatkit/vue/components/chat-setting.md +0 -62
- package/resource/doc/chatkit/vue/components/chat.md +0 -45
- package/resource/doc/chatkit/vue/components/component-list.md +0 -87
- package/resource/doc/chatkit/vue/components/contact-list.md +0 -271
- package/resource/doc/chatkit/vue/components/conversation-actions.md +0 -228
- package/resource/doc/chatkit/vue/components/conversation-list.md +0 -320
- package/resource/doc/chatkit/vue/components/conversation-preview.md +0 -213
- package/resource/doc/chatkit/vue/components/message-input.md +0 -1054
- package/resource/doc/chatkit/vue/components/message-list.md +0 -433
- package/resource/doc/chatkit/vue/components/tuikit.md +0 -31
- package/resource/doc/chatkit/vue/components/userpicker.md +0 -256
- package/resource/doc/chatkit/vue/faq.md +0 -36
- package/resource/doc/chatkit/vue/integration.md +0 -428
- package/resource/doc/livekit/core-sdk/live/flutter/live-host-interaction.md +0 -866
- package/resource/doc/livekit/faq/common/error-code.md +0 -88
- package/resource/doc/livekit/preset/live/vue/api-reference/index.md +0 -780
- package/resource/doc/livekit/preset/live/vue/components/co-guest-panel.md +0 -91
- package/resource/doc/livekit/preset/live/vue/components/live-scene-panel.md +0 -112
- package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +0 -215
- package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +0 -300
- package/resource/doc/roomkit/faq/common/error-code.md +0 -67
- package/resource/doc/roomkit/vue/features/call-user-to-room.md +0 -220
- package/resource/doc/roomkit/vue/features/device-state.md +0 -460
- package/resource/doc/roomkit/vue/features/free-beauty-panel.md +0 -215
- package/resource/doc/roomkit/vue/features/room-chat.md +0 -369
- package/resource/doc/roomkit/vue/features/room-state.md +0 -282
- package/resource/doc/roomkit/vue/features/schedule-room.md +0 -318
- package/resource/doc/roomkit/vue/features/screen-share.md +0 -265
- package/resource/doc/roomkit/vue/features/virtual-background.md +0 -271
- package/resource/doc/roomkit/vue/integration.md +0 -315
- package/resource/doc/rtcengine/faq/common/error_code.md +0 -1
- package/resource/doc/rtcengine/faq/web_sdk/.gitkeep +0 -0
- package/resource/doc/rtcengine/web/.gitkeep +0 -0
- package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +0 -59
- package/resource/doc/trtc/C++/ITRTCCloud.md +0 -1970
- package/resource/doc/trtc/C++/ITRTCStatistics.md +0 -70
- package/resource/doc/trtc/C++/ITXAudioEffectManager.md +0 -469
- package/resource/doc/trtc/C++/ITXDeviceManager.md +0 -387
- package/resource/doc/trtc/C++/TRTCCloudCallback.md +0 -1082
- package/resource/doc/trtc/C++/TRTCTypeDef.md +0 -925
- package/resource/doc/trtc/C++/TXLiteAVCode.md +0 -129
- package/resource/doc/trtc/android/TRTCCloud.md +0 -1815
- package/resource/doc/trtc/android/TRTCCloudDef.md +0 -992
- package/resource/doc/trtc/android/TRTCCloudListener.md +0 -1004
- package/resource/doc/trtc/android/TRTCStatistics.md +0 -65
- package/resource/doc/trtc/android/TXAudioEffectManager.md +0 -469
- package/resource/doc/trtc/android/TXBeautyManager.md +0 -402
- package/resource/doc/trtc/android/TXDeviceManager.md +0 -173
- package/resource/doc/trtc/android/TXLiteAVCode.md +0 -127
- package/resource/doc/trtc/iOS/TRTCCloud.md +0 -2028
- package/resource/doc/trtc/iOS/TRTCCloudDef.md +0 -958
- package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +0 -1046
- package/resource/doc/trtc/iOS/TRTCStatistics.md +0 -65
- package/resource/doc/trtc/iOS/TXAudioEffectManager.md +0 -397
- package/resource/doc/trtc/iOS/TXBeautyManager.md +0 -403
- package/resource/doc/trtc/iOS/TXDeviceManager.md +0 -381
- package/resource/doc/trtc/iOS/TXLiteAVCode.md +0 -130
- package/tools/call/get_callkit_api.js +0 -33
- package/tools/call/get_callkit_api.js.map +0 -1
- package/tools/chat/get_native_chat_uikit_feature_detail.js +0 -35
- package/tools/chat/get_native_chat_uikit_feature_detail.js.map +0 -1
- package/tools/chat/get_web_chat_uikit_component_detail.js +0 -35
- package/tools/chat/get_web_chat_uikit_component_detail.js.map +0 -1
- package/tools/common/get_faq.js +0 -266
- package/tools/common/get_faq.js.map +0 -1
- package/tools/common/record_skill_session.js +0 -69
- package/tools/common/record_skill_session.js.map +0 -1
- package/tools/definitions/get_callkit_api_def.js +0 -29
- package/tools/definitions/get_callkit_api_def.js.map +0 -1
- package/tools/definitions/get_faq_def.js +0 -47
- package/tools/definitions/get_faq_def.js.map +0 -1
- package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +0 -31
- package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +0 -1
- package/tools/definitions/get_native_livekit_core_features_def.js +0 -34
- package/tools/definitions/get_native_livekit_core_features_def.js.map +0 -1
- package/tools/definitions/get_native_trtc_sdk_docs_def.js +0 -32
- package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +0 -1
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js +0 -31
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +0 -1
- package/tools/definitions/get_web_livekit_api_def.js +0 -30
- package/tools/definitions/get_web_livekit_api_def.js.map +0 -1
- package/tools/definitions/get_web_livekit_component_detail_def.js +0 -32
- package/tools/definitions/get_web_livekit_component_detail_def.js.map +0 -1
- package/tools/definitions/get_web_roomkit_feature_detail_def.js +0 -31
- package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +0 -1
- package/tools/definitions/get_web_trtc_sdk_api_def.js +0 -27
- package/tools/definitions/get_web_trtc_sdk_api_def.js.map +0 -1
- package/tools/definitions/get_web_trtc_sdk_integration_def.js +0 -27
- package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +0 -1
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js +0 -27
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +0 -1
- package/tools/definitions/record_skill_session_def.js +0 -31
- package/tools/definitions/record_skill_session_def.js.map +0 -1
- package/tools/live/get_native_livekit_core_features.js +0 -68
- package/tools/live/get_native_livekit_core_features.js.map +0 -1
- package/tools/live/get_web_livekit_api.js +0 -33
- package/tools/live/get_web_livekit_api.js.map +0 -1
- package/tools/live/get_web_livekit_component_detail.js +0 -35
- package/tools/live/get_web_livekit_component_detail.js.map +0 -1
- package/tools/room/get_web_roomkit_feature_detail.js +0 -69
- package/tools/room/get_web_roomkit_feature_detail.js.map +0 -1
- package/tools/rtcengine/get_web_trtc_sdk_api.js +0 -32
- package/tools/rtcengine/get_web_trtc_sdk_api.js.map +0 -1
- package/tools/rtcengine/get_web_trtc_sdk_integration.js +0 -32
- package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +0 -1
- package/tools/rtcengine/get_web_trtc_sdk_plugin.js +0 -32
- package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +0 -1
- package/tools/trtc/get_native_trtc_sdk_docs.js +0 -74
- package/tools/trtc/get_native_trtc_sdk_docs.js.map +0 -1
- package/utils/build-session-directives.js +0 -120
- package/utils/build-session-directives.js.map +0 -1
- package/utils/handle-framework.js +0 -9
- package/utils/handle-framework.js.map +0 -1
- package/utils/handle-state-name.js +0 -29
- package/utils/handle-state-name.js.map +0 -1
- package/utils/report-runtime-error-cls-client.js +0 -91
- package/utils/report-runtime-error-cls-client.js.map +0 -1
- /package/resource/{doc/livekit/preset/live/vue/faq.md → knowledge/push/config/donut.md} +0 -0
- /package/resource/{doc/roomkit/vue/faq.md → knowledge/push/integration/donut.md} +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/api.md +0 -0
- /package/resource/{doc/rtcengine/faq/web/web.md → knowledge/rtcengine/web/faq.md} +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/how_to_integrated_web_sdk.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/28-advanced-beauty.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/30-advanced-cross-room-link.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/36-advanced-virtual-background.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/37-advanced-voice-changer.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/39-advanced-video-decoder.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/40-advanced-video-mixer.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +0 -0
- /package/resource/{doc → knowledge}/rtcengine/web/plugin/43-advanced-face-detection.md +0 -0
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
This
|
|
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
|
-
|
|
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
|
|
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
|
-
##
|
|
15
|
-
- Xcode
|
|
10
|
+
## Prerequisites
|
|
11
|
+
- Xcode 15 or later
|
|
16
12
|
|
|
17
|
-
- iOS
|
|
13
|
+
- iOS 14.0 or later (physical device or simulator)
|
|
18
14
|
|
|
19
|
-
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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
|
-
|
|
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
|
|
33
|
+
- Local Development Pods Integration
|
|
37
34
|
|
|
38
|
-
|
|
35
|
+
The following table summarizes the advantages and disadvantages of each integration method:
|
|
39
36
|
|
|
40
|
-
|
|
|
41
|
-
|
|
42
|
-
|
|
|
43
|
-
|
|
|
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
|
-
|
|
42
|
+
Choose one of the following methods to integrate TUIKit:
|
|
46
43
|
|
|
47
|
-
|
|
48
|
-
>
|
|
44
|
+
【Remote CocoaPods Integration】
|
|
49
45
|
|
|
50
|
-
>
|
|
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
|
-
|
|
53
|
+
Add the required component libraries to your Podfile as needed:
|
|
54
54
|
|
|
55
|
-
【Minimalist
|
|
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, '
|
|
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'] = "
|
|
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, '
|
|
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'] = "
|
|
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
|
|
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, '
|
|
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'] = "
|
|
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, '
|
|
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'] = "
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
371
|
-
>
|
|
354
|
+
After successfully integrating all TUIKit components, your project directory should resemble the following:
|
|
372
355
|
|
|
373
|
-
|
|
374
|
-
1. Download TUIKit source code from GitHub
|
|
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
|
-
|
|
359
|
+
- [Swift TUIKit Source Code GitHub](https://github.com/Tencent-RTC/Chat_UIKit/tree/main/Swift/TUIKit):
|
|
377
360
|
|
|
378
|
-
|
|
361
|
+
- [Objective-C TUIKit Source Code GitHub](https://github.com/TencentCloud/chat-uikit-ios/tree/main/TUIKit):
|
|
379
362
|
|
|
380
|
-
2.
|
|
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
|
-
|
|
365
|
+
Common path configurations:
|
|
366
|
+
- TUIKit is in the **parent directory** of the Podfile: `pod 'TUICore', :path => "../TUIKit/TUICore"`
|
|
383
367
|
|
|
384
|
-
|
|
368
|
+
- TUIKit is in the **current directory** of the Podfile: `pod 'TUICore', :path => "./TUIKit/TUICore"`
|
|
385
369
|
|
|
386
|
-
|
|
370
|
+
- TUIKit is in a **subdirectory** of the Podfile: `pod 'TUICore', :path => "TUIKit/TUICore"`
|
|
387
371
|
|
|
388
|
-
|
|
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
|
-
|
|
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, '
|
|
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'] = "
|
|
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
|
-
|
|
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, '
|
|
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'] = "
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
590
|
-
- **Integration
|
|
545
|
+
### Xcode
|
|
546
|
+
- **Integration Error: [Xcodeproj] Unknown object version (60). (RuntimeError)**
|
|
591
547
|
|
|
592
|
-
When
|
|
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
|
|
550
|
+
**Solution 1**: Change your Xcode project’s `Project Format` version to Xcode 13.0.
|
|
595
551
|
|
|
596
|
-
Solution 2
|
|
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
|
-
|
|
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
|
|
558
|
+
**Solution**: Update the linker configuration. Add `-ld64` to `Other Linker Flags` in Build Settings.
|
|
603
559
|
|
|
604
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
570
|
+
- **Xcode 16 Does Not Support Framework Bitcode**
|
|
615
571
|
|
|
616
|
-
**Solution 1: Upgrade
|
|
572
|
+
**Solution 1: Upgrade SDK**
|
|
617
573
|
|
|
618
|
-
If you are using an
|
|
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
|
|
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
|
|
643
|
-
- **
|
|
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
|
-
|
|
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
|
-
|
|
623
|
+
-
|
|
648
624
|
|
|
649
|
-
-
|
|
625
|
+
**Which third-party libraries does TUIKit depend on? What should I do if there are version conflicts?**
|
|
650
626
|
|
|
651
|
-
|
|
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
|
-
|
|
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
|
-
|
|
651
|
+
### App Store Submission
|
|
652
|
+
- **Packaging Fails When Submitting to App Store, Error: Unsupported Architectures**
|
|
656
653
|
|
|
657
|
-
|
|
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
|
-
|
|
656
|
+
**Solution:**
|
|
661
657
|
|
|
662
|
-
|
|
658
|
+
To remove the simulator version during packaging:
|
|
663
659
|
|
|
664
|
-
1. Select your project's Target
|
|
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
|
|
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
|
|
706
|
-
- **
|
|
701
|
+
### TUICallKit
|
|
702
|
+
- **TUICallKit Conflicts with Your Own Integrated Audio/Video Library?**
|
|
707
703
|
|
|
708
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
-
-
|
|
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
|
-
|
|
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
|
-
|
|
728
|
+
### Others
|
|
727
729
|
|
|
728
|
-
|
|
730
|
+
#### Using Emoji Packs
|
|
729
731
|
|
|
730
|
-
|
|
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
|
|
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
|
+
```
|