@tencent-rtc/mcp 1.3.9 → 1.4.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.
- package/package.json +2 -2
- package/resource/doc/{tuicallkit/iOS/faq.md → callkit/faq/android-faq.md} +10 -22
- package/resource/doc/{tuicallkit/android/faq.md → callkit/faq/flutter-faq.md} +10 -22
- package/resource/doc/{tuicallkit/flutter/faq.md → callkit/faq/ios-faq.md} +10 -22
- package/resource/doc/callkit/preset/android/api.md +296 -0
- package/resource/doc/{tuicallkit → callkit/preset}/android/integration.md +53 -365
- package/resource/doc/callkit/preset/flutter/api.md +410 -0
- package/resource/doc/{tuicallkit → callkit/preset}/flutter/integration.md +35 -97
- package/resource/doc/callkit/preset/ios/api.md +80 -0
- package/resource/doc/{tuicallkit/iOS → callkit/preset/ios}/integration.md +37 -118
- package/resource/doc/callkit/preset/react/api.md +501 -0
- package/resource/doc/{tuicallkit → callkit/preset}/react/integration.md +5 -20
- package/resource/doc/callkit/preset/vue/api.md +501 -0
- package/resource/doc/{tuicallkit → callkit/preset}/vue/integration.md +4 -19
- package/resource/doc/{chatuikit → chatkit}/android/faq.md +29 -38
- package/resource/doc/{chatuikit → chatkit}/android/features/theme.md +22 -166
- package/resource/doc/{chatuikit → chatkit}/android/integration.md +28 -121
- package/resource/doc/chatkit/faq/android_sdk/client-api.md +281 -0
- package/resource/doc/{chatuikit → chatkit}/faq/common/product.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/faq/common/server.md +1 -1
- package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +199 -0
- package/resource/doc/{chatuikit → chatkit}/faq/flutter_sdk/faq.md +3 -3
- package/resource/doc/chatkit/faq/ios_sdk/client-api.md +235 -0
- package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/faq.md +3 -3
- package/resource/doc/{chatuikit → chatkit}/flutter/features/theme.md +22 -166
- package/resource/doc/{chatuikit → chatkit}/flutter/integration.md +18 -87
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/faq.md +29 -38
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/features/theme.md +27 -176
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/integration.md +47 -165
- package/resource/doc/{chatuikit → chatkit}/react/components/avatar.md +0 -33
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-header.md +8 -49
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-setting.md +6 -35
- package/resource/doc/{chatuikit → chatkit}/react/components/chat.md +0 -6
- package/resource/doc/{chatuikit → chatkit}/react/components/component-list.md +0 -11
- package/resource/doc/{chatuikit → chatkit}/react/components/contact-list.md +96 -502
- package/resource/doc/chatkit/react/components/conversation-actions.md +174 -0
- package/resource/doc/chatkit/react/components/conversation-list.md +333 -0
- package/resource/doc/chatkit/react/components/conversation-preview.md +118 -0
- package/resource/doc/chatkit/react/components/conversation-search.md +60 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/message-input.md +36 -337
- package/resource/doc/{chatuikit → chatkit}/react/components/message-list.md +20 -212
- package/resource/doc/chatkit/react/components/search.md +243 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/tuikit.md +1 -47
- package/resource/doc/{chatuikit → chatkit}/react/integration.md +21 -81
- package/resource/doc/{chatuikit → chatkit}/vue/components/avatar.md +0 -33
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-header.md +7 -48
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-setting.md +3 -5
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat.md +0 -5
- package/resource/doc/{chatuikit → chatkit}/vue/components/component-list.md +0 -15
- package/resource/doc/chatkit/vue/components/contact-list.md +271 -0
- package/resource/doc/chatkit/vue/components/conversation-actions.md +228 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/conversation-list.md +42 -492
- package/resource/doc/chatkit/vue/components/conversation-preview.md +213 -0
- package/resource/doc/chatkit/vue/components/conversation-search.md +50 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/message-input.md +2 -223
- package/resource/doc/{chatuikit → chatkit}/vue/components/message-list.md +23 -252
- package/resource/doc/{chatuikit → chatkit}/vue/components/search.md +73 -640
- package/resource/doc/{chatuikit → chatkit}/vue/components/tuikit.md +7 -21
- package/resource/doc/{chatuikit → chatkit}/vue/components/userpicker.md +3 -62
- package/resource/doc/{chatuikit → chatkit}/vue/faq.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/vue/integration.md +22 -23
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-audience-list.md +18 -89
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-audio-effect.md +34 -192
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-barrage.md +28 -141
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-base-beauty.md +20 -112
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-co-guest-interaction.md +59 -193
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-gift.md +75 -455
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-host-interaction.md +94 -344
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-integration.md +107 -515
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-live-list.md +33 -173
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audience-list.md +14 -93
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audio-effect.md +34 -179
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-barrage.md +19 -107
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-base-beauty.md +24 -166
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-co-guest-interaction.md +56 -163
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-gift.md +69 -443
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-host-interaction.md +117 -364
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-integration.md +107 -492
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-live-list.md +23 -165
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audience-list.md +35 -111
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audio-effect.md +35 -193
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-barrage.md +31 -144
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-base-beauty.md +24 -116
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-co-guest-interaction.md +37 -171
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-gift.md +79 -459
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-host-interaction.md +69 -320
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-integration.md +85 -502
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-live-list.md +32 -169
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audience-list.md +18 -89
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audio-effect.md +34 -192
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-barrage.md +28 -141
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-co-guest-interaction.md +50 -259
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-gift.md +75 -455
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-host-interaction.md +51 -265
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-integration.md +61 -427
- package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-room-list.md +33 -173
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-co-guest-interaction.md +44 -203
- package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-integration.md +56 -416
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audience-list.md +35 -111
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audio-effect.md +35 -193
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-barrage.md +31 -144
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-co-guest-interaction.md +43 -252
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-gift.md +79 -459
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-host-interaction.md +46 -264
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-integration.md +61 -445
- package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-room-list.md +32 -169
- package/resource/doc/livekit/faq/common/{error_code.md → error-code.md} +2 -2
- package/resource/doc/livekit/preset/live/vue/api-reference/index.md +780 -0
- package/resource/doc/livekit/preset/live/vue/components/barrage.md +291 -0
- package/resource/doc/livekit/{live → preset/live}/vue/components/co-guest-panel.md +10 -49
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-audience-list.md +26 -144
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-scene-panel.md +12 -75
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-view.md +36 -227
- package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +215 -0
- package/resource/doc/livekit/preset/live/vue/faq.md +1 -0
- package/resource/doc/livekit/preset/live/vue/live-list-integration.md +241 -0
- package/resource/doc/livekit/preset/live/vue/live-player-desk-integration.md +299 -0
- package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +300 -0
- package/resource/doc/livekit/preset/live/vue/live-pusher-integration.md +743 -0
- package/resource/doc/roomkit/vue/faq.md +1 -0
- package/resource/doc/roomkit/vue/features/call-user-to-room.md +17 -53
- package/resource/doc/roomkit/vue/features/device-detection.md +30 -48
- package/resource/doc/roomkit/vue/features/device-state.md +24 -44
- package/resource/doc/roomkit/vue/features/free-beauty-panel.md +13 -36
- package/resource/doc/roomkit/vue/features/room-chat.md +31 -89
- package/resource/doc/roomkit/vue/features/room-participant-state.md +28 -50
- package/resource/doc/roomkit/vue/features/room-state.md +25 -34
- package/resource/doc/roomkit/vue/features/room-view.md +30 -125
- package/resource/doc/roomkit/vue/features/schedule-room.md +9 -40
- package/resource/doc/roomkit/vue/features/screen-share.md +22 -90
- package/resource/doc/roomkit/vue/features/virtual-background.md +13 -29
- package/resource/doc/roomkit/vue/integration.md +21 -76
- package/resource/doc/rtcengine/faq/common/error_code.md +1 -0
- package/resource/doc/rtcengine/faq/web/web.md +14 -24
- package/resource/doc/rtcengine/web/api.md +1 -3
- package/resource/doc/rtcengine/web/how_to_integrated_web_sdk.md +3 -10
- package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +1 -5
- package/resource/doc/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +1 -2
- package/resource/doc/rtcengine/web/plugin/21-advanced-auto-play-policy.md +2 -4
- package/resource/doc/rtcengine/web/plugin/23-advanced-support-detection.md +3 -5
- package/resource/doc/rtcengine/web/plugin/24-advanced-network-quality.md +1 -7
- package/resource/doc/rtcengine/web/plugin/25-advanced-device-change.md +0 -2
- package/resource/doc/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +4 -8
- package/resource/doc/rtcengine/web/plugin/27-advanced-small-stream.md +11 -11
- package/resource/doc/rtcengine/web/plugin/28-advanced-beauty.md +12 -88
- package/resource/doc/rtcengine/web/plugin/31-advanced-plugins-overview.md +5 -5
- package/resource/doc/rtcengine/web/plugin/34-advanced-proxy.md +30 -37
- package/resource/doc/rtcengine/web/plugin/36-advanced-virtual-background.md +13 -90
- package/resource/doc/rtcengine/web/plugin/37-advanced-voice-changer.md +1 -2
- package/resource/doc/rtcengine/web/plugin/39-advanced-video-decoder.md +1 -2
- package/resource/doc/rtcengine/web/plugin/40-advanced-video-mixer.md +19 -19
- package/resource/doc/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +1 -1
- package/resource/doc/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +4 -5
- package/resource/doc/rtcengine/web/plugin/43-advanced-face-detection.md +3 -3
- package/resource/doc/trtc/C++/ITRTCCloud.md +686 -2835
- package/resource/doc/trtc/C++/ITRTCStatistics.md +53 -308
- package/resource/doc/trtc/C++/ITXAudioEffectManager.md +202 -1022
- package/resource/doc/trtc/C++/ITXDeviceManager.md +126 -767
- package/resource/doc/trtc/C++/TRTCCloudCallback.md +579 -2147
- package/resource/doc/trtc/C++/TRTCTypeDef.md +703 -3378
- package/resource/doc/trtc/C++/TXLiteAVCode.md +116 -908
- package/resource/doc/trtc/android/TRTCCloud.md +606 -2573
- package/resource/doc/trtc/android/TRTCCloudDef.md +752 -3640
- package/resource/doc/trtc/android/TRTCCloudListener.md +581 -2008
- package/resource/doc/trtc/android/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/android/TXAudioEffectManager.md +202 -1022
- package/resource/doc/trtc/android/TXBeautyManager.md +127 -704
- package/resource/doc/trtc/android/TXDeviceManager.md +51 -318
- package/resource/doc/trtc/android/TXLiteAVCode.md +114 -892
- package/resource/doc/trtc/iOS/TRTCCloud.md +694 -2904
- package/resource/doc/trtc/iOS/TRTCCloudDef.md +726 -3498
- package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +543 -2028
- package/resource/doc/trtc/iOS/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/iOS/TXAudioEffectManager.md +174 -877
- package/resource/doc/trtc/iOS/TXBeautyManager.md +128 -710
- package/resource/doc/trtc/iOS/TXDeviceManager.md +129 -772
- package/resource/doc/trtc/iOS/TXLiteAVCode.md +117 -915
- package/server.js +1 -5
- package/server.js.map +1 -1
- package/tools/call/get_callkit_api.js +32 -0
- package/tools/call/get_callkit_api.js.map +1 -0
- package/tools/call/get_native_call_uikit_integration.js +34 -0
- package/tools/call/get_native_call_uikit_integration.js.map +1 -0
- package/tools/call/{get-web-call-integration.js → get_web_call_uikit_integration.js} +13 -8
- package/tools/call/get_web_call_uikit_integration.js.map +1 -0
- package/tools/chat/get_native_chat_uikit_feature_detail.js +34 -0
- package/tools/chat/get_native_chat_uikit_feature_detail.js.map +1 -0
- package/tools/chat/get_native_chat_uikit_integration.js +45 -0
- package/tools/chat/get_native_chat_uikit_integration.js.map +1 -0
- package/tools/chat/get_web_chat_uikit_component_detail.js +34 -0
- package/tools/chat/get_web_chat_uikit_component_detail.js.map +1 -0
- package/tools/chat/get_web_chat_uikit_integration.js +45 -0
- package/tools/chat/get_web_chat_uikit_integration.js.map +1 -0
- package/tools/common/get_faq.js +265 -0
- package/tools/common/get_faq.js.map +1 -0
- package/tools/common/{get-usersig.js → get_usersig.js} +6 -3
- package/tools/common/get_usersig.js.map +1 -0
- package/tools/common/present_framework_choice.js +63 -0
- package/tools/common/present_framework_choice.js.map +1 -0
- package/tools/definitions/get_callkit_api_def.js +29 -0
- package/tools/definitions/get_callkit_api_def.js.map +1 -0
- package/tools/definitions/get_faq_def.js +17 -18
- package/tools/definitions/get_faq_def.js.map +1 -1
- package/tools/definitions/get_native_call_uikit_integration_def.js +15 -34
- package/tools/definitions/get_native_call_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +31 -0
- package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +1 -0
- package/tools/definitions/get_native_chat_uikit_integration_def.js +16 -41
- package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_native_livekit_core_features_def.js +34 -0
- package/tools/definitions/get_native_livekit_core_features_def.js.map +1 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js +34 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js.map +1 -0
- package/tools/definitions/get_native_trtc_sdk_docs_def.js +32 -0
- package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +1 -0
- package/tools/definitions/get_usersig_def.js +17 -22
- package/tools/definitions/get_usersig_def.js.map +1 -1
- package/tools/definitions/get_web_call_uikit_integration_def.js +15 -7
- package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js +17 -49
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +1 -1
- package/tools/definitions/get_web_chat_uikit_integration_def.js +16 -19
- package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_live_uikit_integration_def.js +15 -18
- package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_livekit_api_def.js +30 -0
- package/tools/definitions/get_web_livekit_api_def.js.map +1 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js +32 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js.map +1 -0
- package/tools/definitions/get_web_room_uikit_integration_def.js +15 -46
- package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_roomkit_feature_detail_def.js +31 -0
- package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js +27 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js +27 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js +27 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +1 -0
- package/tools/definitions/present_framework_choice_def.js +24 -12
- package/tools/definitions/present_framework_choice_def.js.map +1 -1
- package/tools/index.js +47 -61
- package/tools/index.js.map +1 -1
- package/tools/live/get_native_livekit_core_features.js +65 -0
- package/tools/live/get_native_livekit_core_features.js.map +1 -0
- package/tools/live/get_native_livekit_core_integration.js +59 -0
- package/tools/live/get_native_livekit_core_integration.js.map +1 -0
- package/tools/live/get_web_live_uikit_integration.js +48 -0
- package/tools/live/get_web_live_uikit_integration.js.map +1 -0
- package/tools/live/get_web_livekit_api.js +32 -0
- package/tools/live/get_web_livekit_api.js.map +1 -0
- package/tools/live/get_web_livekit_component_detail.js +34 -0
- package/tools/live/get_web_livekit_component_detail.js.map +1 -0
- package/tools/room/{get-web-room-integration.js → get_web_room_uikit_integration.js} +13 -14
- package/tools/room/get_web_room_uikit_integration.js.map +1 -0
- package/tools/room/{get-web-room-feature-detail.js → get_web_roomkit_feature_detail.js} +30 -31
- package/tools/room/get_web_roomkit_feature_detail.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_api.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_api.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_integration.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_plugin.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +1 -0
- package/tools/trtc/get_native_trtc_sdk_docs.js +73 -0
- package/tools/trtc/get_native_trtc_sdk_docs.js.map +1 -0
- package/utils/generate-structured-result.js +61 -17
- package/utils/generate-structured-result.js.map +1 -1
- package/utils/report-cls-client.js +12 -1
- package/utils/report-cls-client.js.map +1 -1
- package/utils/report-es-client.js +2 -2
- package/resource/doc/chatuikit/android/workflow.md +0 -713
- package/resource/doc/chatuikit/faq/android_sdk/client-api.md +0 -1371
- package/resource/doc/chatuikit/faq/flutter_sdk/client-api.md +0 -932
- package/resource/doc/chatuikit/faq/ios_sdk/client-api.md +0 -1119
- package/resource/doc/chatuikit/flutter/workflow.md +0 -941
- package/resource/doc/chatuikit/react/components/conversation-list.md +0 -1017
- package/resource/doc/chatuikit/react/components/search.md +0 -745
- package/resource/doc/chatuikit/react/create-group.md +0 -23
- package/resource/doc/chatuikit/react/init.md +0 -26
- package/resource/doc/chatuikit/react/workflow.md +0 -258
- package/resource/doc/chatuikit/vue/components/contact-list.md +0 -679
- package/resource/doc/chatuikit/vue/create-group.md +0 -25
- package/resource/doc/chatuikit/vue/init.md +0 -40
- package/resource/doc/chatuikit/vue/workflow.md +0 -395
- package/resource/doc/livekit/live/android/workflow.md +0 -320
- package/resource/doc/livekit/live/flutter/workflow.md +0 -353
- package/resource/doc/livekit/live/ios/workflow.md +0 -454
- package/resource/doc/livekit/live/vue/components/barrage.md +0 -616
- package/resource/doc/livekit/live/vue/components/stream-mixer.md +0 -446
- package/resource/doc/livekit/live/vue/faq.md +0 -0
- package/resource/doc/livekit/live/vue/live-list-integration.md +0 -200
- package/resource/doc/livekit/live/vue/live-player-desk-integration.md +0 -269
- package/resource/doc/livekit/live/vue/live-player-h5-integration.md +0 -269
- package/resource/doc/livekit/live/vue/live-pusher-integration.md +0 -595
- package/resource/doc/livekit/live/vue/states/live-state.md +0 -3591
- package/resource/doc/livekit/live/vue/workflow.md +0 -218
- package/resource/doc/native_live/android/V2TXLiveCode_api_android.md +0 -312
- package/resource/doc/native_live/android/V2TXLiveDef_api_android.md +0 -430
- package/resource/doc/native_live/android/V2TXLivePlayerObserver_api_android.md +0 -679
- package/resource/doc/native_live/android/V2TXLivePlayer_api_android.md +0 -671
- package/resource/doc/native_live/android/V2TXLivePremier_api_android.md +0 -271
- package/resource/doc/native_live/android/V2TXLivePusherObserver_api_android.md +0 -849
- package/resource/doc/native_live/android/V2TXLivePusher_api_android.md +0 -1046
- package/resource/doc/native_live/flutter/V2TXLiveCode_api_flutter.md +0 -460
- package/resource/doc/native_live/flutter/V2TXLiveDef_api_flutter.md +0 -558
- package/resource/doc/native_live/flutter/V2TXLivePlayerObserver_api_flutter.md +0 -865
- package/resource/doc/native_live/flutter/V2TXLivePlayer_api_flutter.md +0 -657
- package/resource/doc/native_live/flutter/V2TXLivePremier_api_flutter.md +0 -437
- package/resource/doc/native_live/flutter/V2TXLivePusherObserver_api_flutter.md +0 -335
- package/resource/doc/native_live/flutter/V2TXLivePusher_api_flutter.md +0 -748
- package/resource/doc/native_live/iOS/V2TXLiveCode_api_iOS.md +0 -327
- package/resource/doc/native_live/iOS/V2TXLiveDef_api_iOS.md +0 -507
- package/resource/doc/native_live/iOS/V2TXLivePlayerObserver_api_iOS.md +0 -507
- package/resource/doc/native_live/iOS/V2TXLivePlayer_api_iOS.md +0 -659
- package/resource/doc/native_live/iOS/V2TXLivePremier_api_iOS.md +0 -284
- package/resource/doc/native_live/iOS/V2TXLivePusherObserver_api_iOS.md +0 -814
- package/resource/doc/native_live/iOS/V2TXLivePusher_api_iOS.md +0 -1000
- package/resource/doc/roomkit/vue/features/workflow.md +0 -553
- package/resource/doc/roomkit/vue/workflow.md +0 -733
- package/resource/doc/tuicallkit/android/workflow.md +0 -441
- package/resource/doc/tuicallkit/faq/android_sdk/call-observer-api.md +0 -784
- package/resource/doc/tuicallkit/faq/android_sdk/callkit-api.md +0 -610
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-define-api.md +0 -938
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-observer-api.md +0 -897
- package/resource/doc/tuicallkit/faq/flutter_sdk/callkit-api.md +0 -469
- package/resource/doc/tuicallkit/faq/ios_sdk/call-observer-api.md +0 -781
- package/resource/doc/tuicallkit/faq/ios_sdk/callkit-api.md +0 -398
- package/resource/doc/tuicallkit/flutter/workflow.md +0 -331
- package/resource/doc/tuicallkit/react/api.md +0 -1404
- package/resource/doc/tuicallkit/vue/api.md +0 -1406
- package/resource/doc/tuicallkit/vue/faq.md +0 -36
- package/tools/call/get-native-call-integration.js +0 -43
- package/tools/call/get-native-call-integration.js.map +0 -1
- package/tools/call/get-web-call-api.js +0 -27
- package/tools/call/get-web-call-api.js.map +0 -1
- package/tools/call/get-web-call-integration.js.map +0 -1
- package/tools/chat/get-native-chat-feature-detail.js +0 -30
- package/tools/chat/get-native-chat-feature-detail.js.map +0 -1
- package/tools/chat/get-native-chat-integration.js +0 -45
- package/tools/chat/get-native-chat-integration.js.map +0 -1
- package/tools/chat/get-web-chat-component-detail.js +0 -31
- package/tools/chat/get-web-chat-component-detail.js.map +0 -1
- package/tools/chat/get-web-chat-integration.js +0 -45
- package/tools/chat/get-web-chat-integration.js.map +0 -1
- package/tools/chat/get-web-chat-uikit-init.js +0 -28
- package/tools/chat/get-web-chat-uikit-init.js.map +0 -1
- package/tools/chat/get-web-create-group-doc.js +0 -28
- package/tools/chat/get-web-create-group-doc.js.map +0 -1
- package/tools/common/get-faq.js +0 -91
- package/tools/common/get-faq.js.map +0 -1
- package/tools/common/get-usersig.js.map +0 -1
- package/tools/common/present-framework-choice.js +0 -16
- package/tools/common/present-framework-choice.js.map +0 -1
- package/tools/common/present-scenario-choice.js +0 -16
- package/tools/common/present-scenario-choice.js.map +0 -1
- package/tools/common/record-prompt.js +0 -55
- package/tools/common/record-prompt.js.map +0 -1
- package/tools/common/record-result.js +0 -60
- package/tools/common/record-result.js.map +0 -1
- package/tools/definitions/get_native_chat_feature_detail_def.js +0 -32
- package/tools/definitions/get_native_chat_feature_detail_def.js.map +0 -1
- package/tools/definitions/get_native_live_api_def.js +0 -23
- package/tools/definitions/get_native_live_api_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_extra_features_def.js +0 -87
- package/tools/definitions/get_native_live_uikit_extra_features_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_integration_def.js +0 -75
- package/tools/definitions/get_native_live_uikit_integration_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_interaction_def.js +0 -63
- package/tools/definitions/get_native_live_uikit_interaction_def.js.map +0 -1
- package/tools/definitions/get_trtc_native_api_def.js +0 -16
- package/tools/definitions/get_trtc_native_api_def.js.map +0 -1
- package/tools/definitions/get_web_call_uikit_api_def.js +0 -23
- package/tools/definitions/get_web_call_uikit_api_def.js.map +0 -1
- package/tools/definitions/get_web_chat_uikit_init_def.js +0 -23
- package/tools/definitions/get_web_chat_uikit_init_def.js.map +0 -1
- package/tools/definitions/get_web_create_group_doc_def.js +0 -18
- package/tools/definitions/get_web_create_group_doc_def.js.map +0 -1
- package/tools/definitions/get_web_live_state_detail_def.js +0 -19
- package/tools/definitions/get_web_live_state_detail_def.js.map +0 -1
- package/tools/definitions/get_web_live_uikit_component_detail_def.js +0 -27
- package/tools/definitions/get_web_live_uikit_component_detail_def.js.map +0 -1
- package/tools/definitions/get_web_room_feature_detail_def.js +0 -92
- package/tools/definitions/get_web_room_feature_detail_def.js.map +0 -1
- package/tools/definitions/get_web_room_state_detail_def.js +0 -19
- package/tools/definitions/get_web_room_state_detail_def.js.map +0 -1
- package/tools/definitions/present_scenario_choice_def.js +0 -53
- package/tools/definitions/present_scenario_choice_def.js.map +0 -1
- package/tools/definitions/record_prompt_def.js +0 -58
- package/tools/definitions/record_prompt_def.js.map +0 -1
- package/tools/definitions/record_result_def.js +0 -46
- package/tools/definitions/record_result_def.js.map +0 -1
- package/tools/live/get-native-live-uikit-integration.js +0 -177
- package/tools/live/get-native-live-uikit-integration.js.map +0 -1
- package/tools/live/get-web-live-component-detail.js +0 -31
- package/tools/live/get-web-live-component-detail.js.map +0 -1
- package/tools/live/get-web-live-state-detail.js +0 -31
- package/tools/live/get-web-live-state-detail.js.map +0 -1
- package/tools/live/get-web-live-uikit-integration.js +0 -52
- package/tools/live/get-web-live-uikit-integration.js.map +0 -1
- package/tools/live/get_native_live_uikit_extra_features.js +0 -105
- package/tools/live/get_native_live_uikit_extra_features.js.map +0 -1
- package/tools/live/get_native_live_uikit_interaction.js +0 -194
- package/tools/live/get_native_live_uikit_interaction.js.map +0 -1
- package/tools/native_live/get-native-live-api.js +0 -31
- package/tools/native_live/get-native-live-api.js.map +0 -1
- package/tools/room/get-web-room-feature-detail.js.map +0 -1
- package/tools/room/get-web-room-integration.js.map +0 -1
- package/tools/rtcengine/get-rtcengine-web-sdk-integration.js +0 -28
- package/tools/rtcengine/get-rtcengine-web-sdk-integration.js.map +0 -1
- package/tools/rtcengine/get-trtc-sdk-faq.js +0 -32
- package/tools/rtcengine/get-trtc-sdk-faq.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-api.js +0 -28
- package/tools/rtcengine/get-trtc-web-sdk-api.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-faq.js +0 -30
- package/tools/rtcengine/get-trtc-web-sdk-faq.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-integration.js +0 -29
- package/tools/rtcengine/get-trtc-web-sdk-integration.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-plugin.js +0 -45
- package/tools/rtcengine/get-trtc-web-sdk-plugin.js.map +0 -1
- package/tools/trtc/get-trtc-native-api.js +0 -31
- package/tools/trtc/get-trtc-native-api.js.map +0 -1
- package/utils/handle-component-name.js +0 -33
- package/utils/handle-component-name.js.map +0 -1
- /package/resource/doc/{chatuikit/iOS/workflow.md → callkit/core-sdk/.gitkeep} +0 -0
- /package/resource/doc/{tuicallkit/faq/common/error_code.md → callkit/faq/common/error-code.md} +0 -0
- /package/resource/doc/{tuicallkit/react/faq.md → callkit/faq/web-faq.md} +0 -0
- /package/resource/doc/{chatuikit → chatkit}/faq/common/server_error_code.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/error_code.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/flutter/faq.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/react/faq.md +0 -0
- /package/resource/doc/roomkit/faq/common/{error_code.md → error-code.md} +0 -0
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
This article introduces how to integrate `TUIKit` components.
|
|
1
|
+
This article introduces how to integrate `TUIKit` components.
|
|
2
2
|
|
|
3
3
|
> **Note:**
|
|
4
|
-
>
|
|
4
|
+
>
|
|
5
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
6
|
> - Starting from version 6.9.3557, TUIKit introduces a brand new minimalist UI.
|
|
7
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).
|
|
8
8
|
|
|
9
|
-
>
|
|
10
|
-
>
|
|
11
|
-
|
|
9
|
+
>
|
|
10
|
+
>
|
|
12
11
|
|
|
13
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).
|
|
14
13
|
|
|
@@ -17,7 +16,6 @@ You can freely choose between the classic or minimalist UI components according
|
|
|
17
16
|
|
|
18
17
|
- iOS 9.0 or later
|
|
19
18
|
|
|
20
|
-
|
|
21
19
|
## CocoaPods Integration
|
|
22
20
|
1. Install CocoaPods
|
|
23
21
|
Enter the following command in a terminal (you need to install Ruby on your Mac first):
|
|
@@ -37,60 +35,25 @@ Go to the path where the project is located and run the following command. Then,
|
|
|
37
35
|
|
|
38
36
|
- Local Integration of DevelopmentPods
|
|
39
37
|
|
|
40
|
-
|
|
41
38
|
The pros and cons of the above two integration methods are shown in the following table:
|
|
42
39
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
<td rowspan="1" colSpan="1" >Suitable Scenarios</td>
|
|
48
|
-
|
|
49
|
-
<td rowspan="1" colSpan="1" >Advantage</td>
|
|
50
|
-
|
|
51
|
-
<td rowspan="1" colSpan="1" >Disadvantage</td>
|
|
52
|
-
</tr>
|
|
53
|
-
|
|
54
|
-
<tr>
|
|
55
|
-
<td rowspan="1" colSpan="1" >Remote CocoaPods Integration</td>
|
|
56
|
-
|
|
57
|
-
<td rowspan="1" colSpan="1" >Suitable for integration without source code modifications.</td>
|
|
58
|
-
|
|
59
|
-
<td rowspan="1" colSpan="1" >When there is a version update of TUIKit, you only need to `Pod update` again to complete the update.</td>
|
|
60
|
-
|
|
61
|
-
<td rowspan="1" colSpan="1" >When you have modifications to the source code, using `Pod update` to update will overwrite your modifications with the new version of TUIKit.</td>
|
|
62
|
-
</tr>
|
|
63
|
-
|
|
64
|
-
<tr>
|
|
65
|
-
<td rowspan="1" colSpan="1" >Local DevelopmentPods Integration</td>
|
|
66
|
-
|
|
67
|
-
<td rowspan="1" colSpan="1" >Suitable for customers who have custom modifications to the source code</td>
|
|
68
|
-
|
|
69
|
-
<td rowspan="1" colSpan="1" >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.</td>
|
|
70
|
-
|
|
71
|
-
<td rowspan="1" colSpan="1" >You need to manually overwrite your local TUIKit folder with the TUIKit source code to update.</td>
|
|
72
|
-
</tr>
|
|
73
|
-
</table>
|
|
74
|
-
|
|
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. |
|
|
75
44
|
|
|
76
45
|
### Remote CocoaPods
|
|
77
46
|
|
|
78
47
|
> **Note:**
|
|
79
|
-
>
|
|
48
|
+
>
|
|
80
49
|
|
|
81
50
|
> Swift language component support was introduced in TUIKit version 8.5.6870.
|
|
82
|
-
>
|
|
83
|
-
|
|
51
|
+
>
|
|
84
52
|
|
|
85
53
|
You can add components as needed in your Podfile:
|
|
86
54
|
|
|
87
|
-
|
|
88
|
-
|
|
89
55
|
【Minimalist version】
|
|
90
56
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
57
|
【Swift】
|
|
95
58
|
``` bash
|
|
96
59
|
# Uncomment the next line to define a global platform for your project
|
|
@@ -106,17 +69,17 @@ target 'your_project_name' do
|
|
|
106
69
|
use_modular_headers!
|
|
107
70
|
|
|
108
71
|
# Integrate the chat feature
|
|
109
|
-
pod 'TUIChat_Swift/UI_Minimalist'
|
|
72
|
+
pod 'TUIChat_Swift/UI_Minimalist'
|
|
110
73
|
# Integrate the conversation list feature
|
|
111
74
|
pod 'TUIConversation_Swift/UI_Minimalist'
|
|
112
75
|
# Integrate the relationship chain feature
|
|
113
76
|
pod 'TUIContact_Swift/UI_Minimalist'
|
|
114
77
|
# Integrate the search feature (To use this feature, you need to purchase the Pro edition 、Pro Plus edition or Enterprise edition)
|
|
115
|
-
pod 'TUISearch_Swift/UI_Minimalist'
|
|
78
|
+
pod 'TUISearch_Swift/UI_Minimalist'
|
|
116
79
|
# Integrate the audio/video call feature
|
|
117
80
|
pod 'TUICallKit_Swift'
|
|
118
81
|
# Integrate Translation Plugin(Value-added feature activation required, please contact Tencent Cloud Business to activate)
|
|
119
|
-
pod 'TUITranslationPlugin_Swift'
|
|
82
|
+
pod 'TUITranslationPlugin_Swift'
|
|
120
83
|
# Integrate Session Tagging Plugin
|
|
121
84
|
pod 'TUIConversationMarkPlugin_Swift'
|
|
122
85
|
# Integrate Speech-to-Text Plugin
|
|
@@ -126,7 +89,7 @@ end
|
|
|
126
89
|
#Pods config
|
|
127
90
|
post_install do |installer|
|
|
128
91
|
installer.pods_project.targets.each do |target|
|
|
129
|
-
target.build_configurations.each do |config|
|
|
92
|
+
target.build_configurations.each do |config|
|
|
130
93
|
#Fix Xcode14 Bundle target error
|
|
131
94
|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
|
|
132
95
|
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
|
|
@@ -155,7 +118,6 @@ post_install do |installer|
|
|
|
155
118
|
end
|
|
156
119
|
```
|
|
157
120
|
|
|
158
|
-
|
|
159
121
|
【Objective-C】
|
|
160
122
|
``` bash
|
|
161
123
|
# Uncomment the next line to define a global platform for your project
|
|
@@ -175,17 +137,17 @@ target 'your_project_name' do
|
|
|
175
137
|
# use_modular_headers!
|
|
176
138
|
|
|
177
139
|
# Integrate the chat feature
|
|
178
|
-
pod 'TUIChat/UI_Minimalist'
|
|
140
|
+
pod 'TUIChat/UI_Minimalist'
|
|
179
141
|
# Integrate the conversation list feature
|
|
180
142
|
pod 'TUIConversation/UI_Minimalist'
|
|
181
143
|
# Integrate the relationship chain feature
|
|
182
144
|
pod 'TUIContact/UI_Minimalist'
|
|
183
145
|
# Integrate the search feature (To use this feature, you need to purchase the Pro edition 、Pro Plus edition or Enterprise edition)
|
|
184
|
-
pod 'TUISearch/UI_Minimalist'
|
|
146
|
+
pod 'TUISearch/UI_Minimalist'
|
|
185
147
|
# Integrate the audio/video call feature
|
|
186
148
|
pod 'TUICallKit_Swift'
|
|
187
149
|
# Integrate Translation Plugin, supported starting from version 7.2 (Value-added feature activation required, please contact Tencent Cloud Business to activate)
|
|
188
|
-
pod 'TUITranslationPlugin'
|
|
150
|
+
pod 'TUITranslationPlugin'
|
|
189
151
|
# Integrate Session Tagging Plugin, supported starting from version 7.3
|
|
190
152
|
pod 'TUIConversationMarkPlugin'
|
|
191
153
|
# Integrate Speech-to-Text Plugin, supported starting from version 7.5
|
|
@@ -197,7 +159,7 @@ end
|
|
|
197
159
|
#Pods config
|
|
198
160
|
post_install do |installer|
|
|
199
161
|
installer.pods_project.targets.each do |target|
|
|
200
|
-
target.build_configurations.each do |config|
|
|
162
|
+
target.build_configurations.each do |config|
|
|
201
163
|
#Fix Xcode14 Bundle target error
|
|
202
164
|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
|
|
203
165
|
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
|
|
@@ -228,9 +190,6 @@ end
|
|
|
228
190
|
|
|
229
191
|
【Classic version】
|
|
230
192
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
193
|
【Swift】
|
|
235
194
|
``` bash
|
|
236
195
|
# Uncomment the next line to define a global platform for your project
|
|
@@ -246,13 +205,13 @@ target 'your_project_name' do
|
|
|
246
205
|
use_modular_headers!
|
|
247
206
|
|
|
248
207
|
# Integrate the chat feature
|
|
249
|
-
pod 'TUIChat_Swift/UI_Classic'
|
|
208
|
+
pod 'TUIChat_Swift/UI_Classic'
|
|
250
209
|
# Integrate the conversation list feature
|
|
251
210
|
pod 'TUIConversation_Swift/UI_Classic'
|
|
252
211
|
# Integrate the relationship chain feature
|
|
253
212
|
pod 'TUIContact_Swift/UI_Classic'
|
|
254
213
|
# Integrate the search feature (To use this feature, you need to purchase the Pro edition 、Pro Plus edition or Enterprise edition)
|
|
255
|
-
pod 'TUISearch_Swift/UI_Classic'
|
|
214
|
+
pod 'TUISearch_Swift/UI_Classic'
|
|
256
215
|
# Integrate the audio/video call feature
|
|
257
216
|
pod 'TUICallKit_Swift'
|
|
258
217
|
# Integrate Voting Plugin
|
|
@@ -260,7 +219,7 @@ target 'your_project_name' do
|
|
|
260
219
|
# Integrate Group Chain Plugin
|
|
261
220
|
pod 'TUIGroupNotePlugin_Swift'
|
|
262
221
|
# Integrate Translation Plugin (Value-added feature activation required, please contact Tencent Cloud Business to activate)
|
|
263
|
-
pod 'TUITranslationPlugin_Swift'
|
|
222
|
+
pod 'TUITranslationPlugin_Swift'
|
|
264
223
|
# Integrate Session Grouping Plugin
|
|
265
224
|
pod 'TUIConversationGroupPlugin_Swift'
|
|
266
225
|
# Integrate Session Tagging Plugin
|
|
@@ -275,7 +234,7 @@ end
|
|
|
275
234
|
#Pods config
|
|
276
235
|
post_install do |installer|
|
|
277
236
|
installer.pods_project.targets.each do |target|
|
|
278
|
-
target.build_configurations.each do |config|
|
|
237
|
+
target.build_configurations.each do |config|
|
|
279
238
|
#Fix Xcode14 Bundle target error
|
|
280
239
|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
|
|
281
240
|
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
|
|
@@ -304,7 +263,6 @@ post_install do |installer|
|
|
|
304
263
|
end
|
|
305
264
|
```
|
|
306
265
|
|
|
307
|
-
|
|
308
266
|
【Objective-C】
|
|
309
267
|
``` bash
|
|
310
268
|
# Uncomment the next line to define a global platform for your project
|
|
@@ -323,13 +281,13 @@ target 'your_project_name' do
|
|
|
323
281
|
# use_modular_headers!
|
|
324
282
|
|
|
325
283
|
# Integrate the chat feature
|
|
326
|
-
pod 'TUIChat/UI_Classic'
|
|
284
|
+
pod 'TUIChat/UI_Classic'
|
|
327
285
|
# Integrate the conversation list feature
|
|
328
286
|
pod 'TUIConversation/UI_Classic'
|
|
329
287
|
# Integrate the relationship chain feature
|
|
330
288
|
pod 'TUIContact/UI_Classic'
|
|
331
289
|
# Integrate the search feature (To use this feature, you need to purchase the Pro edition 、Pro Plus edition or Enterprise edition)
|
|
332
|
-
pod 'TUISearch/UI_Classic'
|
|
290
|
+
pod 'TUISearch/UI_Classic'
|
|
333
291
|
# Integrate the audio/video call feature
|
|
334
292
|
pod 'TUICallKit_Swift'
|
|
335
293
|
# Integrate Voting Plugin, supported starting from version 7.1
|
|
@@ -337,7 +295,7 @@ target 'your_project_name' do
|
|
|
337
295
|
# Integrate Group Chain Plugin, supported starting from version 7.1
|
|
338
296
|
pod 'TUIGroupNotePlugin'
|
|
339
297
|
# Integrate Translation Plugin, supported starting from version 7.2 (Value-added feature activation required, please contact Tencent Cloud Business to activate)
|
|
340
|
-
pod 'TUITranslationPlugin'
|
|
298
|
+
pod 'TUITranslationPlugin'
|
|
341
299
|
# Integrate Session Grouping Plugin, supported starting from version 7.3
|
|
342
300
|
pod 'TUIConversationGroupPlugin'
|
|
343
301
|
# Integrate Session Tagging Plugin, supported starting from version 7.3
|
|
@@ -354,7 +312,7 @@ end
|
|
|
354
312
|
#Pods config
|
|
355
313
|
post_install do |installer|
|
|
356
314
|
installer.pods_project.targets.each do |target|
|
|
357
|
-
target.build_configurations.each do |config|
|
|
315
|
+
target.build_configurations.each do |config|
|
|
358
316
|
#Fix Xcode14 Bundle target error
|
|
359
317
|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
|
|
360
318
|
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
|
|
@@ -383,15 +341,12 @@ post_install do |installer|
|
|
|
383
341
|
end
|
|
384
342
|
```
|
|
385
343
|
|
|
386
|
-
|
|
387
|
-
|
|
388
344
|
> **Indication**
|
|
389
|
-
>
|
|
390
|
-
> 1. If you directly use `pod 'TUIChat'` without specifying classic or minimalist, it will integrate both UI component versions by default.
|
|
345
|
+
>
|
|
346
|
+
> 1. If you directly use `pod 'TUIChat'` without specifying classic or minimalist, it will integrate both UI component versions by default.
|
|
391
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.
|
|
392
348
|
> 3. If you are using Swift, please enable `use_modular_headers!`, and change the header file reference to @import reference.
|
|
393
349
|
|
|
394
|
-
|
|
395
350
|
After modifying the Podfile, run the following command to install TUIKit.
|
|
396
351
|
``` bash
|
|
397
352
|
pod install
|
|
@@ -409,27 +364,19 @@ pod update
|
|
|
409
364
|
|
|
410
365
|
After all TUIKit components are integrated, the project structure is as follows:
|
|
411
366
|
|
|
412
|
-

|
|
413
|
-
|
|
414
|
-
|
|
415
367
|
> **Note:**
|
|
416
|
-
>
|
|
368
|
+
>
|
|
417
369
|
|
|
418
370
|
> If you encounter any errors in the process, you can refer to the FAQs at the end of the document.
|
|
419
|
-
>
|
|
420
|
-
|
|
371
|
+
>
|
|
421
372
|
|
|
422
373
|
### Local DevelopmentPods
|
|
423
|
-
1. Download TUIKit source code from GitHub. Drag it directly into your project directory:
|
|
374
|
+
1. Download TUIKit source code from GitHub. Drag it directly into your project directory:
|
|
424
375
|
|
|
425
376
|
1. [Swift TUIKit in Github](https://github.com/Tencent-RTC/Chat_UIKit/tree/main/Swift/TUIKit):
|
|
426
377
|
|
|
427
|
-

|
|
428
|
-
|
|
429
378
|
2. [Objective-C TUIKit in Github](https://github.com/TencentCloud/chat-uikit-ios/tree/main/TUIKit):
|
|
430
379
|
|
|
431
|
-

|
|
432
|
-
|
|
433
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:
|
|
434
381
|
|
|
435
382
|
- The TUIKit folder is located in the **parent directory** of your project's Podfile: `pod 'TUICore', :path => "../TUIKit/TUICore"`
|
|
@@ -438,17 +385,10 @@ After all TUIKit components are integrated, the project structure is as follows:
|
|
|
438
385
|
|
|
439
386
|
- The TUIKit folder is located in the **subdirectory** of your project's Podfile: ` pod 'TUICore', :path => "/TUIKit/TUICore"`
|
|
440
387
|
|
|
441
|
-
|
|
442
388
|
Taking the TUIKit folder located in the parent directory of your project's Podfile as an example:
|
|
443
389
|
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
390
|
【DevelopmentPodfile】
|
|
448
391
|
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
392
|
【Swift】
|
|
453
393
|
``` bash
|
|
454
394
|
ment# Uncomment the next line to define a global platform for your project
|
|
@@ -465,7 +405,7 @@ target 'your_project_name' do
|
|
|
465
405
|
# Integrate the basic library (required)
|
|
466
406
|
pod 'TUICore', :path => "../TUIKit/TUICore"
|
|
467
407
|
pod 'TIMCommon_Swift', :path => "../TUIKit/TIMCommon"
|
|
468
|
-
|
|
408
|
+
|
|
469
409
|
# Integrate TUIKit components (optional)
|
|
470
410
|
# Integrate the chat feature
|
|
471
411
|
pod 'TUIChat_Swift', :path => "../TUIKit/TUIChat"
|
|
@@ -477,11 +417,11 @@ target 'your_project_name' do
|
|
|
477
417
|
pod 'TUISearch_Swift', :path => "../TUIKit/TUISearch"
|
|
478
418
|
# Integrate the audio/video call feature
|
|
479
419
|
pod 'TUICallKit_Swift'
|
|
480
|
-
|
|
420
|
+
|
|
481
421
|
# Integrate the TUIKitPlugin plugin (optional)
|
|
482
422
|
# Integrate translation plugin (Value-added feature activation is required. Please contact Tencent Cloud sales)
|
|
483
423
|
pod 'TUITranslationPlugin_Swift'
|
|
484
|
-
|
|
424
|
+
|
|
485
425
|
# Other Pods
|
|
486
426
|
pod 'MJRefresh'
|
|
487
427
|
pod 'SnapKit'
|
|
@@ -489,7 +429,7 @@ end
|
|
|
489
429
|
#Pods config
|
|
490
430
|
post_install do |installer|
|
|
491
431
|
installer.pods_project.targets.each do |target|
|
|
492
|
-
target.build_configurations.each do |config|
|
|
432
|
+
target.build_configurations.each do |config|
|
|
493
433
|
#Fix Xcode14 Bundle target error
|
|
494
434
|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
|
|
495
435
|
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
|
|
@@ -518,7 +458,6 @@ post_install do |installer|
|
|
|
518
458
|
end
|
|
519
459
|
```
|
|
520
460
|
|
|
521
|
-
|
|
522
461
|
【Objective-C】
|
|
523
462
|
``` bash
|
|
524
463
|
ment# Uncomment the next line to define a global platform for your project
|
|
@@ -535,7 +474,7 @@ target 'your_project_name' do
|
|
|
535
474
|
# Integrate the basic library (required)
|
|
536
475
|
pod 'TUICore', :path => "../TUIKit/TUICore"
|
|
537
476
|
pod 'TIMCommon', :path => "../TUIKit/TIMCommon"
|
|
538
|
-
|
|
477
|
+
|
|
539
478
|
# Integrate TUIKit components (optional)
|
|
540
479
|
# Integrate the chat feature
|
|
541
480
|
pod 'TUIChat', :path => "../TUIKit/TUIChat"
|
|
@@ -549,11 +488,11 @@ target 'your_project_name' do
|
|
|
549
488
|
pod 'TUICallKit_Swift'
|
|
550
489
|
# Integrate the video conference feature
|
|
551
490
|
pod 'TUIRoomKit'
|
|
552
|
-
|
|
491
|
+
|
|
553
492
|
# Integrate the TUIKitPlugin plugin (optional)
|
|
554
493
|
# Note: The TUIKitPlugin plugin version must be the same as the TUICore version.
|
|
555
494
|
# Ensure that the plugin version matches spec.version in "../TUIKit/TUICore/TUICore.spec".
|
|
556
|
-
|
|
495
|
+
|
|
557
496
|
# Integrate the voting plugin, supported from version 7.1
|
|
558
497
|
pod 'TUIPollPlugin'
|
|
559
498
|
# Integrate the group chain plugin, supported from version 7.1
|
|
@@ -566,7 +505,7 @@ target 'your_project_name' do
|
|
|
566
505
|
pod 'TUIConversationMarkPlugin'
|
|
567
506
|
# Integrate the offline push feature
|
|
568
507
|
pod 'TIMPush'
|
|
569
|
-
|
|
508
|
+
|
|
570
509
|
# Other Pods
|
|
571
510
|
pod 'MJRefresh'
|
|
572
511
|
pod 'Masonry'
|
|
@@ -574,7 +513,7 @@ end
|
|
|
574
513
|
#Pods config
|
|
575
514
|
post_install do |installer|
|
|
576
515
|
installer.pods_project.targets.each do |target|
|
|
577
|
-
target.build_configurations.each do |config|
|
|
516
|
+
target.build_configurations.each do |config|
|
|
578
517
|
#Fix Xcode14 Bundle target error
|
|
579
518
|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
|
|
580
519
|
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
|
|
@@ -607,22 +546,18 @@ end
|
|
|
607
546
|
|
|
608
547
|
``` bash
|
|
609
548
|
pod install
|
|
610
|
-
```
|
|
549
|
+
```
|
|
611
550
|
|
|
612
551
|
> **Note:**
|
|
613
|
-
>
|
|
552
|
+
>
|
|
614
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.
|
|
615
554
|
> 5. When private modifications conflict with the remote version, manual merging is required to resolve conflicts.
|
|
616
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".
|
|
617
556
|
|
|
618
|
-
|
|
619
557
|
## Third-party Library Dependencies
|
|
620
558
|
|
|
621
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.
|
|
622
560
|
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
561
|
【Swift】
|
|
627
562
|
``` plaintext
|
|
628
563
|
- MJExtension (3.4.1)
|
|
@@ -632,7 +567,6 @@ The minimum version requirements for third-party libraries depended on by TUIKit
|
|
|
632
567
|
- SDWebImage (5.18.11)
|
|
633
568
|
```
|
|
634
569
|
|
|
635
|
-
|
|
636
570
|
【Objective-C】
|
|
637
571
|
``` plaintext
|
|
638
572
|
- Masonry (1.1.0)
|
|
@@ -655,64 +589,36 @@ After integrating TUIKit, if you want to continue building basic interfaces for
|
|
|
655
589
|
### Xcode Issues
|
|
656
590
|
- **Integration error: [Xcodeproj] Unknown object version (60). (RuntimeError)**
|
|
657
591
|
|
|
658
|
-

|
|
659
|
-
|
|
660
|
-
|
|
661
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:
|
|
662
593
|
|
|
663
|
-
|
|
664
594
|
Solution 1: Change the Xcode project's `Project Format` version to Xcode13.0.
|
|
665
595
|
|
|
666
|
-

|
|
667
|
-
|
|
668
|
-
|
|
669
596
|
Solution 2: Upgrade your local version of CocoaPods. The upgrade method will not be elaborated here.
|
|
670
597
|
|
|
671
598
|
- **Assertion failed: (false && "compact unwind compressed function offset doesn't fit in 24 bits"), function operator(), file Layout.cpp.**
|
|
672
599
|
|
|
673
|
-

|
|
674
|
-
|
|
675
|
-
|
|
676
600
|
Or, when integrating TUIRoom with XCode15, the latest linker causes symbol conflicts in TUIRoomEngine, which is also part of this issue.
|
|
677
601
|
|
|
678
|
-

|
|
679
|
-
|
|
680
|
-
|
|
681
602
|
Solution: Modify the linker configuration. In `Build Settings`, add `-ld64` to `Other Linker Flags`.
|
|
682
603
|
|
|
683
|
-
|
|
684
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)
|
|
685
605
|
|
|
686
|
-

|
|
687
|
-
|
|
688
606
|
- **Rosetta Simulator Issue**
|
|
689
607
|
|
|
690
|
-
|
|
691
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.
|
|
692
609
|
|
|
693
|
-

|
|
694
|
-
|
|
695
610
|
- **Xcode 15 Developer Sandbox Option Error: Sandbox: bash(xxx) deny(1) file-write-create**
|
|
696
611
|
|
|
697
|
-

|
|
698
|
-
|
|
699
|
-
|
|
700
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.
|
|
701
613
|
|
|
702
|
-

|
|
703
|
-
|
|
704
614
|
- **Xcode 16 does not support enabling bitcode for Frameworks**
|
|
705
615
|
|
|
706
|
-
|
|
707
616
|
**Solution 1: Upgrade the SDK**
|
|
708
617
|
|
|
709
|
-
|
|
710
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.
|
|
711
619
|
|
|
712
|
-
|
|
713
620
|
**Solution 2: Modify the Podfile**
|
|
714
621
|
|
|
715
|
-
|
|
716
622
|
Add the following configuration to the end of your Podfile and run pod install again.
|
|
717
623
|
|
|
718
624
|
``` java
|
|
@@ -736,48 +642,32 @@ After integrating TUIKit, if you want to continue building basic interfaces for
|
|
|
736
642
|
### CocoaPods Issues
|
|
737
643
|
- **When using remote integration, issues with mismatched Pod dependency versions**
|
|
738
644
|
|
|
739
|
-
|
|
740
|
-
If you encounter a mismatch between the Podfile.lock and the plugin dependency version of TUICore while using remote CocoaPods integration,
|
|
741
|
-
|
|
645
|
+
If you encounter a mismatch between the Podfile.lock and the plugin dependency version of TUICore while using remote CocoaPods integration,
|
|
742
646
|
|
|
743
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.
|
|
744
648
|
|
|
745
|
-

|
|
746
|
-
|
|
747
649
|
- **When using local integration, issues with mismatched Pod dependency versions**
|
|
748
650
|
|
|
749
|
-
|
|
750
651
|
When integrating local DevelopmentPods and the plugin dependency on TUICoreis newer, but the local Pod dependency version is 1.0.0,
|
|
751
652
|
|
|
752
|
-
|
|
753
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.
|
|
754
654
|
|
|
755
|
-
|
|
756
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.
|
|
757
656
|
|
|
758
|
-

|
|
759
|
-
|
|
760
|
-
|
|
761
657
|
### Submission Issues
|
|
762
658
|
- **Packaging failure when launching on the Appstore, with an 'Unsupported Architectures' error message.**
|
|
763
659
|
|
|
764
|
-
|
|
765
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.
|
|
766
661
|
|
|
767
|
-

|
|
768
|
-
|
|
769
|
-
|
|
770
662
|
You can follow the steps below to remove the simulator version during packaging:
|
|
771
663
|
|
|
772
664
|
1. Select your project's Target and click on the `Build Phases` option, then add a `Run Script` to the current panel;
|
|
773
665
|
|
|
774
|
-

|
|
775
|
-
|
|
776
666
|
2. In the newly added Run Script, insert the following script:
|
|
777
667
|
|
|
778
668
|
``` bash
|
|
779
669
|
#!/bin/sh
|
|
780
|
-
|
|
670
|
+
|
|
781
671
|
# Strip invalid architectures
|
|
782
672
|
strip_invalid_archs() {
|
|
783
673
|
binary="$1"
|
|
@@ -798,9 +688,9 @@ After integrating TUIKit, if you want to continue building basic interfaces for
|
|
|
798
688
|
echo "Stripped $binary of architectures:$stripped"
|
|
799
689
|
fi
|
|
800
690
|
}
|
|
801
|
-
|
|
691
|
+
|
|
802
692
|
APP_PATH="${TARGET_BUILD_DIR}/${WRAPPER_NAME}"
|
|
803
|
-
|
|
693
|
+
|
|
804
694
|
# This script loops through the frameworks embedded in the application and
|
|
805
695
|
# removes unused architectures.
|
|
806
696
|
find "$APP_PATH" -name '*.framework' -type d | while read -r FRAMEWORK
|
|
@@ -811,19 +701,16 @@ After integrating TUIKit, if you want to continue building basic interfaces for
|
|
|
811
701
|
strip_invalid_archs "$FRAMEWORK_EXECUTABLE_PATH"
|
|
812
702
|
done
|
|
813
703
|
```
|
|
814
|
-

|
|
815
|
-
|
|
816
704
|
|
|
817
705
|
### TUICallKit Issues
|
|
818
706
|
- **What should I do if TUICallKit conflicts with an audio/video library that I have integrated?**
|
|
819
707
|
|
|
820
|
-
|
|
821
708
|
Tencent Cloud's audio and video libraries cannot be integrated simultaneously due to possible symbol conflicts. These can be addressed as follows.
|
|
822
709
|
|
|
823
710
|
1. If you have integrated the `TXLiteAVSDK_TRTC` library, a symbol conflict will not occur. You can directly add the dependency in Podfile:
|
|
824
711
|
|
|
825
712
|
``` ruby
|
|
826
|
-
pod 'TUICallKit_Swift'
|
|
713
|
+
pod 'TUICallKit_Swift'
|
|
827
714
|
```
|
|
828
715
|
2. If you have integrated the `TXLiteAVSDK_Professional` library, a symbol conflict will occur. You can add the dependency in Podfile:
|
|
829
716
|
|
|
@@ -834,19 +721,14 @@ After integrating TUIKit, if you want to continue building basic interfaces for
|
|
|
834
721
|
|
|
835
722
|
- **How long is the default duration for call invitation timeouts?**
|
|
836
723
|
|
|
837
|
-
|
|
838
724
|
The default timeout duration for a call invitation is 30 seconds.
|
|
839
725
|
|
|
840
726
|
- **During the invitation timeout period, can the invitee immediately receive the invitation if they go offline and then online?**
|
|
841
727
|
|
|
842
|
-
|
|
843
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.
|
|
844
729
|
|
|
845
|
-
|
|
846
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.
|
|
847
731
|
|
|
848
|
-
|
|
849
732
|
## Contact Us
|
|
850
733
|
|
|
851
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.
|
|
852
|
-
|