@tencent-rtc/mcp 1.6.3 → 1.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +0 -4
- package/knowledge/chunker.js +83 -54
- package/knowledge/path-meta.js +179 -26
- package/knowledge/search/exact-lookup.js +153 -0
- package/knowledge/search/filter-pool.js +73 -19
- package/knowledge/search/product-scope-intent.js +2 -2
- package/knowledge/search/requires-framework.js +2 -2
- package/knowledge/search/search-knowledge.js +235 -58
- package/package.json +1 -1
- package/resource/index/manifest.json +1 -1
- package/resource/integration/callkit/preset/android/integration.md +2 -4
- package/resource/integration/callkit/preset/flutter/integration.md +4 -5
- package/resource/integration/callkit/preset/ios/integration.md +1 -4
- package/resource/integration/callkit/preset/react/integration.md +13 -20
- package/resource/integration/callkit/preset/vue/integration.md +14 -21
- package/resource/integration/chat/preset/android/integration.md +6 -9
- package/resource/integration/chat/preset/flutter/integration.md +9 -12
- package/resource/integration/chat/preset/ios/integration.md +2 -4
- package/resource/integration/chat/preset/react/integration.md +0 -10
- package/resource/integration/livekit/preset/live/android/live-audience-integration.md +129 -0
- package/resource/integration/livekit/preset/live/android/live-host-integration.md +219 -0
- package/resource/integration/livekit/preset/live/android/live-list-integration.md +261 -0
- package/resource/integration/livekit/preset/live/android/prepare-integration.md +254 -0
- package/resource/integration/livekit/preset/live/ios/live-audience-integration.md +202 -0
- package/resource/integration/livekit/preset/live/ios/live-host-integration.md +369 -0
- package/resource/integration/livekit/preset/live/ios/live-list-integration.md +229 -0
- package/resource/integration/livekit/preset/live/ios/prepare-integration.md +204 -0
- package/resource/integration/livekit/preset/live/vue/live-list-integration.md +0 -3
- package/resource/integration/livekit/preset/live/vue/live-player-desk-integration.md +0 -5
- package/resource/integration/livekit/preset/live/vue/live-player-h5-integration.md +0 -6
- package/resource/integration/livekit/preset/live/vue/live-pusher-integration.md +5 -10
- package/resource/integration/roomkit/preset/vue/integration.md +0 -4
- package/resource/knowledge/callkit/best-practice/web/callengine-invitation.md +80 -0
- package/resource/knowledge/callkit/best-practice/web/callengine-log-control.md +24 -0
- package/resource/knowledge/callkit/best-practice/web/callkit-call-vs-calls.md +116 -0
- package/resource/knowledge/callkit/core-sdk/android/answer-call.md +7 -8
- package/resource/knowledge/callkit/core-sdk/android/make-call.md +5 -7
- package/resource/knowledge/callkit/core-sdk/android/offline-push.md +3 -5
- package/resource/knowledge/callkit/core-sdk/flutter/answer-call.md +2 -6
- package/resource/knowledge/callkit/core-sdk/flutter/make-call.md +2 -6
- package/resource/knowledge/callkit/core-sdk/flutter/offline-push.md +4 -9
- package/resource/knowledge/callkit/core-sdk/ios/answer-call.md +1 -4
- package/resource/knowledge/callkit/core-sdk/ios/make-call.md +8 -11
- package/resource/knowledge/callkit/core-sdk/ios/offline-push.md +17 -23
- package/resource/knowledge/callkit/core-sdk/web/call-engine.md +33 -0
- package/resource/knowledge/callkit/core-sdk/web/call-event.md +327 -0
- package/resource/knowledge/callkit/core-sdk/web/callengine-api-overview.md +33 -0
- package/resource/knowledge/callkit/faq/android.md +0 -2
- package/resource/knowledge/callkit/faq/error-code.md +0 -2
- package/resource/knowledge/callkit/faq/flutter.md +2 -2
- package/resource/knowledge/callkit/faq/ios.md +3 -5
- package/resource/knowledge/callkit/faq/web.md +2 -3
- package/resource/knowledge/callkit/preset/android/api.md +2 -5
- package/resource/knowledge/callkit/preset/ios/api.md +0 -2
- package/resource/knowledge/callkit/preset/react/api.md +445 -0
- package/resource/knowledge/callkit/preset/react/uikit-api-reference.md +445 -0
- package/resource/knowledge/callkit/preset/vue/api.md +465 -0
- package/resource/knowledge/callkit/preset/vue/uikit-api-reference.md +465 -0
- package/resource/knowledge/chat/best-practice/web/image-message-url-handling.md +16 -0
- package/resource/knowledge/chat/preset/android/features/chat-setting.md +1 -1
- package/resource/knowledge/chat/preset/android/features/conversation-list.md +1 -1
- package/resource/knowledge/chat/preset/android/features/language.md +0 -1
- package/resource/knowledge/chat/preset/android/features/message-input.md +1 -1
- package/resource/knowledge/chat/preset/android/features/message-list.md +2 -3
- package/resource/knowledge/chat/preset/android/features/search.md +0 -1
- package/resource/knowledge/chat/preset/android/features/theme.md +1 -1
- package/resource/knowledge/chat/preset/android-view/integration.md +3 -11
- package/resource/knowledge/chat/preset/flutter/features/conversation-list.md +0 -1
- package/resource/knowledge/chat/preset/flutter/features/message-list.md +1 -2
- package/resource/knowledge/chat/preset/flutter/features/search.md +5 -6
- package/resource/knowledge/chat/preset/flutter/features/theme.md +2 -2
- package/resource/knowledge/chat/preset/ios/features/chat-setting.md +1 -1
- package/resource/knowledge/chat/preset/ios/features/conversation-list.md +1 -2
- package/resource/knowledge/chat/preset/ios/features/message-list.md +1 -2
- package/resource/knowledge/chat/preset/ios/features/search.md +0 -1
- package/resource/knowledge/chat/preset/ios-uikit/integration.md +13 -15
- package/resource/knowledge/chat/preset/react/features/conversation-list.md +5 -5
- package/resource/knowledge/chat/preset/react/features/message-input.md +2 -3
- 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/livekit/core-sdk/api-reference/android/AudioEffectStore.md +7 -14
- package/resource/knowledge/livekit/core-sdk/api-reference/android/BarrageStore.md +5 -8
- package/resource/knowledge/livekit/core-sdk/api-reference/android/BattleStore.md +15 -18
- package/resource/knowledge/livekit/core-sdk/api-reference/android/CameraView.md +1 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/android/CoGuestStore.md +15 -20
- package/resource/knowledge/livekit/core-sdk/api-reference/android/CoHostStore.md +10 -13
- package/resource/knowledge/livekit/core-sdk/api-reference/android/DeviceStore.md +2 -4
- package/resource/knowledge/livekit/core-sdk/api-reference/android/GiftStore.md +4 -6
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LikeStore.md +2 -4
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveAudienceStore.md +2 -4
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveCoreView.md +1 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveSeatStore.md +8 -10
- package/resource/knowledge/livekit/core-sdk/api-reference/android/LoginStore.md +5 -7
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/AudioEffectStore.md +7 -14
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BarrageStore.md +6 -9
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BaseBeautyStore.md +1 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BattleStore.md +15 -18
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoGuestStore.md +15 -20
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoHostStore.md +10 -13
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/DeviceStore.md +2 -4
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/GiftStore.md +4 -6
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LikeStore.md +2 -4
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveAudienceStore.md +2 -4
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveCoreView.md +1 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveSeatStore.md +8 -10
- package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LoginStore.md +3 -5
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/AudioEffectStore.md +7 -14
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/BarrageStore.md +5 -8
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/BaseBeautyStore.md +1 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/BattleStore.md +6 -9
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoGuestStore.md +5 -10
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoHostStore.md +3 -6
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/DeviceStore.md +2 -4
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/GiftStore.md +4 -6
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LikeStore.md +2 -4
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveAudienceStore.md +2 -4
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveCoreView.md +1 -2
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveSeatStore.md +4 -6
- package/resource/knowledge/livekit/core-sdk/api-reference/ios/LoginStore.md +3 -5
- package/resource/knowledge/livekit/core-sdk/api-reference/{web → vue}/index.md +24 -24
- package/resource/knowledge/livekit/core-sdk/{voice/android/voice-audio-effect.md → features/android/audio-effect.md} +1 -2
- package/resource/knowledge/livekit/core-sdk/{live/android/live-gift.md → features/android/gift.md} +2 -3
- package/resource/knowledge/livekit/core-sdk/{voice/android/voice-room-list.md → features/android/live-list.md} +2 -4
- package/resource/knowledge/livekit/core-sdk/{live/flutter/live-audio-effect.md → features/flutter/audio-effect.md} +0 -2
- package/resource/knowledge/livekit/core-sdk/{voice/flutter/voice-barrage.md → features/flutter/barrage.md} +2 -2
- package/resource/knowledge/livekit/core-sdk/{live/flutter/live-gift.md → features/flutter/gift.md} +2 -3
- package/resource/knowledge/livekit/core-sdk/{voice/flutter/voice-room-list.md → features/flutter/live-list.md} +1 -1
- package/resource/knowledge/livekit/core-sdk/{voice/ios/voice-audience-list.md → features/ios/audience-list.md} +1 -2
- package/resource/knowledge/livekit/core-sdk/{voice/ios/voice-audio-effect.md → features/ios/audio-effect.md} +1 -3
- package/resource/knowledge/livekit/core-sdk/{live/ios/live-base-beauty.md → features/ios/base-beauty.md} +2 -2
- package/resource/knowledge/livekit/core-sdk/{voice/ios/voice-gift.md → features/ios/gift.md} +2 -3
- package/resource/knowledge/livekit/core-sdk/{voice/ios/voice-room-list.md → features/ios/live-list.md} +2 -4
- package/resource/knowledge/livekit/core-sdk/live/android/{live-co-guest-interaction.md → co-guest-interaction.md} +0 -1
- package/resource/knowledge/livekit/core-sdk/live/android/{live-host-interaction.md → host-interaction.md} +5 -7
- package/resource/knowledge/livekit/core-sdk/live/android/{live-integration.md → integration.md} +3 -6
- package/resource/knowledge/livekit/core-sdk/live/flutter/{live-co-guest-interaction.md → co-guest-interaction.md} +1 -1
- package/resource/knowledge/livekit/core-sdk/live/flutter/{live-host-interaction.md → host-interaction.md} +0 -2
- package/resource/knowledge/livekit/core-sdk/live/flutter/{live-integration.md → integration.md} +1 -4
- package/resource/knowledge/livekit/core-sdk/live/ios/{live-co-guest-interaction.md → co-guest-interaction.md} +0 -1
- package/resource/knowledge/livekit/core-sdk/live/ios/{live-host-interaction.md → host-interaction.md} +2 -4
- package/resource/knowledge/livekit/core-sdk/live/ios/{live-integration.md → integration.md} +2 -5
- package/resource/knowledge/livekit/core-sdk/voice/android/{voice-host-interaction.md → host-interaction.md} +3 -5
- package/resource/knowledge/livekit/core-sdk/voice/android/{voice-integration.md → integration.md} +3 -6
- package/resource/knowledge/livekit/core-sdk/voice/flutter/{voice-co-guest-interaction.md → co-guest-interaction.md} +1 -2
- package/resource/knowledge/livekit/core-sdk/voice/flutter/{voice-integration.md → integration.md} +6 -9
- package/resource/knowledge/livekit/core-sdk/voice/ios/{voice-co-guest-interaction.md → co-guest-interaction.md} +2 -2
- package/resource/knowledge/livekit/core-sdk/voice/ios/{voice-host-interaction.md → host-interaction.md} +4 -6
- package/resource/knowledge/livekit/core-sdk/voice/ios/{voice-integration.md → integration.md} +1 -4
- package/resource/knowledge/livekit/preset/live/vue/features/barrage.md +0 -2
- package/resource/knowledge/push/api-reference/android.md +123 -0
- package/resource/knowledge/push/api-reference/flutter.md +176 -0
- package/resource/knowledge/push/api-reference/harmonyos.md +138 -0
- package/resource/knowledge/push/api-reference/ios.md +176 -0
- package/resource/knowledge/push/api-reference/react-native.md +147 -0
- package/resource/knowledge/push/api-reference/uni-app.md +147 -0
- package/resource/knowledge/push/api-reference/unity.md +119 -0
- package/resource/knowledge/push/api-reference/unreal-engine.md +123 -0
- package/resource/knowledge/push/config/android.md +4 -7
- package/resource/knowledge/push/config/harmonyos.md +0 -3
- package/resource/knowledge/push/config/ios.md +12 -20
- package/resource/knowledge/push/config/react-native.md +18 -26
- package/resource/knowledge/push/config/unity.md +20 -28
- package/resource/knowledge/push/config/unreal-engine.md +21 -29
- package/resource/knowledge/push/integration/android.md +6 -8
- package/resource/knowledge/push/integration/flutter.md +6 -9
- package/resource/knowledge/push/integration/harmonyos.md +1 -0
- package/resource/knowledge/push/integration/ios.md +7 -9
- package/resource/knowledge/push/integration/react-native.md +9 -13
- package/resource/knowledge/push/integration/uni-app.md +7 -7
- package/resource/knowledge/push/integration/unity.md +10 -13
- package/resource/knowledge/push/integration/unreal-engine.md +6 -9
- package/resource/knowledge/push/overview/prepare.md +2 -2
- package/resource/knowledge/roomkit/core-sdk/android/call-user-to-room.md +3 -3
- package/resource/knowledge/roomkit/core-sdk/android/capability-matrix.md +46 -0
- package/resource/knowledge/roomkit/core-sdk/android/room-participant-state.md +1 -1
- package/resource/knowledge/roomkit/core-sdk/android/room-state.md +2 -2
- package/resource/knowledge/roomkit/core-sdk/android/schedule-room.md +6 -6
- package/resource/knowledge/roomkit/core-sdk/android/unsupported-features.md +79 -0
- package/resource/knowledge/roomkit/core-sdk/flutter/capability-matrix.md +46 -0
- package/resource/knowledge/roomkit/core-sdk/flutter/room-participant-state.md +1 -1
- package/resource/knowledge/roomkit/core-sdk/flutter/unsupported-features.md +79 -0
- package/resource/knowledge/roomkit/core-sdk/ios/capability-matrix.md +46 -0
- package/resource/knowledge/roomkit/core-sdk/ios/room-participant-state.md +1 -1
- package/resource/knowledge/roomkit/core-sdk/ios/unsupported-features.md +79 -0
- package/resource/knowledge/roomkit/preset/android/integration.md +5 -7
- package/resource/knowledge/roomkit/preset/flutter/integration.md +2 -7
- package/resource/knowledge/roomkit/preset/ios/integration.md +3 -9
- package/resource/knowledge/roomkit/preset/react/integration.md +12 -16
- package/resource/knowledge/trtc/android/TRTCCloud.md +154 -238
- package/resource/knowledge/trtc/android/TRTCCloudDef.md +133 -134
- package/resource/knowledge/trtc/android/TRTCCloudListener.md +86 -120
- package/resource/knowledge/trtc/android/TRTCStatistics.md +10 -10
- package/resource/knowledge/trtc/android/TXAudioEffectManager.md +10 -30
- package/resource/knowledge/trtc/android/TXBeautyManager.md +25 -25
- package/resource/knowledge/trtc/android/TXDeviceManager.md +2 -2
- package/resource/knowledge/trtc/android/TXLiteAVCode.md +12 -12
- package/resource/knowledge/trtc/c++/ITRTCCloud.md +166 -261
- package/resource/knowledge/trtc/c++/ITRTCStatistics.md +12 -12
- package/resource/knowledge/trtc/c++/ITXAudioEffectManager.md +10 -30
- package/resource/knowledge/trtc/c++/ITXDeviceManager.md +9 -11
- package/resource/knowledge/trtc/c++/TRTCCloudCallback.md +96 -130
- package/resource/knowledge/trtc/c++/TRTCTypeDef.md +122 -123
- package/resource/knowledge/trtc/c++/TXLiteAVCode.md +12 -12
- package/resource/knowledge/trtc/ios/TRTCCloud.md +168 -255
- package/resource/knowledge/trtc/ios/TRTCCloudDef.md +124 -125
- package/resource/knowledge/trtc/ios/TRTCCloudDelegate.md +89 -124
- package/resource/knowledge/trtc/ios/TRTCStatistics.md +10 -10
- package/resource/knowledge/trtc/ios/TXAudioEffectManager.md +9 -28
- package/resource/knowledge/trtc/ios/TXBeautyManager.md +25 -25
- package/resource/knowledge/trtc/ios/TXDeviceManager.md +9 -11
- package/resource/knowledge/trtc/ios/TXLiteAVCode.md +12 -12
- package/server-config.js +7 -4
- package/server.js +21 -21
- package/tools/common/finalize_answer.js +1 -1
- package/tools/common/present_framework_choice.js +2 -2
- package/tools/common/search_trtc_knowledge.js +3 -3
- package/tools/common/submit_feedback.js +1 -1
- package/tools/definitions/get_native_live_uikit_integration_def.js +61 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js +3 -3
- package/tools/definitions/present_framework_choice_def.js +2 -2
- package/tools/definitions/search_trtc_knowledge_def.js +5 -5
- package/tools/index.js +2 -0
- package/tools/live/get_native_live_uikit_integration.js +69 -0
- package/tools/live/get_native_livekit_core_integration.js +6 -6
- package/utils/is-valid-sdkappid.js +4 -0
- package/utils/report-cls-client.js +1 -1
- package/utils/report-es-client.js +1 -1
- package/resource/knowledge/callkit/preset/web/api.md +0 -83
- package/resource/knowledge/livekit/core-sdk/live/android/live-audio-effect.md +0 -226
- package/resource/knowledge/livekit/core-sdk/live/android/live-live-list.md +0 -438
- package/resource/knowledge/livekit/core-sdk/live/flutter/live-barrage.md +0 -490
- package/resource/knowledge/livekit/core-sdk/live/flutter/live-live-list.md +0 -726
- package/resource/knowledge/livekit/core-sdk/live/ios/live-audience-list.md +0 -264
- package/resource/knowledge/livekit/core-sdk/live/ios/live-audio-effect.md +0 -216
- package/resource/knowledge/livekit/core-sdk/live/ios/live-gift.md +0 -407
- package/resource/knowledge/livekit/core-sdk/live/ios/live-live-list.md +0 -349
- package/resource/knowledge/livekit/core-sdk/voice/android/voice-audience-list.md +0 -269
- package/resource/knowledge/livekit/core-sdk/voice/android/voice-barrage.md +0 -456
- package/resource/knowledge/livekit/core-sdk/voice/android/voice-gift.md +0 -455
- package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-audience-list.md +0 -260
- package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-audio-effect.md +0 -598
- package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-gift.md +0 -424
- package/resource/knowledge/livekit/core-sdk/voice/ios/voice-barrage.md +0 -408
- /package/resource/knowledge/livekit/core-sdk/{live/android/live-audience-list.md → features/android/audience-list.md} +0 -0
- /package/resource/knowledge/livekit/core-sdk/{live/android/live-barrage.md → features/android/barrage.md} +0 -0
- /package/resource/knowledge/livekit/core-sdk/{live/android/live-base-beauty.md → features/android/base-beauty.md} +0 -0
- /package/resource/knowledge/livekit/core-sdk/{live/flutter/live-audience-list.md → features/flutter/audience-list.md} +0 -0
- /package/resource/knowledge/livekit/core-sdk/{live/flutter/live-base-beauty.md → features/flutter/base-beauty.md} +0 -0
- /package/resource/knowledge/livekit/core-sdk/{live/ios/live-barrage.md → features/ios/barrage.md} +0 -0
- /package/resource/knowledge/livekit/core-sdk/voice/android/{voice-co-guest-interaction.md → co-guest-interaction.md} +0 -0
|
@@ -7,7 +7,6 @@ If you have any questions about the "Developer Account" or "Develop/Distribute C
|
|
|
7
7
|
|
|
8
8
|
> **Note:**
|
|
9
9
|
>
|
|
10
|
-
|
|
11
10
|
> Each vendor only supports the configuration of one certificate.
|
|
12
11
|
>
|
|
13
12
|
|
|
@@ -30,7 +29,6 @@ Apple currently offers two mainstream types of certificates for vendor configura
|
|
|
30
29
|
|
|
31
30
|
> **Note:**
|
|
32
31
|
>
|
|
33
|
-
|
|
34
32
|
> Your App's `Bundle ID` cannot use a wildcard `*`, otherwise, remote push service will not be available.
|
|
35
33
|
>
|
|
36
34
|
|
|
@@ -47,9 +45,7 @@ Apple currently offers two mainstream types of certificates for vendor configura
|
|
|
47
45
|
|
|
48
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:
|
|
49
47
|
|
|
50
|
-
3.
|
|
51
|
-
|
|
52
|
-
First, we choose the Development **Create Certificate**; the system will prompt us that a Certificate Signing Request (CSR) is required.
|
|
48
|
+
3. First, we choose the Development **Create Certificate**; the system will prompt us that a Certificate Signing Request (CSR) is required.
|
|
53
49
|
|
|
54
50
|
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`).
|
|
55
51
|
|
|
@@ -65,17 +61,15 @@ First, we choose the Development **Create Certificate**; the system will prompt
|
|
|
65
61
|
|
|
66
62
|
> **Note:**
|
|
67
63
|
>
|
|
68
|
-
|
|
69
64
|
> Actually, this certificate is a Sandbox and Production merged certificate that applies to both the development and production environments.
|
|
70
65
|
>
|
|
71
66
|
|
|
72
67
|
10. Double-click the downloaded `SSL Certificate` for the development and production environments. The system will import it into the keychain.
|
|
73
68
|
|
|
74
|
-
11. Open the Keychain Access app, go to
|
|
69
|
+
11. Open the Keychain Access app, go to **log in to** > **My Certificates**, right-click to export the recently created development environment (`Apple Development IOS Push Service`) and production environment (`Apple Push Services`) `p12` files.
|
|
75
70
|
|
|
76
71
|
> **Note:**
|
|
77
72
|
>
|
|
78
|
-
|
|
79
73
|
> When saving the `.p12` file, be sure to set a password. Step 2: Upload the certificate to the console.
|
|
80
74
|
>
|
|
81
75
|
|
|
@@ -90,13 +84,13 @@ First, we choose the Development **Create Certificate**; the system will prompt
|
|
|
90
84
|
|
|
91
85
|
> **Note:**
|
|
92
86
|
>
|
|
93
|
-
>
|
|
94
|
-
>
|
|
95
|
-
>
|
|
96
|
-
>
|
|
97
|
-
>
|
|
87
|
+
> - When uploading the push certificate, make sure that the Bundle ID matches the Bundle ID of your main app.
|
|
88
|
+
> - We recommend naming the uploaded certificate in English (special characters such as brackets are not allowed).
|
|
89
|
+
> - You need to set a password for the uploaded certificate. Without a password, push notifications cannot be received.
|
|
90
|
+
> - For an app published on App Store, the environment of the certificate must be the production environment. Otherwise, push notifications cannot be received.
|
|
91
|
+
> - The uploaded .p12 certificate must be your own authentic and valid certificate.
|
|
98
92
|
|
|
99
|
-
5. After the push certificate information is generated, record the certificate**
|
|
93
|
+
5. After the push certificate information is generated, record the certificate **ID**.
|
|
100
94
|
|
|
101
95
|
### Method 2: Use a p8 certificate (supports Dynamic Island Push)
|
|
102
96
|
|
|
@@ -116,10 +110,8 @@ To create a p8 certificate file, you first need to log in to the [Apple Develope
|
|
|
116
110
|
|
|
117
111
|
> **Note:**
|
|
118
112
|
>
|
|
119
|
-
|
|
120
113
|
> The p8 certificate can only be downloaded once, so please keep it safe.
|
|
121
114
|
>
|
|
122
|
-
|
|
123
115
|
> Please keep the downloaded p8 file safe, as you will not be able to download it again. You can use this P8 certificate to configure your iOS application to receive push notifications.
|
|
124
116
|
>
|
|
125
117
|
|
|
@@ -136,9 +128,9 @@ To create a p8 certificate file, you first need to log in to the [Apple Develope
|
|
|
136
128
|
|
|
137
129
|
> **Note:**
|
|
138
130
|
>
|
|
139
|
-
>
|
|
140
|
-
>
|
|
141
|
-
>
|
|
131
|
+
> - **KeyID**: This is the unique identifier for your APNs Auth Key. When you create a new APNs Auth Key in the Apple Developer Center, the system generates a Key ID for you. You can find it in the "Certificates, Identifiers & Profiles" section under "Keys".
|
|
132
|
+
> - **TeamID**: This is the unique identifier for your developer account. You can find it on the account details page in the Apple Developer Center. Click "Membership" in the top right corner, and you will find your Team ID in the "Membership Details" section.
|
|
133
|
+
> - **BundleID**: This is the unique identifier for your application, also known as the Application 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 application list.
|
|
142
134
|
|
|
143
135
|
##
|
|
144
136
|
1. Create a Description File
|
|
@@ -198,7 +190,7 @@ To create a p8 certificate file, you first need to log in to the [Apple Develope
|
|
|
198
190
|
|
|
199
191
|
### To add push permissions to the app, enable the push notification feature in the Xcode project.
|
|
200
192
|
|
|
201
|
-
Open **Xcode** project, navigate to the Project > Target > Capabilities page, click the plus button in the red box, and then select and add **Push Notifications
|
|
193
|
+
Open **Xcode** project, navigate to the Project > Target > Capabilities page, click the plus button in the red box, and then select and add **Push Notifications** .
|
|
202
194
|
|
|
203
195
|
The result after adding is shown in the red box in the figure.
|
|
204
196
|
|
|
@@ -2,7 +2,6 @@ React Native push currently supports vendor channels such as Xiaomi, Huawei, Hon
|
|
|
2
2
|
|
|
3
3
|
> **Note:**
|
|
4
4
|
>
|
|
5
|
-
|
|
6
5
|
> Each vendor only supports the configuration of one certificate.
|
|
7
6
|
>
|
|
8
7
|
|
|
@@ -26,13 +25,12 @@ There are currently two mainstream types of certificates for Apple Manufacturer
|
|
|
26
25
|
|
|
27
26
|
2. click the **+** next to Identifiers.
|
|
28
27
|
|
|
29
|
-
3. You can follow the steps below to create a new AppID or add a `Push Notification
|
|
28
|
+
3. You can follow the steps below to create a new AppID or add a `Push Notification` `Service` to your existing AppID.
|
|
30
29
|
|
|
31
|
-
> **Note:**
|
|
32
|
-
>
|
|
33
|
-
|
|
34
|
-
>
|
|
35
|
-
>
|
|
30
|
+
> **Note:**
|
|
31
|
+
>
|
|
32
|
+
> Your App's `Bundle ID` cannot use the wildcard `*`, otherwise, the remote push service cannot be used.
|
|
33
|
+
>
|
|
36
34
|
|
|
37
35
|
4. Check the **App IDs** box, click **Continue** to proceed to the next step.
|
|
38
36
|
|
|
@@ -47,9 +45,7 @@ There are currently two mainstream types of certificates for Apple Manufacturer
|
|
|
47
45
|
|
|
48
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:
|
|
49
47
|
|
|
50
|
-
3.
|
|
51
|
-
|
|
52
|
-
We first select the **Create Certificate** for the Development environment, the system will prompt us that we need a Certificate Signing Request (CSR).
|
|
48
|
+
3. We first select the **Create Certificate** for the Development environment, the system will prompt us that we need a Certificate Signing Request (CSR).
|
|
53
49
|
|
|
54
50
|
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`).
|
|
55
51
|
|
|
@@ -63,21 +59,19 @@ We first select the **Create Certificate** for the Development environment, the
|
|
|
63
59
|
|
|
64
60
|
9. Repeat steps 1 - 8 above to download the `Production SSL Certificate` for the production environment to your local machine.
|
|
65
61
|
|
|
66
|
-
> **Note:**
|
|
67
|
-
>
|
|
68
|
-
|
|
69
|
-
>
|
|
70
|
-
>
|
|
62
|
+
> **Note:**
|
|
63
|
+
>
|
|
64
|
+
> The certificate for the production environment is actually a combined certificate of Development (Sandbox) + Production, and it can be used as a certificate for both the development and production environments.
|
|
65
|
+
>
|
|
71
66
|
|
|
72
67
|
10. Double-click the downloaded `SSL Certificate` for the development and production environments. The system will import it into the keychain.
|
|
73
68
|
|
|
74
69
|
11. Open the Keychain App, go to **log in to** > **My Certificates**, right-click to export the newly created `Apple Development IOS Push Services` and `Apple Push Services` for the development and production environments as `p12` files respectively.
|
|
75
70
|
|
|
76
|
-
> **Note**
|
|
77
|
-
>
|
|
78
|
-
|
|
79
|
-
>
|
|
80
|
-
>
|
|
71
|
+
> **Note**
|
|
72
|
+
>
|
|
73
|
+
> Note: Set the password when saving the `.p12` file.
|
|
74
|
+
>
|
|
81
75
|
|
|
82
76
|
### Step 2: Upload the certificate to the console
|
|
83
77
|
1. Log in to the [Chat Console](https://console.trtc.io/chat/push-plugin-push-identifier).
|
|
@@ -111,10 +105,10 @@ To create a p8 certificate file, first log in to [Apple Developer Center](https:
|
|
|
111
105
|
|
|
112
106
|
Confirm and generate the key: On the confirmation page, verify your key information, then click **Register**. Next, you'll see a page prompting you to download the key. Click **Download** and save the generated .p8 file to your computer.
|
|
113
107
|
|
|
114
|
-
> **Note:**
|
|
115
|
-
>
|
|
116
|
-
> - The p8 certificate can only be downloaded once; please save it properly.
|
|
117
|
-
> - Please safeguard the downloaded p8 file, as you will not be able to download it again. You can use this p8 certificate to configure your iOS applications to receive push notifications.
|
|
108
|
+
> **Note:**
|
|
109
|
+
>
|
|
110
|
+
> - The p8 certificate can only be downloaded once; please save it properly.
|
|
111
|
+
> - Please safeguard the downloaded p8 file, as you will not be able to download it again. You can use this p8 certificate to configure your iOS applications to receive push notifications.
|
|
118
112
|
|
|
119
113
|
### Step 2: Upload the p8 certificate to the Chat console
|
|
120
114
|
1. Log in to the [Chat Console](https://console.trtc.io/chat/push-plugin-push-identifier).
|
|
@@ -145,10 +139,8 @@ Log in to Tencent Cloud [Chat Console](https://console.trtc.io/chat/push-plugin-
|
|
|
145
139
|
|
|
146
140
|
> **Note:**
|
|
147
141
|
>
|
|
148
|
-
|
|
149
142
|
> 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)
|
|
150
143
|
>
|
|
151
|
-
|
|
152
144
|
> To use the reporting statistics feature, also keep this item at its default value. (Note)
|
|
153
145
|
>
|
|
154
146
|
|
|
@@ -2,7 +2,6 @@ Currently, the message push plugin in Unity only supports push to Android (inclu
|
|
|
2
2
|
|
|
3
3
|
> **Note:**
|
|
4
4
|
>
|
|
5
|
-
|
|
6
5
|
> Each vendor only supports the configuration of one certificate.
|
|
7
6
|
>
|
|
8
7
|
|
|
@@ -19,13 +18,12 @@ Before integrating the message push plug-in, you must apply for an APNs Push Cer
|
|
|
19
18
|
|
|
20
19
|
2. Click **+** on the right of Identifiers.
|
|
21
20
|
|
|
22
|
-
3. You can refer to the following procedure to create a new AppID, or add the `Push Notification
|
|
23
|
-
|
|
24
|
-
> **Note**
|
|
25
|
-
>
|
|
21
|
+
3. You can refer to the following procedure to create a new AppID, or add the `Push Notification` `Service` to your original AppID.
|
|
26
22
|
|
|
27
|
-
>
|
|
28
|
-
>
|
|
23
|
+
> **Note**
|
|
24
|
+
>
|
|
25
|
+
> Note: The `Bundle ID` of your App cannot use wildcard `*`, otherwise the Remote Push Service will be unavailable.
|
|
26
|
+
>
|
|
29
27
|
|
|
30
28
|
4. Check **App IDs**, click **Continue** to proceed to the next step.
|
|
31
29
|
|
|
@@ -40,9 +38,7 @@ Before integrating the message push plug-in, you must apply for an APNs Push Cer
|
|
|
40
38
|
|
|
41
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:
|
|
42
40
|
|
|
43
|
-
3.
|
|
44
|
-
|
|
45
|
-
First select the development environment (Development) **Create Certificate**, the system will prompt you to provide a Certificate Signing Request (CSR).
|
|
41
|
+
3. First select the development environment (Development) **Create Certificate**, the system will prompt you to provide a Certificate Signing Request (CSR).
|
|
46
42
|
|
|
47
43
|
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`).
|
|
48
44
|
|
|
@@ -56,21 +52,19 @@ First select the development environment (Development) **Create Certificate**, t
|
|
|
56
52
|
|
|
57
53
|
9. Repeat steps 1 - 8 to download the `Production SSL Certificate` for the production environment to local.
|
|
58
54
|
|
|
59
|
-
> **Note**
|
|
60
|
-
>
|
|
61
|
-
|
|
62
|
-
>
|
|
63
|
-
>
|
|
55
|
+
> **Note**
|
|
56
|
+
>
|
|
57
|
+
> The certificate in the production environment is a merged certificate of development (Sandbox) and production (Production), which can be used as both a development and production environment certificate.
|
|
58
|
+
>
|
|
64
59
|
|
|
65
60
|
10. Double-click to open the downloaded `SSL Certificate` for the development and production environment, and the system will import it into the keychain.
|
|
66
61
|
|
|
67
62
|
11. Open the keychain access app, go to **Login** > **My Certificates**, right-click to export the newly created `P12` files for the development environment (`Apple Development IOS Push Service`) and production environment (`Apple Push Services`).
|
|
68
63
|
|
|
69
|
-
> **Note**
|
|
70
|
-
>
|
|
71
|
-
|
|
72
|
-
>
|
|
73
|
-
>
|
|
64
|
+
> **Note**
|
|
65
|
+
>
|
|
66
|
+
> When saving the `P12` file, ensure to set a password for it.
|
|
67
|
+
>
|
|
74
68
|
|
|
75
69
|
### Step 2: Upload Certificate to Console
|
|
76
70
|
1. Log in to the [Chat console](https://console.trtc.io/chat/push-plugin-push-identifier).
|
|
@@ -81,12 +75,12 @@ First select the development environment (Development) **Create Certificate**, t
|
|
|
81
75
|
|
|
82
76
|
4. Select certificate type, upload iOS certificate (.p12), set certificate password, click **confirm**.
|
|
83
77
|
|
|
84
|
-
> **Note**
|
|
85
|
-
>
|
|
86
|
-
> - Upload certificate name should be in English (do not use parentheses or other special characters).
|
|
87
|
-
> - Upload certificate needs to be set with password. Passwordless will not receive push notifications.
|
|
88
|
-
> - Set the certificate for App Store release to production environment, otherwise unable to receive push notifications.
|
|
89
|
-
> - Uploaded p12 certificate must be your own real and valid applied certificate.
|
|
78
|
+
> **Note**
|
|
79
|
+
>
|
|
80
|
+
> - Upload certificate name should be in English (do not use parentheses or other special characters).
|
|
81
|
+
> - Upload certificate needs to be set with password. Passwordless will not receive push notifications.
|
|
82
|
+
> - Set the certificate for App Store release to production environment, otherwise unable to receive push notifications.
|
|
83
|
+
> - Uploaded p12 certificate must be your own real and valid applied certificate.
|
|
90
84
|
|
|
91
85
|
5. After generation of pending certificate information, record the cert ID.
|
|
92
86
|
|
|
@@ -104,10 +98,8 @@ Log in to Tencent Cloud [Chat console](https://console.trtc.io/chat/push-plugin-
|
|
|
104
98
|
|
|
105
99
|
> **Note:**
|
|
106
100
|
>
|
|
107
|
-
|
|
108
101
|
> 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.
|
|
109
102
|
>
|
|
110
|
-
|
|
111
103
|
> If you need to use the report statistics feature, keep this item unchanged.
|
|
112
104
|
>
|
|
113
105
|
|
|
@@ -2,7 +2,6 @@ The push service currently supports Vendor Channels such as Xiaomi, Huawei, Hono
|
|
|
2
2
|
|
|
3
3
|
> **Note:**
|
|
4
4
|
>
|
|
5
|
-
|
|
6
5
|
> Each vendor only supports the configuration of one certificate.
|
|
7
6
|
>
|
|
8
7
|
|
|
@@ -19,13 +18,12 @@ Before integrating the message push plug-in, you must apply for an APNs Push Cer
|
|
|
19
18
|
|
|
20
19
|
2. Click **+** on the right of Identifiers.
|
|
21
20
|
|
|
22
|
-
3. You can refer to the following steps to create a new AppID or add the `Push Notification
|
|
23
|
-
|
|
24
|
-
> **Note**
|
|
25
|
-
>
|
|
21
|
+
3. You can refer to the following steps to create a new AppID or add the `Push Notification` `Service` to your original AppID.
|
|
26
22
|
|
|
27
|
-
>
|
|
28
|
-
>
|
|
23
|
+
> **Note**
|
|
24
|
+
>
|
|
25
|
+
> Note: Your App's `Bundle ID` cannot use wildcard `*`, otherwise Remote Push Service will be unavailable.
|
|
26
|
+
>
|
|
29
27
|
|
|
30
28
|
4. Check **App IDs**, then click **Continue** to proceed to the next step.
|
|
31
29
|
|
|
@@ -40,9 +38,7 @@ Before integrating the message push plug-in, you must apply for an APNs Push Cer
|
|
|
40
38
|
|
|
41
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:
|
|
42
40
|
|
|
43
|
-
3.
|
|
44
|
-
|
|
45
|
-
First select the development environment (Development) **Create Certificate**, the system will prompt us to provide a Certificate Signing Request (CSR).
|
|
41
|
+
3. First select the development environment (Development) **Create Certificate**, the system will prompt us to provide a Certificate Signing Request (CSR).
|
|
46
42
|
|
|
47
43
|
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`).
|
|
48
44
|
|
|
@@ -56,21 +52,19 @@ First select the development environment (Development) **Create Certificate**, t
|
|
|
56
52
|
|
|
57
53
|
9. Repeat steps 1-8 to download the `Production SSL Certificate` for the production environment locally.
|
|
58
54
|
|
|
59
|
-
> **Note**
|
|
60
|
-
>
|
|
61
|
-
|
|
62
|
-
>
|
|
63
|
-
>
|
|
55
|
+
> **Note**
|
|
56
|
+
>
|
|
57
|
+
> Note: The cert in the production environment is actually a merged certificate of Sandbox and Production, which can be used as the cert for both development and production environments.
|
|
58
|
+
>
|
|
64
59
|
|
|
65
60
|
10. Double-click to open the downloaded `SSL Certificate` for development and production environments, and the system will import it into the Keychain.
|
|
66
61
|
|
|
67
|
-
11. Open the keychain access app, go to **Login** > **My Certificates**, right-click and export the newly created `Apple Development IOS Push Service` and `Apple Push Services
|
|
68
|
-
|
|
69
|
-
> **Note**
|
|
70
|
-
>
|
|
62
|
+
11. Open the keychain access app, go to **Login** > **My Certificates**, right-click and export the newly created `Apple Development IOS Push Service` and `Apple Push Services` `P12` files for development and production environments respectively.
|
|
71
63
|
|
|
72
|
-
>
|
|
73
|
-
>
|
|
64
|
+
> **Note**
|
|
65
|
+
>
|
|
66
|
+
> When saving a `P12` file, ensure to set password for it.
|
|
67
|
+
>
|
|
74
68
|
|
|
75
69
|
### Step 2: Upload Certificate to Console
|
|
76
70
|
1. Sign in to the [Chat Console](https://console.trtc.io/chat/push-plugin-push-identifier).
|
|
@@ -81,12 +75,12 @@ First select the development environment (Development) **Create Certificate**, t
|
|
|
81
75
|
|
|
82
76
|
4. Select certificate type, upload iOS certificate (.p12), set certificate password, click **confirm**.
|
|
83
77
|
|
|
84
|
-
> **Note**
|
|
85
|
-
>
|
|
86
|
-
> - Use English for the certificate name (do not use parentheses or other special characters).
|
|
87
|
-
> - Upload certificate needs to be set with password. Passwordless will not receive push notifications.
|
|
88
|
-
> - To publish an App Store certificate, set it to production environment, otherwise unable to receive push.
|
|
89
|
-
> - Uploaded p12 certificate must be a real and valid certificate applied by yourself.
|
|
78
|
+
> **Note**
|
|
79
|
+
>
|
|
80
|
+
> - Use English for the certificate name (do not use parentheses or other special characters).
|
|
81
|
+
> - Upload certificate needs to be set with password. Passwordless will not receive push notifications.
|
|
82
|
+
> - To publish an App Store certificate, set it to production environment, otherwise unable to receive push.
|
|
83
|
+
> - Uploaded p12 certificate must be a real and valid certificate applied by yourself.
|
|
90
84
|
|
|
91
85
|
5. After generation of pending certificate information, record the cert ID.
|
|
92
86
|
|
|
@@ -104,10 +98,8 @@ Sign in to the [Chat console](https://console.trtc.io/chat/push-plugin-push-iden
|
|
|
104
98
|
|
|
105
99
|
> **Note:**
|
|
106
100
|
>
|
|
107
|
-
|
|
108
101
|
> 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.
|
|
109
102
|
>
|
|
110
|
-
|
|
111
103
|
> If you need to use the report statistics feature, keep this item unchanged.
|
|
112
104
|
>
|
|
113
105
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
> **Note:**
|
|
2
2
|
>
|
|
3
|
-
|
|
4
3
|
> 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).
|
|
5
4
|
>
|
|
6
5
|
|
|
@@ -71,7 +70,6 @@ android {
|
|
|
71
70
|
|
|
72
71
|
> **Note:**
|
|
73
72
|
>
|
|
74
|
-
|
|
75
73
|
> The following adaptation for HONOR only requires configuration for version 7.7.5283 and above.
|
|
76
74
|
>
|
|
77
75
|
|
|
@@ -247,7 +245,6 @@ China: https://api.im.qcloud.com/v3/offline_push_report/huawei
|
|
|
247
245
|
|
|
248
246
|
> **Note:**
|
|
249
247
|
>
|
|
250
|
-
|
|
251
248
|
> Huawei Push Certificate ID <= 11344, using Huawei Push v2 interface, does not support Reach and Click Receipt, please regenerate and update Certificate ID.
|
|
252
249
|
>
|
|
253
250
|
|
|
@@ -294,7 +291,6 @@ China: https://api.im.qcloud.com/v3/offline_push_report/meizu
|
|
|
294
291
|
|
|
295
292
|
> **Note:**
|
|
296
293
|
>
|
|
297
|
-
|
|
298
294
|
> 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.
|
|
299
295
|
>
|
|
300
296
|
|
|
@@ -323,6 +319,7 @@ After receiving the push message, clicking the notification bar will trigger the
|
|
|
323
319
|
>
|
|
324
320
|
> 1. It is recommended to place the registration callback timing in the onCreate() function of the application.
|
|
325
321
|
> 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
|
+
>
|
|
326
323
|
|
|
327
324
|
``` java
|
|
328
325
|
TIMPushManager.getInstance().addPushListener(new TIMPushListener() {
|
|
@@ -341,8 +338,9 @@ The component will notify the application in the form of a callback or broadcast
|
|
|
341
338
|
|
|
342
339
|
> **Note:**
|
|
343
340
|
>
|
|
344
|
-
>
|
|
345
|
-
>
|
|
341
|
+
> 1. It is recommended to place the registration callback timing in the onCreate() function of the application.
|
|
342
|
+
> 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
|
+
>
|
|
346
344
|
|
|
347
345
|
1. The callback method is as follows:
|
|
348
346
|
|
|
@@ -400,5 +398,5 @@ Vendor offline push channels use a [message categorization mechanism](https://tr
|
|
|
400
398
|
|
|
401
399
|
> **Note:**
|
|
402
400
|
>
|
|
403
|
-
>
|
|
404
|
-
>
|
|
401
|
+
> 1. If you are unable to receive push notifications after integration, please first use the [Troubleshooting Tool](https://trtc.io/document/60541) to check the specific reasons. To view push indicator data, please use [Statistics](https://trtc.io/document/60540) query.
|
|
402
|
+
> 2. For the All/Tag Push feature, please refer to: [RESTful APIs - Initiate All/Tag Push](https://trtc.io/document/60561).
|
|
@@ -111,7 +111,6 @@ public class MyApplication extends TencentCloudChatPushApplication {
|
|
|
111
111
|
|
|
112
112
|
> **Note:**
|
|
113
113
|
>
|
|
114
|
-
|
|
115
114
|
> If you have already created your own Application for other purposes, directly `extend TencentCloudChatPushApplication` and ensure that the `onCreate()` function calls `super.onCreate();`.
|
|
116
115
|
>
|
|
117
116
|
|
|
@@ -189,11 +188,10 @@ android {
|
|
|
189
188
|
|
|
190
189
|
Follow the vendor method to integrate the corresponding plugin and JSON configuration file.
|
|
191
190
|
|
|
192
|
-
> **Note:**
|
|
193
|
-
>
|
|
194
|
-
|
|
195
|
-
>
|
|
196
|
-
>
|
|
191
|
+
> **Note:**
|
|
192
|
+
>
|
|
193
|
+
> The following adaptation for HONOR only requires configuration for version 7.7.5283 and above.
|
|
194
|
+
>
|
|
197
195
|
|
|
198
196
|
1. Download the configuration file and place it under the root directory/Android/app of the project.
|
|
199
197
|
|
|
@@ -330,6 +328,7 @@ If you need to customize the parsing of received remote push notifications, you
|
|
|
330
328
|
>
|
|
331
329
|
> 1. It is recommended to register the callback in the main() function at the program entry.
|
|
332
330
|
> 2. For console configuration, click on 'Subsequent Actions' and configure as follows, choose **Open the specified interface within the app**, and the plugin users will by default fill in the jump parameters.
|
|
331
|
+
>
|
|
333
332
|
|
|
334
333
|
``` java
|
|
335
334
|
TIMPushListener timPushListener = TIMPushListener(
|
|
@@ -369,7 +368,7 @@ void _onNotificationClicked({required String ext, String? userID, String? groupI
|
|
|
369
368
|
|
|
370
369
|
**Please note, do not call in the main method of the Flutter program entry.**
|
|
371
370
|
|
|
372
|
-
After successfully calling the
|
|
371
|
+
After successfully calling the `TencentCloudChatPush().registerPush` method, you can receive offline push notifications.
|
|
373
372
|
``` java
|
|
374
373
|
TencentCloudChatPush().registerPush(
|
|
375
374
|
onNotificationClicked: _onNotificationClicked,
|
|
@@ -400,7 +399,6 @@ China: https://api.im.qcloud.com/v3/offline_push_report/huawei
|
|
|
400
399
|
|
|
401
400
|
> **Note:**
|
|
402
401
|
>
|
|
403
|
-
|
|
404
402
|
> Huawei Push Certificate ID <= 11344, using Huawei Push v2 interface, does not support Reach and Click Receipt, please regenerate and update Certificate ID.
|
|
405
403
|
>
|
|
406
404
|
|
|
@@ -447,7 +445,6 @@ China: https://api.im.qcloud.com/v3/offline_push_report/meizu
|
|
|
447
445
|
|
|
448
446
|
> **Note:**
|
|
449
447
|
>
|
|
450
|
-
|
|
451
448
|
> 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.
|
|
452
449
|
>
|
|
453
450
|
|
|
@@ -44,6 +44,7 @@ After receiving the push message and clicking the notification, the component wi
|
|
|
44
44
|
>
|
|
45
45
|
> - Register the callback timing in the oncreate() function of the application [UIAbility](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/uiability-lifecycle).
|
|
46
46
|
> - Console configuration click subsequent actions with the following configuration, select **open specified in-app page**, do not modify use default values.
|
|
47
|
+
>
|
|
47
48
|
|
|
48
49
|
``` java
|
|
49
50
|
let pushListener: TIMPushListener = {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
> **Note:**
|
|
2
2
|
>
|
|
3
|
-
|
|
4
3
|
> If you need to use products like Chat, CallKit, RoomKit, LiveKit simultaneously, please refer to [Chat Quick Integration Solution](https://www.tencentcloud.com/document/product/1047/50033).
|
|
5
4
|
>
|
|
6
5
|
|
|
@@ -98,10 +97,10 @@ TIMPushManager.registerPush(Int32(sdkAppId), appKey: appKey, succ: { deviceToken
|
|
|
98
97
|
})
|
|
99
98
|
```
|
|
100
99
|
|
|
101
|
-
> **Note:**
|
|
102
|
-
>
|
|
103
|
-
> 1. After you log in, when you see the APNs configuration success log printed on the console, it indicates that the integration is successful.
|
|
104
|
-
> 2. If your app has obtained push permissions, you can receive remote push notifications when the app is moved to the background or the process is killed.
|
|
100
|
+
> **Note:**
|
|
101
|
+
>
|
|
102
|
+
> 1. After you log in, when you see the APNs configuration success log printed on the console, it indicates that the integration is successful.
|
|
103
|
+
> 2. If your app has obtained push permissions, you can receive remote push notifications when the app is moved to the background or the process is killed.
|
|
105
104
|
|
|
106
105
|
### Step 4: Push Delivery Rate Statistics
|
|
107
106
|
1. If you need to collect data on push delivery and click rates, you need to implement the `- applicationGroupID` method in the `AppDelegate.m` file and get the App Group ID ([the generation method can be referred to in Vendor Configuration - Generating App Group ID](https://www.tencentcloud.com/document/product/1047/60548#ae5590eb-b974-4226-9f1b-720fb0201c85)).
|
|
@@ -148,9 +147,9 @@ override func didReceive(_ request: UNNotificationRequest, withContentHandler co
|
|
|
148
147
|
|
|
149
148
|
> **Note:**
|
|
150
149
|
>
|
|
151
|
-
>
|
|
152
|
-
|
|
153
|
-
>
|
|
150
|
+
> 1. To report push delivery data, enable the mutable-content switch to support iOS 10's extension feature.
|
|
151
|
+
>
|
|
152
|
+
> 2. Data details can be viewed on the Push Data Page. The Push Data Page can only be used after [purchasing the Push Plugin](https://buy.cloud.tencent.com/avc).
|
|
154
153
|
|
|
155
154
|
### Step 5: **Verify Connection**
|
|
156
155
|
|
|
@@ -170,7 +169,6 @@ If you need to customize the parsing of received remote push notifications, you
|
|
|
170
169
|
|
|
171
170
|
> **Note:**
|
|
172
171
|
>
|
|
173
|
-
|
|
174
172
|
> It is recommended to place the registration callback timing in the didFinishLaunchingWithOptions function of the AppDelegate.
|
|
175
173
|
>
|
|
176
174
|
|
|
@@ -25,7 +25,6 @@ Copy the following code to `App.tsx` and replace `SDKAppID` and `appKey` with yo
|
|
|
25
25
|
|
|
26
26
|
> **Note:**
|
|
27
27
|
>
|
|
28
|
-
|
|
29
28
|
> After successfully registering the push service with `registerPush`, you can obtain the push ID, namely RegistrationID, through `getRegistrationID`. You can push messages to the specified RegistrationID.
|
|
30
29
|
>
|
|
31
30
|
|
|
@@ -81,12 +80,12 @@ if (Push) {
|
|
|
81
80
|
|
|
82
81
|
【FCM】
|
|
83
82
|
|
|
84
|
-
When you need to support FCM push, you must configure the
|
|
83
|
+
When you need to support FCM push, you must configure the `google-services.json` file in the `MyReactNativeApp/android/app` directory (**Please note! Not in the** `MyReactNativeApp/android/app/src/main/assets directory`). As shown in the picture:
|
|
85
84
|
|
|
86
85
|
【Huawei】
|
|
87
86
|
|
|
88
87
|
【HONOR】
|
|
89
|
-
|
|
88
|
+
1. To support HONOR Push, you need to configure `appID` in the `MyReactNativeApp/android/app/build.gradle` file. As shown in the figure:
|
|
90
89
|
|
|
91
90
|
``` bash
|
|
92
91
|
......
|
|
@@ -105,7 +104,7 @@ android {
|
|
|
105
104
|
|---------|---------|
|
|
106
105
|
|||
|
|
107
106
|
|
|
108
|
-
|
|
107
|
+
2. Download the `mcs-services.json` file from the [Honor Developer Management Center](https://developer.honor.com/en/), and configure it in the `MyReactNativeApp/android/app` directory (**Please note! Not in the** `MyReactNativeApp/android/app/src/main/assets directory` directory).
|
|
109
108
|
|
|
110
109
|
【vivo】
|
|
111
110
|
|
|
@@ -129,9 +128,9 @@ android {
|
|
|
129
128
|
|||
|
|
130
129
|
|
|
131
130
|
【iOS】
|
|
132
|
-
|
|
131
|
+
1. Please upload the iOS APNs Push Certificate obtained in the manufacturer configuration step to the Chat Console. The Chat Console will assign a Certificate ID to you, as shown in the figure:
|
|
133
132
|
|
|
134
|
-
|
|
133
|
+
2. In the `MyReactNativeApp/ios/MyReactNativeApp` directory, create a new `Resources` folder and a new `timpush-configs.json` file. Edit `timpush-configs.json` and enter the certificate ID obtained from the console, as shown below:
|
|
135
134
|
|
|
136
135
|
``` javascript
|
|
137
136
|
{
|
|
@@ -139,7 +138,7 @@ android {
|
|
|
139
138
|
}
|
|
140
139
|
```
|
|
141
140
|
|
|
142
|
-
|
|
141
|
+
3. Open the MyReactNativeApp project in XCode, right-click the project > **Add Files to "MyReactNativeApp"**, and add the `timpush-configs.json` directory to the project. As shown in the figure:
|
|
143
142
|
|
|
144
143
|
### Step 5: **Configuring Native Modules and Dependencies**
|
|
145
144
|
|
|
@@ -147,7 +146,6 @@ android {
|
|
|
147
146
|
|
|
148
147
|
> **Note:**
|
|
149
148
|
>
|
|
150
|
-
|
|
151
149
|
> Please ensure the package name in `timpush-configs.json` matches the `applicationId` value in `MyReactNativeApp/android/app/build.gradle`. Inconsistency will result in offline push notifications being unavailable.
|
|
152
150
|
>
|
|
153
151
|
|
|
@@ -264,16 +262,16 @@ dependencies {
|
|
|
264
262
|
5. After completing the above steps, select **File > Sync Project with Gradle Files**.
|
|
265
263
|
|
|
266
264
|
【iOS】
|
|
267
|
-
|
|
265
|
+
1. Open **MyReactNativeApp/ios/MyReactNativeApp.xcworkspace** with XCode.
|
|
268
266
|
|
|
269
|
-
|
|
267
|
+
2. Go to the `MyReactNativeApp/ios` directory and install TIMPush.
|
|
270
268
|
|
|
271
269
|
``` bash
|
|
272
270
|
pod install
|
|
273
271
|
# If you cannot install the latest version, run the following command to update your local CocoaPods repository list
|
|
274
272
|
pod repo update
|
|
275
273
|
```
|
|
276
|
-
|
|
274
|
+
3. Enable push notification feature in the app. Open the Xcode project, and select and add **Push Notifications** on the **Project > Target > Capabilities** page.
|
|
277
275
|
|
|
278
276
|
### Step 6: **Running on a Real Device (Make sure to enable notification permissions on your phone before testing, allowing the app to send notifications.)**
|
|
279
277
|
|
|
@@ -310,7 +308,6 @@ If you need to collect data on delivery, please complete the setup as follows:
|
|
|
310
308
|
|
|
311
309
|
> **Note:**
|
|
312
310
|
>
|
|
313
|
-
|
|
314
311
|
> Huawei Push Certificate ID <= 11344, using Huawei Push v2 version interface does not support reach and click receipt, please regenerate and update the certificate ID.
|
|
315
312
|
>
|
|
316
313
|
|
|
@@ -355,7 +352,6 @@ If you need to collect data on delivery, please complete the setup as follows:
|
|
|
355
352
|
|
|
356
353
|
> **Note:**
|
|
357
354
|
>
|
|
358
|
-
|
|
359
355
|
> After enabling the Receipt Switch, please make sure the Receipt Address is configured correctly. Failing to configure or configuring the wrong address will affect the push feature.
|
|
360
356
|
>
|
|
361
357
|
|