@tencent-rtc/mcp 1.6.7 → 1.7.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/CHANGELOG.md +25 -0
- package/README.md +53 -39
- package/knowledge/build-index.js +31 -4
- package/knowledge/chunker.js +82 -14
- package/knowledge/chunking-policy.js +100 -0
- package/knowledge/content-loader.js +3 -1
- package/knowledge/frontmatter-meta.js +167 -0
- package/knowledge/path-meta.js +28 -6
- package/knowledge/search/exact-lookup.js +9 -227
- package/knowledge/search/filter-pool.js +17 -26
- package/knowledge/search/framework-fallback.js +22 -0
- package/knowledge/search/intent-router.js +13 -0
- package/knowledge/search/query-normalizer.js +129 -0
- package/knowledge/search/search-core.js +391 -0
- package/knowledge/search/search-knowledge.js +351 -323
- package/knowledge/search/search-message.js +87 -0
- package/knowledge/search/search-pass.js +428 -0
- package/knowledge/search/search-types.js +1 -0
- package/knowledge/search/url-row-scorer.js +258 -0
- package/package.json +1 -1
- package/resource/_schema/feature-aliases.yaml +1 -0
- package/resource/_schema/query-normalization.yaml +9 -0
- package/resource/index/manifest.json +1 -1
- package/resource/integration/callkit/preset/android/integration.md +3 -14
- package/resource/integration/callkit/preset/flutter/integration.md +1 -12
- package/resource/integration/callkit/preset/ios/integration.md +2 -12
- package/resource/integration/callkit/preset/react/integration.md +1 -14
- package/resource/integration/callkit/preset/vue/integration.md +1 -14
- package/resource/integration/chat/preset/android/integration.md +6 -13
- package/resource/integration/chat/preset/flutter/integration.md +1 -8
- package/resource/integration/chat/preset/ios/integration.md +4 -12
- package/resource/integration/chat/preset/react/integration.md +6 -16
- package/resource/integration/chat/preset/vue/integration.md +0 -9
- package/resource/integration/livekit/preset/live/android/live-audience-integration.md +2 -6
- package/resource/integration/livekit/preset/live/android/live-host-integration.md +1 -11
- package/resource/integration/livekit/preset/live/android/live-list-integration.md +2 -6
- package/resource/integration/livekit/preset/live/android/prepare-integration.md +2 -7
- package/resource/integration/livekit/preset/live/ios/live-audience-integration.md +2 -7
- package/resource/integration/livekit/preset/live/ios/live-host-integration.md +1 -13
- package/resource/integration/livekit/preset/live/ios/live-list-integration.md +2 -10
- package/resource/integration/livekit/preset/live/ios/prepare-integration.md +3 -8
- package/resource/integration/livekit/preset/live/vue/live-list-integration.md +0 -4
- package/resource/integration/livekit/preset/live/vue/live-player-desk-integration.md +1 -5
- package/resource/integration/livekit/preset/live/vue/live-player-h5-integration.md +2 -7
- package/resource/integration/livekit/preset/live/vue/live-pusher-integration.md +2 -8
- package/resource/integration/roomkit/preset/vue/integration.md +0 -11
- package/resource/knowledge/callkit/best-practice/callkit-miniprogram/uniapp-shrink.md +60 -0
- package/resource/knowledge/callkit/best-practice/common/call-autoplay-blocked.md +77 -0
- package/resource/knowledge/callkit/best-practice/common/call-message-in-chat.md +78 -0
- package/resource/knowledge/callkit/best-practice/common/call-vs-calls.md +110 -0
- package/resource/knowledge/callkit/best-practice/common/callengine-call-flow.md +123 -0
- package/resource/knowledge/callkit/best-practice/common/callengine-log-level.md +67 -0
- package/resource/knowledge/callkit/best-practice/common/callkit-get-engine-instance.md +81 -0
- package/resource/knowledge/callkit/best-practice/common/callkit-get-roomid.md +78 -0
- package/resource/knowledge/callkit/best-practice/common/callkit-limitations.md +37 -0
- package/resource/knowledge/callkit/best-practice/common/callkit-user-register-and-kicked.md +98 -0
- package/resource/knowledge/callkit/core-sdk/android/answer-call.md +0 -7
- package/resource/knowledge/callkit/core-sdk/android/make-call.md +0 -8
- package/resource/knowledge/callkit/core-sdk/android/offline-push.md +1 -9
- package/resource/knowledge/callkit/core-sdk/flutter/answer-call.md +2 -8
- package/resource/knowledge/callkit/core-sdk/flutter/make-call.md +2 -8
- package/resource/knowledge/callkit/core-sdk/flutter/offline-push.md +1 -16
- package/resource/knowledge/callkit/core-sdk/ios/answer-call.md +0 -8
- package/resource/knowledge/callkit/core-sdk/ios/make-call.md +0 -8
- package/resource/knowledge/callkit/core-sdk/ios/offline-push.md +0 -11
- package/resource/knowledge/callkit/core-sdk/uni-app/answer-call.md +178 -200
- package/resource/knowledge/callkit/core-sdk/uni-app/make-call.md +195 -217
- package/resource/knowledge/callkit/faq/android.md +4 -14
- package/resource/knowledge/callkit/faq/common.md +0 -2
- package/resource/knowledge/callkit/faq/error-code.md +2 -4
- package/resource/knowledge/callkit/faq/ios.md +1 -4
- package/resource/knowledge/callkit/preset/android/api.md +0 -6
- package/resource/knowledge/callkit/preset/ios/api.md +0 -4
- package/resource/knowledge/callkit/preset/react/api.md +3 -4
- package/resource/knowledge/callkit/preset/vue/api.md +3 -4
- package/resource/knowledge/chat/best-practice/common/avchatroom-message-loss-diagnosis.md +65 -0
- package/resource/knowledge/chat/best-practice/common/group-conversation-cleanup-on-system-notice.md +62 -0
- package/resource/knowledge/chat/best-practice/common/image-message-url-lifecycle.md +59 -0
- package/resource/knowledge/chat/best-practice/common/login-repeat-2025-diagnosis.md +61 -0
- package/resource/knowledge/chat/best-practice/common/message-read-report-and-receipt.md +64 -0
- package/resource/knowledge/chat/best-practice/common/message-receive-event.md +65 -0
- package/resource/knowledge/chat/best-practice/common/message-risk-error-and-render.md +65 -0
- package/resource/knowledge/chat/best-practice/common/message-unread-count.md +71 -0
- package/resource/knowledge/chat/best-practice/miniprogram/audio-message-send.md +113 -0
- package/resource/knowledge/chat/best-practice/miniprogram/login-timeout-2801-diagnosis.md +63 -0
- package/resource/knowledge/chat/best-practice/miniprogram/media-upload-fail-diagnosis.md +64 -0
- package/resource/knowledge/chat/best-practice/web/audio-message-send.md +118 -0
- package/resource/knowledge/chat/preset/android/features/chat-setting.md +0 -5
- package/resource/knowledge/chat/preset/android/features/contact-list.md +0 -7
- package/resource/knowledge/chat/preset/android/features/conversation-list.md +0 -6
- package/resource/knowledge/chat/preset/android/features/language.md +0 -8
- package/resource/knowledge/chat/preset/android/features/message-input.md +0 -6
- package/resource/knowledge/chat/preset/android/features/message-list.md +0 -8
- package/resource/knowledge/chat/preset/android/features/search.md +0 -7
- package/resource/knowledge/chat/preset/android/features/theme.md +0 -4
- package/resource/knowledge/chat/preset/android-view/integration.md +0 -6
- package/resource/knowledge/chat/preset/flutter/features/chat-setting.md +0 -4
- package/resource/knowledge/chat/preset/flutter/features/contact-list.md +0 -9
- package/resource/knowledge/chat/preset/flutter/features/conversation-list.md +0 -7
- package/resource/knowledge/chat/preset/flutter/features/language.md +0 -5
- package/resource/knowledge/chat/preset/flutter/features/message-input.md +0 -6
- package/resource/knowledge/chat/preset/flutter/features/message-list.md +0 -8
- package/resource/knowledge/chat/preset/flutter/features/search.md +0 -5
- package/resource/knowledge/chat/preset/flutter/features/theme.md +0 -4
- package/resource/knowledge/chat/preset/ios/features/chat-setting.md +0 -5
- package/resource/knowledge/chat/preset/ios/features/contact-list.md +0 -5
- package/resource/knowledge/chat/preset/ios/features/conversation-list.md +0 -7
- package/resource/knowledge/chat/preset/ios/features/language.md +1 -8
- package/resource/knowledge/chat/preset/ios/features/message-input.md +0 -6
- package/resource/knowledge/chat/preset/ios/features/message-list.md +0 -8
- package/resource/knowledge/chat/preset/ios/features/search.md +0 -5
- package/resource/knowledge/chat/preset/ios/features/theme.md +0 -4
- package/resource/knowledge/chat/preset/ios-uikit/integration.md +0 -6
- package/resource/knowledge/chat/preset/react/features/contact-list.md +0 -23
- package/resource/knowledge/chat/preset/react/features/conversation-actions.md +2 -11
- package/resource/knowledge/chat/preset/react/features/conversation-list.md +4 -26
- package/resource/knowledge/chat/preset/react/features/conversation-preview.md +0 -6
- package/resource/knowledge/chat/preset/react/features/search.md +0 -1
- package/resource/knowledge/chat/preset/react/features/theme.md +0 -1
- package/resource/knowledge/chat/preset/vue/features/contact-list.md +3 -9
- package/resource/knowledge/chat/preset/vue/features/conversation-actions.md +0 -3
- package/resource/knowledge/chat/preset/vue/features/conversation-list.md +2 -13
- package/resource/knowledge/chat/preset/vue/features/conversation-preview.md +2 -3
- package/resource/knowledge/chat/preset/vue/features/conversation-search.md +1 -0
- package/resource/knowledge/chat/preset/vue/features/search.md +4 -3
- package/resource/knowledge/chat/urls/sdk/web.md +1 -1
- package/resource/knowledge/livekit/best-practice/android/voice-room-anchor-start.md +120 -0
- package/resource/knowledge/livekit/best-practice/common/admin-take-seat.md +73 -0
- package/resource/knowledge/livekit/best-practice/common/audience-leave-live.md +81 -0
- package/resource/knowledge/livekit/best-practice/common/voice-room-no-audio-troubleshoot.md +100 -0
- package/resource/knowledge/livekit/best-practice/common/voice-room-seat-list-change.md +65 -0
- package/resource/knowledge/livekit/best-practice/flutter/voice-room-anchor-start.md +122 -0
- package/resource/knowledge/livekit/best-practice/ios/voice-room-anchor-start.md +126 -0
- package/resource/knowledge/livekit/core-sdk/api-reference/android/AudioEffectStore.md +0 -7
- package/resource/knowledge/livekit/core-sdk/api-reference/android/BarrageStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/android/BattleStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/android/CameraView.md +0 -1
- package/resource/knowledge/livekit/core-sdk/api-reference/android/CoGuestStore.md +0 -5
- package/resource/knowledge/livekit/core-sdk/api-reference/android/CoHostStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/android/DeviceStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/android/GiftStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LikeStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveAudienceStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveCoreView.md +0 -1
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveSeatStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LoginStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/AudioEffectStore.md +0 -7
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BarrageStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BaseBeautyStore.md +0 -1
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BattleStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoGuestStore.md +0 -5
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoHostStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/DeviceStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/GiftStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LikeStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveAudienceStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveCoreView.md +0 -1
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveSeatStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LoginStore.md +1 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/AudioEffectStore.md +0 -7
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/BarrageStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/BaseBeautyStore.md +0 -1
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/BattleStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoGuestStore.md +0 -5
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoHostStore.md +0 -3
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/DeviceStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/GiftStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LikeStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveAudienceStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveCoreView.md +0 -1
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveSeatStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LoginStore.md +0 -2
- package/resource/knowledge/livekit/core-sdk/features/android/audience-list.md +2 -2
- package/resource/knowledge/livekit/core-sdk/features/android/audio-effect.md +2 -3
- package/resource/knowledge/livekit/core-sdk/features/android/barrage.md +2 -2
- package/resource/knowledge/livekit/core-sdk/features/android/base-beauty.md +2 -2
- package/resource/knowledge/livekit/core-sdk/features/android/gift.md +2 -7
- package/resource/knowledge/livekit/core-sdk/features/android/live-list.md +3 -4
- package/resource/knowledge/livekit/core-sdk/features/flutter/audience-list.md +2 -2
- package/resource/knowledge/livekit/core-sdk/features/flutter/audio-effect.md +2 -4
- package/resource/knowledge/livekit/core-sdk/features/flutter/barrage.md +2 -2
- package/resource/knowledge/livekit/core-sdk/features/flutter/base-beauty.md +0 -2
- package/resource/knowledge/livekit/core-sdk/features/flutter/gift.md +2 -7
- package/resource/knowledge/livekit/core-sdk/features/flutter/live-list.md +3 -2
- package/resource/knowledge/livekit/core-sdk/features/ios/audience-list.md +2 -2
- package/resource/knowledge/livekit/core-sdk/features/ios/audio-effect.md +2 -4
- package/resource/knowledge/livekit/core-sdk/features/ios/barrage.md +2 -2
- package/resource/knowledge/livekit/core-sdk/features/ios/base-beauty.md +2 -2
- package/resource/knowledge/livekit/core-sdk/features/ios/gift.md +2 -7
- package/resource/knowledge/livekit/core-sdk/features/ios/live-list.md +3 -4
- package/resource/knowledge/livekit/core-sdk/live/android/co-guest-interaction.md +0 -3
- package/resource/knowledge/livekit/core-sdk/live/android/host-interaction.md +0 -4
- package/resource/knowledge/livekit/core-sdk/live/android/integration.md +1 -4
- package/resource/knowledge/livekit/core-sdk/live/flutter/co-guest-interaction.md +1 -3
- package/resource/knowledge/livekit/core-sdk/live/flutter/host-interaction.md +0 -1
- package/resource/knowledge/livekit/core-sdk/live/flutter/integration.md +1 -4
- package/resource/knowledge/livekit/core-sdk/live/ios/co-guest-interaction.md +0 -3
- package/resource/knowledge/livekit/core-sdk/live/ios/host-interaction.md +0 -3
- package/resource/knowledge/livekit/core-sdk/live/ios/integration.md +1 -4
- package/resource/knowledge/livekit/core-sdk/voice/android/co-guest-interaction.md +0 -2
- package/resource/knowledge/livekit/core-sdk/voice/android/host-interaction.md +0 -5
- package/resource/knowledge/livekit/core-sdk/voice/android/integration.md +1 -4
- package/resource/knowledge/livekit/core-sdk/voice/flutter/co-guest-interaction.md +1 -4
- package/resource/knowledge/livekit/core-sdk/voice/flutter/integration.md +3 -6
- package/resource/knowledge/livekit/core-sdk/voice/ios/co-guest-interaction.md +0 -2
- package/resource/knowledge/livekit/core-sdk/voice/ios/host-interaction.md +0 -4
- package/resource/knowledge/livekit/core-sdk/voice/ios/integration.md +1 -4
- package/resource/knowledge/livekit/faq/error-code.md +0 -1
- package/resource/knowledge/livekit/preset/live/vue/features/barrage.md +2 -3
- package/resource/knowledge/livekit/preset/live/vue/features/live-audience-list.md +3 -3
- package/resource/knowledge/livekit/preset/live/vue/features/live-view.md +3 -3
- package/resource/knowledge/push/api-reference/android.md +0 -1
- package/resource/knowledge/push/api-reference/harmonyos.md +0 -2
- package/resource/knowledge/push/api-reference/react-native.md +3 -5
- package/resource/knowledge/push/api-reference/uni-app.md +3 -5
- package/resource/knowledge/push/api-reference/unity.md +0 -1
- package/resource/knowledge/push/api-reference/unreal-engine.md +0 -1
- package/resource/knowledge/push/config/android.md +0 -24
- package/resource/knowledge/push/config/harmonyos.md +0 -1
- package/resource/knowledge/push/config/ios.md +0 -3
- package/resource/knowledge/push/config/react-native.md +0 -29
- package/resource/knowledge/push/config/unity.md +1 -24
- package/resource/knowledge/push/config/unreal-engine.md +1 -24
- package/resource/knowledge/push/integration/android.md +0 -14
- package/resource/knowledge/push/integration/flutter.md +0 -19
- package/resource/knowledge/push/integration/harmonyos.md +0 -2
- package/resource/knowledge/push/integration/ios.md +0 -3
- package/resource/knowledge/push/integration/react-native.md +0 -24
- package/resource/knowledge/push/integration/uni-app.md +1 -11
- package/resource/knowledge/push/integration/unity.md +0 -9
- package/resource/knowledge/push/integration/unreal-engine.md +1 -17
- package/resource/knowledge/roomkit/best-practice/common/room-ghost-member.md +70 -0
- package/resource/knowledge/roomkit/best-practice/common/room-limit-and-multi.md +83 -0
- package/resource/knowledge/roomkit/best-practice/common/room-screen-share-preview.md +83 -0
- package/resource/knowledge/roomkit/best-practice/common/room-status-after-all-leave.md +69 -0
- package/resource/knowledge/roomkit/best-practice/vue/room-uikit-vs-atomicx.md +111 -0
- package/resource/knowledge/roomkit/core-sdk/android/call-user-to-room.md +0 -4
- package/resource/knowledge/roomkit/core-sdk/android/room-participant-state.md +0 -4
- package/resource/knowledge/roomkit/core-sdk/android/room-state.md +0 -4
- package/resource/knowledge/roomkit/core-sdk/android/schedule-room.md +1 -5
- package/resource/knowledge/roomkit/core-sdk/ios/call-user-to-room.md +0 -4
- package/resource/knowledge/roomkit/core-sdk/ios/room-participant-state.md +0 -4
- package/resource/knowledge/roomkit/core-sdk/ios/room-state.md +0 -4
- package/resource/knowledge/roomkit/core-sdk/ios/schedule-room.md +1 -5
- package/resource/knowledge/roomkit/core-sdk/vue/call-user-to-room.md +1 -1
- package/resource/knowledge/roomkit/core-sdk/vue/device-state.md +0 -6
- package/resource/knowledge/roomkit/core-sdk/vue/free-beauty-panel.md +0 -9
- package/resource/knowledge/roomkit/core-sdk/vue/room-chat.md +0 -11
- package/resource/knowledge/roomkit/core-sdk/vue/room-participant-state.md +1 -5
- package/resource/knowledge/roomkit/core-sdk/vue/room-state.md +1 -8
- package/resource/knowledge/roomkit/core-sdk/vue/room-view.md +0 -3
- package/resource/knowledge/roomkit/core-sdk/vue/screen-share.md +0 -3
- package/resource/knowledge/roomkit/core-sdk/vue/virtual-background.md +0 -5
- package/resource/knowledge/roomkit/preset/android/integration.md +0 -4
- package/resource/knowledge/roomkit/preset/flutter/integration.md +1 -13
- package/resource/knowledge/roomkit/preset/ios/integration.md +0 -6
- package/resource/knowledge/roomkit/preset/react/integration.md +0 -16
- package/resource/knowledge/rtcengine/web/api.md +1 -8
- package/resource/knowledge/rtcengine/web/faq.md +3 -5
- package/resource/knowledge/rtcengine/web/how_to_integrated_web_sdk.md +0 -6
- package/resource/knowledge/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +1 -1
- package/resource/knowledge/rtcengine/web/plugin/21-advanced-auto-play-policy.md +1 -1
- package/resource/knowledge/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +1 -1
- package/resource/knowledge/rtcengine/web/plugin/27-advanced-small-stream.md +1 -1
- package/resource/knowledge/rtcengine/web/plugin/30-advanced-cross-room-link.md +2 -0
- package/resource/knowledge/rtcengine/web/plugin/31-advanced-plugins-overview.md +1 -3
- package/resource/knowledge/rtcengine/web/plugin/34-advanced-proxy.md +2 -4
- package/resource/knowledge/rtcengine/web/plugin/36-advanced-virtual-background.md +0 -4
- package/resource/knowledge/rtcengine/web/plugin/39-advanced-video-decoder.md +1 -1
- package/resource/knowledge/trtc/android/TRTCCloud.md +8 -56
- package/resource/knowledge/trtc/android/TRTCCloudDef.md +6 -7
- package/resource/knowledge/trtc/android/TRTCCloudListener.md +1 -18
- package/resource/knowledge/trtc/android/TXAudioEffectManager.md +0 -14
- package/resource/knowledge/trtc/android/TXDeviceManager.md +0 -1
- package/resource/knowledge/trtc/android/TXLiteAVCode.md +1 -1
- package/resource/knowledge/trtc/c++/ITRTCCloud.md +7 -59
- package/resource/knowledge/trtc/c++/ITXAudioEffectManager.md +0 -14
- package/resource/knowledge/trtc/c++/ITXDeviceManager.md +0 -4
- package/resource/knowledge/trtc/c++/TRTCCloudCallback.md +1 -19
- package/resource/knowledge/trtc/c++/TRTCTypeDef.md +6 -7
- package/resource/knowledge/trtc/c++/TXLiteAVCode.md +1 -1
- package/resource/knowledge/trtc/ios/TRTCCloud.md +9 -60
- package/resource/knowledge/trtc/ios/TRTCCloudDef.md +6 -7
- package/resource/knowledge/trtc/ios/TRTCCloudDelegate.md +1 -19
- package/resource/knowledge/trtc/ios/TXAudioEffectManager.md +0 -13
- package/resource/knowledge/trtc/ios/TXDeviceManager.md +0 -4
- package/resource/knowledge/trtc/ios/TXLiteAVCode.md +1 -1
- package/server.js +27 -22
- package/tools/common/finalize_answer.js +9 -1
- package/tools/common/search_trtc_knowledge.js +3 -1
- package/tools/definitions/finalize_answer_def.js +2 -2
- package/tools/definitions/integration-boundary.js +2 -1
- package/tools/definitions/search_trtc_knowledge_def.js +2 -1
- package/utils/report-cls-client.js +3 -3
- package/utils/report-es-client.js +1 -1
- package/cursor-setting.png +0 -0
- package/mcp-server-prompt.png +0 -0
- package/resource/knowledge/callkit/best-practice/web/callengine-invitation.md +0 -80
- package/resource/knowledge/callkit/best-practice/web/callengine-log-control.md +0 -24
- package/resource/knowledge/callkit/best-practice/web/callkit-call-vs-calls.md +0 -116
- package/resource/knowledge/callkit/preset/react/uikit-api-reference.md +0 -445
- package/resource/knowledge/callkit/preset/vue/uikit-api-reference.md +0 -465
- package/resource/knowledge/chat/best-practice/web/image-message-url-handling.md +0 -16
- package/resource/knowledge/roomkit/core-sdk/flutter/call-user-to-room.md +0 -230
- package/resource/knowledge/roomkit/core-sdk/flutter/room-participant-state.md +0 -797
- package/resource/knowledge/roomkit/core-sdk/flutter/room-state.md +0 -325
- package/resource/knowledge/roomkit/core-sdk/flutter/schedule-room.md +0 -325
|
@@ -39,7 +39,6 @@ See Activate Service to obtain either the trial or paid version of the SDK.Then,
|
|
|
39
39
|
Call `LoginStore.shared.login` in your project to complete authentication. **This is required before using any functionality of AtomicXCore**.
|
|
40
40
|
|
|
41
41
|
> **Note:**
|
|
42
|
-
>
|
|
43
42
|
> We recommend calling LoginStore.shared.login only after your app's own user authentication is successful, to ensure clear and consistent login logic.
|
|
44
43
|
>
|
|
45
44
|
|
|
@@ -198,7 +197,6 @@ class YourAnchorViewController: UIViewController {
|
|
|
198
197
|
#### **4. Build the Mic Seat UI**
|
|
199
198
|
|
|
200
199
|
> **Note:**
|
|
201
|
-
>
|
|
202
200
|
> For seat UI logic and effects, refer to the open-source [SeatGridView.swift](https://github.com/Tencent-RTC/TUIKit_iOS/blob/main/live/Sources/Component/SeatGridview/SeatGridView.swift) in TUILiveKit.
|
|
203
201
|
>
|
|
204
202
|
|
|
@@ -337,7 +335,7 @@ class YourAudienceViewController: UIViewController {
|
|
|
337
335
|
|
|
338
336
|
#### **3. Build the Mic Seat UI**
|
|
339
337
|
|
|
340
|
-
Building the seat UI for audience members is identical to the host process.
|
|
338
|
+
Building the seat UI for audience members is identical to the host process. .
|
|
341
339
|
|
|
342
340
|
#### **4. Leave the Voice Chat Room**
|
|
343
341
|
|
|
@@ -377,7 +375,6 @@ In voice chat rooms, it's common to show a wave animation over the avatar of use
|
|
|
377
375
|
#### Implementation
|
|
378
376
|
|
|
379
377
|
> **Note:**
|
|
380
|
-
>
|
|
381
378
|
> For a complete implementation of the speaking wave animation, refer to [SeatGridView.swift](https://github.com/Tencent-RTC/TUIKit_iOS/blob/main/live/Sources/Component/SeatGridview/SeatGridView.swift) in TUILiveKit.
|
|
382
379
|
>
|
|
383
380
|
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
|-1002|Not logged in, please call `Login` API.|
|
|
12
12
|
|-1003|Failed to obtain permission, unauthorized audio/video permission, please check if `Device Permission` is enabled.|
|
|
13
13
|
|-1004|This feature requires an additional package. Please activate the corresponding package as needed in the [TRTC Console](https://console.tencentcloud.com/trtc/allapp).|
|
|
14
|
-
|-3301|Network access is restricted. Please [contact us](https://trtc.io/contact) for support.|
|
|
15
14
|
|
|
16
15
|
### Local User Rendering, Video Management, Audio Management API Callback Error Definition
|
|
17
16
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
This document provides a detailed introduction to the **barrage component**, including the **barrage message component (BarrageList)** and the **message sending component (BarrageInput)**. You can
|
|
1
|
+
This document provides a detailed introduction to the **barrage component**, including the **barrage message component (BarrageList)** and the **message sending component (BarrageInput)**. You can .
|
|
2
2
|
|
|
3
3
|
## Component Composition
|
|
4
4
|
| <strong>Component Name</strong> | <strong>Detailed Description</strong> |
|
|
@@ -10,7 +10,7 @@ This document provides a detailed introduction to the **barrage component**, inc
|
|
|
10
10
|
|
|
11
11
|
### Step 1: Configuring the Environment and Activating the Service
|
|
12
12
|
|
|
13
|
-
Before performing quick integration, you need to
|
|
13
|
+
Before performing quick integration, you need to .
|
|
14
14
|
|
|
15
15
|
### Step 2: Installing Dependencies
|
|
16
16
|
|
|
@@ -84,7 +84,6 @@ onMounted(async () => {
|
|
|
84
84
|
**Barrage Message Component** provides users with various and dimensional `Props` APIs for custom requirements, allowing users to customize features or UI. Parameter content is as shown in the table below.
|
|
85
85
|
|
|
86
86
|
> **Note:**
|
|
87
|
-
>
|
|
88
87
|
> Note: To directly learn about the custom details of the Barrage Message Component (BarrageList), quickly jump to the following link: Barrage Message Component Customization;
|
|
89
88
|
>
|
|
90
89
|
> Note: To directly learn about the custom details of the Message Sending Component (BarrageInput), quickly jump to the following link: Message Sending Component Customization.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
This document provides a detailed introduction to the **Audience List Component (LiveAudienceList)**. You can
|
|
1
|
+
This document provides a detailed introduction to the **Audience List Component (LiveAudienceList)**. You can .
|
|
2
2
|
|
|
3
3
|
## Core Features
|
|
4
4
|
| <strong>Feature Category</strong> | <strong>Specific capabilities</strong> |
|
|
@@ -11,7 +11,7 @@ This document provides a detailed introduction to the **Audience List Component
|
|
|
11
11
|
|
|
12
12
|
### Step 1: Configuring the Environment and Activating the Service
|
|
13
13
|
|
|
14
|
-
Before performing quick integration, you need to
|
|
14
|
+
Before performing quick integration, you need to .
|
|
15
15
|
|
|
16
16
|
### Step 2: Dependency Installation
|
|
17
17
|
|
|
@@ -119,7 +119,7 @@ interface AudienceInfo {
|
|
|
119
119
|
|
|
120
120
|
#### Custom Slot Example
|
|
121
121
|
|
|
122
|
-
To help you better experience and understand the **audience list component**'s **customAudienceInfo** slot customization capability, we provide a **custom personal info** example scenario for your reference. You can
|
|
122
|
+
To help you better experience and understand the **audience list component**'s **customAudienceInfo** slot customization capability, we provide a **custom personal info** example scenario for your reference. You can .
|
|
123
123
|
``` typescript
|
|
124
124
|
<template>
|
|
125
125
|
<LiveAudienceList>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
This document provides a detailed introduction to the **live stream video component (LiveView)**. You can
|
|
1
|
+
This document provides a detailed introduction to the **live stream video component (LiveView)**. You can .
|
|
2
2
|
|
|
3
3
|
## Core Features
|
|
4
4
|
| <strong>Feature Category</strong> | <strong>Specific Capacity</strong> |
|
|
@@ -10,7 +10,7 @@ This document provides a detailed introduction to the **live stream video compon
|
|
|
10
10
|
|
|
11
11
|
### Step 1: Configuring the Environment and Activating the Service
|
|
12
12
|
|
|
13
|
-
Before quick integration, you need to
|
|
13
|
+
Before quick integration, you need to .
|
|
14
14
|
|
|
15
15
|
### Step 2: Dependency Installation
|
|
16
16
|
|
|
@@ -164,7 +164,7 @@ LiveView provides flexible component customization slots. These slots support ad
|
|
|
164
164
|
|
|
165
165
|
#### Custom Mic Seat Example
|
|
166
166
|
|
|
167
|
-
To help you better experience and understand the customized capability of the LiveView component's streamViewUI, we provide a **live streaming and mic connection scenario** example for your reference. You can
|
|
167
|
+
To help you better experience and understand the customized capability of the LiveView component's streamViewUI, we provide a **live streaming and mic connection scenario** example for your reference. You can .
|
|
168
168
|
``` typescript
|
|
169
169
|
<template>
|
|
170
170
|
<LiveView>
|
|
@@ -118,6 +118,5 @@ Received a notification of Push message recall, messageID uniquely identifies th
|
|
|
118
118
|
Notification bar message click callback.
|
|
119
119
|
|
|
120
120
|
> **Note:**
|
|
121
|
-
>
|
|
122
121
|
> The push certificate in the console needs to be configured as "open a specific interface within the application" and use the default fill value to take effect.
|
|
123
122
|
>
|
|
@@ -41,7 +41,6 @@ unRegisterPush(): Promise<TIMPushResult>;
|
|
|
41
41
|
### Setting Push ID Identifier RegistrationID
|
|
42
42
|
|
|
43
43
|
> **Note:**
|
|
44
|
-
>
|
|
45
44
|
> 1. If you call this API, ensure to call it before `registerPush`.
|
|
46
45
|
|
|
47
46
|
#### API
|
|
@@ -58,7 +57,6 @@ setRegistrationID(registrationID: string): Promise<TIMPushResult>;
|
|
|
58
57
|
### Getting Push ID Identifier RegistrationID
|
|
59
58
|
|
|
60
59
|
> **Note:**
|
|
61
|
-
>
|
|
62
60
|
> Note: If you have called the `setRegistrationID` API to set an identifier ID, this API will return the identifier ID you have set. Otherwise, it will return a random value generated by the Push SDK.
|
|
63
61
|
>
|
|
64
62
|
|
|
@@ -32,7 +32,7 @@ registerPush(SDKAppID, appKey, onSuccess, onError)
|
|
|
32
32
|
|
|
33
33
|
#### API
|
|
34
34
|
``` javascript
|
|
35
|
-
|
|
35
|
+
unRegisterPush(onSuccess, onError)
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
#### Parameter description:
|
|
@@ -45,12 +45,11 @@ registerPush(SDKAppID, appKey, onSuccess, onError)
|
|
|
45
45
|
### Set push ID identifier RegistrationID
|
|
46
46
|
|
|
47
47
|
> **Note:**
|
|
48
|
-
>
|
|
49
48
|
> 1. If you call this API, make sure to call it before `registerPush`.
|
|
50
49
|
|
|
51
50
|
#### API
|
|
52
51
|
``` javascript
|
|
53
|
-
|
|
52
|
+
setRegistrationID(registrationID, onSuccess)
|
|
54
53
|
```
|
|
55
54
|
|
|
56
55
|
#### Parameter description:
|
|
@@ -63,12 +62,11 @@ registerPush(SDKAppID, appKey, onSuccess, onError)
|
|
|
63
62
|
### Get push ID identifier RegistrationID
|
|
64
63
|
|
|
65
64
|
> **Note:**
|
|
66
|
-
>
|
|
67
65
|
> 1. If you have called the `setRegistrationID` interface to set the identifier ID, this interface will return the identifier ID you set, otherwise, it will return a random value generated by the Push SDK.
|
|
68
66
|
|
|
69
67
|
#### API
|
|
70
68
|
``` javascript
|
|
71
|
-
|
|
69
|
+
getRegistrationID(onSuccess)
|
|
72
70
|
```
|
|
73
71
|
|
|
74
72
|
#### Parameter description:
|
|
@@ -32,7 +32,7 @@ registerPush(SDKAppID, appKey, onSuccess, onError)
|
|
|
32
32
|
|
|
33
33
|
#### API
|
|
34
34
|
``` javascript
|
|
35
|
-
|
|
35
|
+
unRegisterPush(onSuccess, onError)
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
#### Parameter description:
|
|
@@ -45,12 +45,11 @@ registerPush(SDKAppID, appKey, onSuccess, onError)
|
|
|
45
45
|
### Set push ID identifier RegistrationID
|
|
46
46
|
|
|
47
47
|
> **Note:**
|
|
48
|
-
>
|
|
49
48
|
> 1. If you call this API, make sure to call it before `registerPush`.
|
|
50
49
|
|
|
51
50
|
#### API
|
|
52
51
|
``` javascript
|
|
53
|
-
|
|
52
|
+
setRegistrationID(registrationID, onSuccess)
|
|
54
53
|
```
|
|
55
54
|
|
|
56
55
|
#### Parameter description:
|
|
@@ -63,12 +62,11 @@ registerPush(SDKAppID, appKey, onSuccess, onError)
|
|
|
63
62
|
### Get push ID identifier RegistrationID
|
|
64
63
|
|
|
65
64
|
> **Note:**
|
|
66
|
-
>
|
|
67
65
|
> 1. If you have called the `setRegistrationID` interface to set the identifier ID, this interface will return the identifier ID you set, otherwise, it will return a random value generated by the Push SDK.
|
|
68
66
|
|
|
69
67
|
#### API
|
|
70
68
|
``` javascript
|
|
71
|
-
|
|
69
|
+
getRegistrationID(onSuccess)
|
|
72
70
|
```
|
|
73
71
|
|
|
74
72
|
#### Parameter description:
|
|
@@ -114,6 +114,5 @@ Received a Push message recall notification, messageID unique message identifier
|
|
|
114
114
|
Click the notification bar message Webhook.
|
|
115
115
|
|
|
116
116
|
> **Note:**
|
|
117
|
-
>
|
|
118
117
|
> Configure the console Push Certificate to "open specified in-app page" and use the default populated value to take effect.
|
|
119
118
|
>
|
|
@@ -118,6 +118,5 @@ Push message recall notification received. messageID: unique message identifier.
|
|
|
118
118
|
Click notification bar message Webhook.
|
|
119
119
|
|
|
120
120
|
> **Note:**
|
|
121
|
-
>
|
|
122
121
|
> Note: Push Certificate in the console need to configure "open specified in-app page" and use populate by default to take effect.
|
|
123
122
|
>
|
|
@@ -22,10 +22,6 @@ Explanation of the **Subsequent Actions** option:
|
|
|
22
22
|
|
|
23
23
|
【Mi】
|
|
24
24
|
|
|
25
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
26
|
-
|---------|---------|
|
|
27
|
-
|||
|
|
28
|
-
|
|
29
25
|
【Huawei】
|
|
30
26
|
| Vendor Push Platform | Configuring in the Chat console |
|
|
31
27
|
| --- | --- |
|
|
@@ -33,38 +29,18 @@ Explanation of the **Subsequent Actions** option:
|
|
|
33
29
|
|
|
34
30
|
【OPPO】
|
|
35
31
|
|
|
36
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
37
|
-
|---------|---------|
|
|
38
|
-
|||
|
|
39
|
-
|
|
40
32
|
【vivo】
|
|
41
33
|
|
|
42
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
43
|
-
|---------|---------|
|
|
44
|
-
|||
|
|
45
|
-
|
|
46
34
|
For receipt configuration, please refer to: [Message Delivery Statistics Configuration - vivo](https://www.tencentcloud.com/document/product/1047/60552#daa658b0-1ac0-44a8-8a47-7ec8822ebe82).
|
|
47
35
|
|
|
48
36
|
【Meizu】
|
|
49
37
|
|
|
50
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
51
|
-
|---------|---------|
|
|
52
|
-
|||
|
|
53
|
-
|
|
54
38
|
For receipt configuration, please refer to: [Message Delivery Statistics Configuration - Meizu](https://www.tencentcloud.com/document/product/1047/60552#daa658b0-1ac0-44a8-8a47-7ec8822ebe82).
|
|
55
39
|
|
|
56
40
|
【HONOR】
|
|
57
41
|
|
|
58
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
59
|
-
|---------|---------|
|
|
60
|
-
|||
|
|
61
|
-
|
|
62
42
|
【Google FCM】
|
|
63
43
|
|
|
64
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
65
|
-
|---------|---------|
|
|
66
|
-
|||
|
|
67
|
-
|
|
68
44
|
> **Note:**
|
|
69
45
|
>
|
|
70
46
|
> Regarding **Click for Subsequent Actions** supports the Report Statistics feature:
|
|
@@ -6,7 +6,6 @@ If you have any questions about the "Developer Account" or "Develop/Distribute C
|
|
|
6
6
|
1. APNs Push Certificate Configuration
|
|
7
7
|
|
|
8
8
|
> **Note:**
|
|
9
|
-
>
|
|
10
9
|
> Each vendor only supports the configuration of one certificate.
|
|
11
10
|
>
|
|
12
11
|
|
|
@@ -43,8 +42,6 @@ Apple currently offers two mainstream types of certificates for vendor configura
|
|
|
43
42
|
#### Generating Certificate
|
|
44
43
|
1. Select your AppID, choose **Configure**.
|
|
45
44
|
|
|
46
|
-
2. You can see in the **Apple Push Notification service SSL Certificates** window, there are two `SSL Certificate`, one for the development environment (Development) and the other for the production environment (Production) remote push certificate, as shown below:
|
|
47
|
-
|
|
48
45
|
3. First, we choose the Development **Create Certificate**; the system will prompt us that a Certificate Signing Request (CSR) is required.
|
|
49
46
|
|
|
50
47
|
4. Open **Keychain Access** on your Mac, in the menu, select **Keychain Access** > **Certificate Assistant** > **Request a Certificate From a Certificate Authority** (`Keychain Access - Certificate Assistant - Request a Certificate From a Certificate Authority`).
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
React Native push currently supports vendor channels such as Xiaomi, Huawei, Honor, OPPO, vivo, Meizu, APNs, OnePlus, realme, iQOO, FCM, and Apple.
|
|
2
2
|
|
|
3
3
|
> **Note:**
|
|
4
|
-
>
|
|
5
4
|
> Each vendor only supports the configuration of one certificate.
|
|
6
5
|
>
|
|
7
6
|
|
|
@@ -43,8 +42,6 @@ There are currently two mainstream types of certificates for Apple Manufacturer
|
|
|
43
42
|
#### Certificate Generation
|
|
44
43
|
1. Select your AppID and choose **Configure**.
|
|
45
44
|
|
|
46
|
-
2. In the **Apple Push Notification service SSL Certificates** window, there are two `SSL Certificates` for the development environment (Development) and the production environment (Production), as shown below:
|
|
47
|
-
|
|
48
45
|
3. We first select the **Create Certificate** for the Development environment, the system will prompt us that we need a Certificate Signing Request (CSR).
|
|
49
46
|
|
|
50
47
|
4. On a Mac, open **Keychain Access tool**, in the menu select **Keychain Access** > **Certificate Assistant** > **Request a Certificate From a Certificate Authority** (`Keychain Access - Certificate Assistant - Request a Certificate From a Certificate Authority`).
|
|
@@ -83,7 +80,6 @@ There are currently two mainstream types of certificates for Apple Manufacturer
|
|
|
83
80
|
4. Select the certificate type, upload the iOS Certificate (.p12), set the certificate password, and click **Confirm**.
|
|
84
81
|
|
|
85
82
|
> **Note:**
|
|
86
|
-
>
|
|
87
83
|
> - We recommend naming the uploaded certificate in English (special characters such as brackets are not allowed).
|
|
88
84
|
> - You need to set a password for the uploaded certificate. Without a password, push notifications cannot be received.
|
|
89
85
|
> - For an app published on App Store, the environment of the certificate must be the production environment. Otherwise, push notifications cannot be received.
|
|
@@ -120,7 +116,6 @@ Confirm and generate the key: On the confirmation page, verify your key informat
|
|
|
120
116
|
4. Select the .p8 certificate, upload the iOS Certificate (.p8), set **KeyID、TeamID and BundleID**, and click **Confirm**.
|
|
121
117
|
|
|
122
118
|
> **Note:**
|
|
123
|
-
>
|
|
124
119
|
> - **KeyID**: This is the unique identifier for your APNs Auth Key. When you create a new APNs Auth Key in the Apple Developer Center, a Key ID will be generated for you. You can find it in the "Certificates, Identifiers & Profiles" section under "Keys".
|
|
125
120
|
> - **TeamID**: This is the unique identifier for your developer account. You can find it on the account details page of the Apple Developer Center. Click "Membership" in the upper right corner, and you can find your Team ID in the "Membership Details" section.
|
|
126
121
|
> - **BundleID**: This is the unique identifier for your application, also known as the app ID. You can find it in the "Certificates, Identifiers & Profiles" section of the Apple Developer Center. Select "Identifiers", then find the corresponding Bundle ID in your list of applications.
|
|
@@ -138,7 +133,6 @@ Offline push requires you to register your app with each vendor's push platform
|
|
|
138
133
|
Log in to Tencent Cloud [Chat Console](https://console.trtc.io/chat/push-plugin-push-identifier), under **Push Management** > **Access Settings** feature tab, add the push certificates for each vendor, and configure the AppId, AppKey, AppSecret, and other parameters obtained in step one to the added push certificates.
|
|
139
134
|
|
|
140
135
|
> **Note:**
|
|
141
|
-
>
|
|
142
136
|
> Regarding the **Action after Click** option, to use the click-to-navigate feature provided by this plugin, please keep the default value unchanged, which is usually `Open a specified page within the app` with default settings. (Note)
|
|
143
137
|
>
|
|
144
138
|
> To use the reporting statistics feature, also keep this item at its default value. (Note)
|
|
@@ -146,10 +140,6 @@ Log in to Tencent Cloud [Chat Console](https://console.trtc.io/chat/push-plugin-
|
|
|
146
140
|
|
|
147
141
|
【Mi】
|
|
148
142
|
|
|
149
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
150
|
-
|---------|---------|
|
|
151
|
-
|||
|
|
152
|
-
|
|
153
143
|
【Huawei】
|
|
154
144
|
| Vendor Push Platform | Configuring in the Chat console |
|
|
155
145
|
| --- | --- |
|
|
@@ -172,16 +162,8 @@ Log in to Tencent Cloud [Chat Console](https://console.trtc.io/chat/push-plugin-
|
|
|
172
162
|
|
|
173
163
|
【OPPO】
|
|
174
164
|
|
|
175
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
176
|
-
|---------|---------|
|
|
177
|
-
|||
|
|
178
|
-
|
|
179
165
|
【vivo】
|
|
180
166
|
|
|
181
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
182
|
-
|---------|---------|
|
|
183
|
-
|||
|
|
184
|
-
|
|
185
167
|
#### Receipt configuration
|
|
186
168
|
|
|
187
169
|
**Receipt Address:**
|
|
@@ -199,10 +181,6 @@ Log in to Tencent Cloud [Chat Console](https://console.trtc.io/chat/push-plugin-
|
|
|
199
181
|
|
|
200
182
|
【Meizu】
|
|
201
183
|
|
|
202
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
203
|
-
|---------|---------|
|
|
204
|
-
|||
|
|
205
|
-
|
|
206
184
|
#### Receipt configuration
|
|
207
185
|
|
|
208
186
|
**Receipt Address:**
|
|
@@ -220,10 +198,6 @@ Log in to Tencent Cloud [Chat Console](https://console.trtc.io/chat/push-plugin-
|
|
|
220
198
|
|
|
221
199
|
【HONOR】
|
|
222
200
|
|
|
223
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
224
|
-
|---------|---------|
|
|
225
|
-
|||
|
|
226
|
-
|
|
227
201
|
#### Receipt configuration
|
|
228
202
|
|
|
229
203
|
**Receipt Address:**
|
|
@@ -241,6 +215,3 @@ Log in to Tencent Cloud [Chat Console](https://console.trtc.io/chat/push-plugin-
|
|
|
241
215
|
|
|
242
216
|
【Google FCM】
|
|
243
217
|
|
|
244
|
-
|Vendor Push Platform|Configuring in the Chat console|
|
|
245
|
-
|---------|---------|
|
|
246
|
-
|||
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
Currently, the message push plugin in Unity only supports push to Android (including manufacturer channels) and iOS devices.
|
|
2
2
|
|
|
3
3
|
> **Note:**
|
|
4
|
-
>
|
|
5
4
|
> Each vendor only supports the configuration of one certificate.
|
|
6
5
|
>
|
|
7
6
|
|
|
@@ -18,7 +17,7 @@ Before integrating the message push plug-in, you must apply for an APNs Push Cer
|
|
|
18
17
|
|
|
19
18
|
2. Click **+** on the right of Identifiers.
|
|
20
19
|
|
|
21
|
-
3. You can
|
|
20
|
+
3. You can .
|
|
22
21
|
|
|
23
22
|
> **Note**
|
|
24
23
|
>
|
|
@@ -36,8 +35,6 @@ Before integrating the message push plug-in, you must apply for an APNs Push Cer
|
|
|
36
35
|
#### Generating a Certificate
|
|
37
36
|
1. Select your AppID, choose **Configure**.
|
|
38
37
|
|
|
39
|
-
2. In the **Apple Push Notification service SSL Certificates** window, you can see two `SSL Certificates`, respectively for remote push certificates in development environment (Development) and production environment (Production), as shown below:
|
|
40
|
-
|
|
41
38
|
3. First select the development environment (Development) **Create Certificate**, the system will prompt you to provide a Certificate Signing Request (CSR).
|
|
42
39
|
|
|
43
40
|
4. On your Mac, open **Keychain Access**, select **Keychain Access** > **Certificate Assistant** > **Request a Certificate From a Certificate Authority** (`Keychain Access - Certificate Assistant - Request a Certificate From a Certificate Authority`).
|
|
@@ -97,16 +94,12 @@ Offline push requires registering your own application to various manufacturers'
|
|
|
97
94
|
Log in to Tencent Cloud [Chat console](https://console.trtc.io/chat/push-plugin-push-identifier), go to **Push Management** > **Access Setting** feature section, add push certificates from various manufacturers, and configure the AppId, AppKey, AppSecret and other parameters obtained from step 1 for the added certificates.
|
|
98
95
|
|
|
99
96
|
> **Note:**
|
|
100
|
-
>
|
|
101
97
|
> Note: For the **click subsequent actions** option, if you need to use the click redirect capacity provided by this Plugin, keep default values unchanged, usually `open a specified page within the app` with default configuration.
|
|
102
98
|
>
|
|
103
99
|
> If you need to use the report statistics feature, keep this item unchanged.
|
|
104
100
|
>
|
|
105
101
|
|
|
106
102
|
【Xiaomi】
|
|
107
|
-
| Vendor Push Platform | Chat Console Configuration |
|
|
108
|
-
| --- | --- |
|
|
109
|
-
| | |
|
|
110
103
|
|
|
111
104
|
【Huawei】
|
|
112
105
|
| Vendor Push Platform | Chat Console Configuration |
|
|
@@ -129,14 +122,8 @@ Log in to Tencent Cloud [Chat console](https://console.trtc.io/chat/push-plugin-
|
|
|
129
122
|
- China: https://api.im.qcloud.com/v3/offline_push_report/huawei
|
|
130
123
|
|
|
131
124
|
【OPPO】
|
|
132
|
-
| Vendor Push Platform | Chat Console Configuration |
|
|
133
|
-
| --- | --- |
|
|
134
|
-
| | |
|
|
135
125
|
|
|
136
126
|
【vivo】
|
|
137
|
-
| Vendor Push Platform | Chat Console Configuration |
|
|
138
|
-
| --- | --- |
|
|
139
|
-
| | |
|
|
140
127
|
|
|
141
128
|
**Receipt configuration**
|
|
142
129
|
|
|
@@ -154,9 +141,6 @@ Log in to Tencent Cloud [Chat console](https://console.trtc.io/chat/push-plugin-
|
|
|
154
141
|
- China: https://api.im.qcloud.com/v3/offline_push_report/vivo
|
|
155
142
|
|
|
156
143
|
【Meizu】
|
|
157
|
-
| Vendor Push Platform | Chat Console Configuration |
|
|
158
|
-
| --- | --- |
|
|
159
|
-
| | |
|
|
160
144
|
|
|
161
145
|
**Receipt configuration**
|
|
162
146
|
|
|
@@ -175,10 +159,6 @@ Log in to Tencent Cloud [Chat console](https://console.trtc.io/chat/push-plugin-
|
|
|
175
159
|
|
|
176
160
|
【Honor】
|
|
177
161
|
|
|
178
|
-
| Vendor Push Platform | Chat Console Configuration |
|
|
179
|
-
| --- | --- |
|
|
180
|
-
| | |
|
|
181
|
-
|
|
182
162
|
#### Receipt configuration
|
|
183
163
|
|
|
184
164
|
**Receipt Address:**
|
|
@@ -196,6 +176,3 @@ Log in to Tencent Cloud [Chat console](https://console.trtc.io/chat/push-plugin-
|
|
|
196
176
|
|
|
197
177
|
【Google FCM】
|
|
198
178
|
|
|
199
|
-
| Vendor Push Platform | Chat Console Configuration |
|
|
200
|
-
| --- | --- |
|
|
201
|
-
| | |
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
The push service currently supports Vendor Channels such as Xiaomi, Huawei, Honor, OPPO, vivo, Meizu, OnePlus, realme, iQOO, FCM, and Apple.
|
|
2
2
|
|
|
3
3
|
> **Note:**
|
|
4
|
-
>
|
|
5
4
|
> Each vendor only supports the configuration of one certificate.
|
|
6
5
|
>
|
|
7
6
|
|
|
@@ -18,7 +17,7 @@ Before integrating the message push plug-in, you must apply for an APNs Push Cer
|
|
|
18
17
|
|
|
19
18
|
2. Click **+** on the right of Identifiers.
|
|
20
19
|
|
|
21
|
-
3. You can
|
|
20
|
+
3. You can .
|
|
22
21
|
|
|
23
22
|
> **Note**
|
|
24
23
|
>
|
|
@@ -36,8 +35,6 @@ Before integrating the message push plug-in, you must apply for an APNs Push Cer
|
|
|
36
35
|
#### Generating a Certificate
|
|
37
36
|
1. Select your AppID, then click **Configure**.
|
|
38
37
|
|
|
39
|
-
2. You can see two `SSL Certificates` in the **Apple Push Notification service SSL Certificates** window, used for development environment (Development) and production environment (Production) remote push certificates, as shown below:
|
|
40
|
-
|
|
41
38
|
3. First select the development environment (Development) **Create Certificate**, the system will prompt us to provide a Certificate Signing Request (CSR).
|
|
42
39
|
|
|
43
40
|
4. On your Mac, open **Keychain Access**, then select **Keychain Access** > **Certificate Assistant** > **Request a Certificate From a Certificate Authority** (`Keychain Access - Certificate Assistant - Request a Certificate From a Certificate Authority`).
|
|
@@ -97,16 +94,12 @@ Offline push requires registering your own application to various manufacturers'
|
|
|
97
94
|
Sign in to the [Chat console](https://console.trtc.io/chat/push-plugin-push-identifier), go to the **push management** > **access setting** feature section, add push certificates for various manufacturers, and configure the AppId, AppKey, AppSecret and other parameters obtained from step 1 for the added push certificates.
|
|
98
95
|
|
|
99
96
|
> **Note:**
|
|
100
|
-
>
|
|
101
97
|
> Note: For the **click subsequent actions** option, if you need to use the click redirect power provided by this Plugin, keep default values unchanged, usually `open a specified page within the app` with default configuration.
|
|
102
98
|
>
|
|
103
99
|
> If you need to use the report statistics feature, keep this item unchanged.
|
|
104
100
|
>
|
|
105
101
|
|
|
106
102
|
【Xiaomi】
|
|
107
|
-
| Vendor Push Platform | Chat Console Configuration |
|
|
108
|
-
| --- | --- |
|
|
109
|
-
| | |
|
|
110
103
|
|
|
111
104
|
【Huawei】
|
|
112
105
|
| Vendor Push Platform | Chat Console Configuration |
|
|
@@ -114,14 +107,8 @@ Sign in to the [Chat console](https://console.trtc.io/chat/push-plugin-push-iden
|
|
|
114
107
|
| | <strong>Note:</strong><br>Client ID corresponds to AppID, and Client Secret corresponds to AppSecret. |
|
|
115
108
|
|
|
116
109
|
【OPPO】
|
|
117
|
-
| Vendor Push Platform | Chat Console Configuration |
|
|
118
|
-
| --- | --- |
|
|
119
|
-
| | |
|
|
120
110
|
|
|
121
111
|
【vivo】
|
|
122
|
-
| Vendor Push Platform | Chat Console Configuration |
|
|
123
|
-
| --- | --- |
|
|
124
|
-
| | |
|
|
125
112
|
|
|
126
113
|
**Receipt configuration**
|
|
127
114
|
|
|
@@ -139,9 +126,6 @@ Sign in to the [Chat console](https://console.trtc.io/chat/push-plugin-push-iden
|
|
|
139
126
|
- China: https://api.im.qcloud.com/v3/offline_push_report/vivo
|
|
140
127
|
|
|
141
128
|
【Meizu】
|
|
142
|
-
| Vendor Push Platform | Chat Console Configuration |
|
|
143
|
-
| --- | --- |
|
|
144
|
-
| | |
|
|
145
129
|
|
|
146
130
|
**Receipt configuration**
|
|
147
131
|
|
|
@@ -160,10 +144,6 @@ Sign in to the [Chat console](https://console.trtc.io/chat/push-plugin-push-iden
|
|
|
160
144
|
|
|
161
145
|
【Honor】
|
|
162
146
|
|
|
163
|
-
| Vendor Push Platform | Chat Console Configuration |
|
|
164
|
-
| --- | --- |
|
|
165
|
-
| | |
|
|
166
|
-
|
|
167
147
|
#### Receipt configuration
|
|
168
148
|
|
|
169
149
|
**Receipt Address:**
|
|
@@ -181,6 +161,3 @@ Sign in to the [Chat console](https://console.trtc.io/chat/push-plugin-push-iden
|
|
|
181
161
|
|
|
182
162
|
【Google FCM】
|
|
183
163
|
|
|
184
|
-
| Vendor Push Platform | Chat Console Configuration |
|
|
185
|
-
| --- | --- |
|
|
186
|
-
| | |
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
> **Note:**
|
|
2
|
-
>
|
|
3
2
|
> If you need to use products such as Chat, CallKit, RoomKit, LiveKit, etc. simultaneously, please refer to [Chat Quick Integration Solution](https://www.tencentcloud.com/document/product/1047/50034).
|
|
4
3
|
>
|
|
5
4
|
|
|
@@ -7,10 +6,6 @@
|
|
|
7
6
|
|
|
8
7
|
After completing the console manufacturer push information, download and add the configuration file to the project. Add the downloaded timpush-configs.json file to the assets directory of the application module:
|
|
9
8
|
|
|
10
|
-
|1.Choose to download the configuration file timpush-configs.json|2.Add to the project|
|
|
11
|
-
|---------|---------|
|
|
12
|
-
|||
|
|
13
|
-
|
|
14
9
|
### Step 2: Integrate TIMPush
|
|
15
10
|
``` java
|
|
16
11
|
// The version number "VERSION" can be obtained from the .
|
|
@@ -244,7 +239,6 @@ Indonesia: https://apiidn.im.qcloud.com/v3/offline_push_report/huawei
|
|
|
244
239
|
China: https://api.im.qcloud.com/v3/offline_push_report/huawei
|
|
245
240
|
|
|
246
241
|
> **Note:**
|
|
247
|
-
>
|
|
248
242
|
> Huawei Push Certificate ID <= 11344, using Huawei Push v2 interface, does not support Reach and Click Receipt, please regenerate and update Certificate ID.
|
|
249
243
|
>
|
|
250
244
|
|
|
@@ -271,10 +265,6 @@ China: https://api.im.qcloud.com/v3/offline_push_report/honor
|
|
|
271
265
|
|
|
272
266
|
【Meizu】
|
|
273
267
|
|
|
274
|
-
|Enable Receipt Switch|Configure Receipt Address|
|
|
275
|
-
|---------|---------|
|
|
276
|
-
|||
|
|
277
|
-
|
|
278
268
|
Receipt Address:
|
|
279
269
|
|
|
280
270
|
Singapore : https://apisgp.im.qcloud.com/v3/offline_push_report/meizu
|
|
@@ -290,12 +280,10 @@ Indonesia: https://apiidn.im.qcloud.com/v3/offline_push_report/meizu
|
|
|
290
280
|
China: https://api.im.qcloud.com/v3/offline_push_report/meizu
|
|
291
281
|
|
|
292
282
|
> **Note:**
|
|
293
|
-
>
|
|
294
283
|
> After turning on the receipt toggle, please make sure the receipt address is correctly configured. Not configuring it or configuring the wrong address will affect the push notification feature.
|
|
295
284
|
>
|
|
296
285
|
|
|
297
286
|
> **Note:**
|
|
298
|
-
>
|
|
299
287
|
> - No configuration for message delivery statistics is required for other supported manufacturers.
|
|
300
288
|
> - FCM currently does not support the push notification statistics feature.
|
|
301
289
|
|
|
@@ -316,7 +304,6 @@ After receiving the push message, clicking the notification bar will trigger the
|
|
|
316
304
|
【Custom click redirect implementation】
|
|
317
305
|
|
|
318
306
|
> **Note:**
|
|
319
|
-
>
|
|
320
307
|
> 1. It is recommended to place the registration callback timing in the onCreate() function of the application.
|
|
321
308
|
> 2. Console configuration follow-up actions are configured as follows, select **Open the specified interface within the app** and do not modify, use the default values.
|
|
322
309
|
>
|
|
@@ -337,7 +324,6 @@ TIMPushManager.getInstance().addPushListener(new TIMPushListener() {
|
|
|
337
324
|
The component will notify the application in the form of a callback or broadcast, and the application can configure the app's page jump in the callback.
|
|
338
325
|
|
|
339
326
|
> **Note:**
|
|
340
|
-
>
|
|
341
327
|
> 1. It is recommended to place the registration callback timing in the onCreate() function of the application.
|
|
342
328
|
> 2. Console configuration follow-up actions are configured as follows, select **Open the specified interface within the app** and do not modify, use the default values.
|
|
343
329
|
>
|