@tencent-rtc/mcp 1.6.4 → 1.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. package/knowledge/chunker.js +83 -54
  2. package/knowledge/path-meta.js +179 -26
  3. package/knowledge/search/exact-lookup.js +168 -10
  4. package/knowledge/search/filter-pool.js +73 -19
  5. package/knowledge/search/product-scope-intent.js +2 -2
  6. package/knowledge/search/requires-framework.js +2 -2
  7. package/knowledge/search/search-knowledge.js +247 -61
  8. package/package.json +1 -1
  9. package/resource/index/manifest.json +1 -1
  10. package/resource/integration/callkit/preset/android/integration.md +2 -4
  11. package/resource/integration/callkit/preset/flutter/integration.md +4 -5
  12. package/resource/integration/callkit/preset/ios/integration.md +1 -4
  13. package/resource/integration/callkit/preset/react/integration.md +13 -20
  14. package/resource/integration/callkit/preset/vue/integration.md +14 -21
  15. package/resource/integration/chat/preset/android/integration.md +6 -9
  16. package/resource/integration/chat/preset/flutter/integration.md +9 -12
  17. package/resource/integration/chat/preset/ios/integration.md +2 -4
  18. package/resource/integration/chat/preset/react/integration.md +0 -10
  19. package/resource/integration/livekit/preset/live/android/live-audience-integration.md +129 -0
  20. package/resource/integration/livekit/preset/live/android/live-host-integration.md +219 -0
  21. package/resource/integration/livekit/preset/live/android/live-list-integration.md +261 -0
  22. package/resource/integration/livekit/preset/live/android/prepare-integration.md +254 -0
  23. package/resource/integration/livekit/preset/live/ios/live-audience-integration.md +202 -0
  24. package/resource/integration/livekit/preset/live/ios/live-host-integration.md +369 -0
  25. package/resource/integration/livekit/preset/live/ios/live-list-integration.md +229 -0
  26. package/resource/integration/livekit/preset/live/ios/prepare-integration.md +204 -0
  27. package/resource/integration/livekit/preset/live/vue/live-list-integration.md +0 -3
  28. package/resource/integration/livekit/preset/live/vue/live-player-desk-integration.md +0 -5
  29. package/resource/integration/livekit/preset/live/vue/live-player-h5-integration.md +0 -6
  30. package/resource/integration/livekit/preset/live/vue/live-pusher-integration.md +5 -10
  31. package/resource/integration/roomkit/preset/vue/integration.md +0 -4
  32. package/resource/knowledge/callkit/best-practice/web/callengine-invitation.md +80 -0
  33. package/resource/knowledge/callkit/best-practice/web/callengine-log-control.md +24 -0
  34. package/resource/knowledge/callkit/best-practice/web/callkit-call-vs-calls.md +116 -0
  35. package/resource/knowledge/callkit/core-sdk/android/answer-call.md +7 -8
  36. package/resource/knowledge/callkit/core-sdk/android/make-call.md +5 -7
  37. package/resource/knowledge/callkit/core-sdk/android/offline-push.md +3 -5
  38. package/resource/knowledge/callkit/core-sdk/flutter/answer-call.md +2 -6
  39. package/resource/knowledge/callkit/core-sdk/flutter/make-call.md +2 -6
  40. package/resource/knowledge/callkit/core-sdk/flutter/offline-push.md +4 -9
  41. package/resource/knowledge/callkit/core-sdk/ios/answer-call.md +1 -4
  42. package/resource/knowledge/callkit/core-sdk/ios/make-call.md +8 -11
  43. package/resource/knowledge/callkit/core-sdk/ios/offline-push.md +17 -23
  44. package/resource/knowledge/callkit/core-sdk/web/call-engine.md +33 -0
  45. package/resource/knowledge/callkit/core-sdk/web/call-event.md +327 -0
  46. package/resource/knowledge/callkit/core-sdk/web/callengine-api-overview.md +33 -0
  47. package/resource/knowledge/callkit/faq/android.md +0 -2
  48. package/resource/knowledge/callkit/faq/error-code.md +0 -2
  49. package/resource/knowledge/callkit/faq/flutter.md +2 -2
  50. package/resource/knowledge/callkit/faq/ios.md +3 -5
  51. package/resource/knowledge/callkit/faq/web.md +2 -3
  52. package/resource/knowledge/callkit/preset/android/api.md +2 -5
  53. package/resource/knowledge/callkit/preset/ios/api.md +0 -2
  54. package/resource/knowledge/callkit/preset/react/api.md +445 -0
  55. package/resource/knowledge/callkit/preset/react/uikit-api-reference.md +445 -0
  56. package/resource/knowledge/callkit/preset/vue/api.md +465 -0
  57. package/resource/knowledge/callkit/preset/vue/uikit-api-reference.md +465 -0
  58. package/resource/knowledge/chat/best-practice/web/image-message-url-handling.md +16 -0
  59. package/resource/knowledge/chat/preset/android/features/chat-setting.md +1 -1
  60. package/resource/knowledge/chat/preset/android/features/conversation-list.md +1 -1
  61. package/resource/knowledge/chat/preset/android/features/language.md +0 -1
  62. package/resource/knowledge/chat/preset/android/features/message-input.md +1 -1
  63. package/resource/knowledge/chat/preset/android/features/message-list.md +2 -3
  64. package/resource/knowledge/chat/preset/android/features/search.md +0 -1
  65. package/resource/knowledge/chat/preset/android/features/theme.md +1 -1
  66. package/resource/knowledge/chat/preset/android-view/integration.md +3 -11
  67. package/resource/knowledge/chat/preset/flutter/features/conversation-list.md +0 -1
  68. package/resource/knowledge/chat/preset/flutter/features/message-list.md +1 -2
  69. package/resource/knowledge/chat/preset/flutter/features/search.md +5 -6
  70. package/resource/knowledge/chat/preset/flutter/features/theme.md +2 -2
  71. package/resource/knowledge/chat/preset/ios/features/chat-setting.md +1 -1
  72. package/resource/knowledge/chat/preset/ios/features/conversation-list.md +1 -2
  73. package/resource/knowledge/chat/preset/ios/features/message-list.md +1 -2
  74. package/resource/knowledge/chat/preset/ios/features/search.md +0 -1
  75. package/resource/knowledge/chat/preset/ios-uikit/integration.md +13 -15
  76. package/resource/knowledge/chat/preset/react/features/conversation-list.md +5 -5
  77. package/resource/knowledge/chat/preset/react/features/message-input.md +2 -3
  78. package/resource/knowledge/chat/preset/react/features/search.md +0 -1
  79. package/resource/knowledge/chat/preset/react/features/theme.md +0 -1
  80. package/resource/knowledge/chat/urls/sdk/android.md +3 -3
  81. package/resource/knowledge/chat/urls/sdk/flutter.md +3 -3
  82. package/resource/knowledge/chat/urls/sdk/ios.md +3 -3
  83. package/resource/knowledge/chat/urls/sdk/web.md +3 -3
  84. package/resource/knowledge/livekit/core-sdk/api-reference/android/AudioEffectStore.md +7 -14
  85. package/resource/knowledge/livekit/core-sdk/api-reference/android/BarrageStore.md +5 -8
  86. package/resource/knowledge/livekit/core-sdk/api-reference/android/BattleStore.md +15 -18
  87. package/resource/knowledge/livekit/core-sdk/api-reference/android/CameraView.md +1 -2
  88. package/resource/knowledge/livekit/core-sdk/api-reference/android/CoGuestStore.md +15 -20
  89. package/resource/knowledge/livekit/core-sdk/api-reference/android/CoHostStore.md +10 -13
  90. package/resource/knowledge/livekit/core-sdk/api-reference/android/DeviceStore.md +2 -4
  91. package/resource/knowledge/livekit/core-sdk/api-reference/android/GiftStore.md +4 -6
  92. package/resource/knowledge/livekit/core-sdk/api-reference/android/LikeStore.md +2 -4
  93. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveAudienceStore.md +2 -4
  94. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveCoreView.md +1 -2
  95. package/resource/knowledge/livekit/core-sdk/api-reference/android/LiveSeatStore.md +8 -10
  96. package/resource/knowledge/livekit/core-sdk/api-reference/android/LoginStore.md +5 -7
  97. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/AudioEffectStore.md +7 -14
  98. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BarrageStore.md +6 -9
  99. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BaseBeautyStore.md +1 -2
  100. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/BattleStore.md +15 -18
  101. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoGuestStore.md +15 -20
  102. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/CoHostStore.md +10 -13
  103. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/DeviceStore.md +2 -4
  104. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/GiftStore.md +4 -6
  105. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LikeStore.md +2 -4
  106. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveAudienceStore.md +2 -4
  107. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveCoreView.md +1 -2
  108. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LiveSeatStore.md +8 -10
  109. package/resource/knowledge/livekit/core-sdk/api-reference/flutter/LoginStore.md +3 -5
  110. package/resource/knowledge/livekit/core-sdk/api-reference/ios/AudioEffectStore.md +7 -14
  111. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BarrageStore.md +5 -8
  112. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BaseBeautyStore.md +1 -2
  113. package/resource/knowledge/livekit/core-sdk/api-reference/ios/BattleStore.md +6 -9
  114. package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoGuestStore.md +5 -10
  115. package/resource/knowledge/livekit/core-sdk/api-reference/ios/CoHostStore.md +3 -6
  116. package/resource/knowledge/livekit/core-sdk/api-reference/ios/DeviceStore.md +2 -4
  117. package/resource/knowledge/livekit/core-sdk/api-reference/ios/GiftStore.md +4 -6
  118. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LikeStore.md +2 -4
  119. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveAudienceStore.md +2 -4
  120. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveCoreView.md +1 -2
  121. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LiveSeatStore.md +4 -6
  122. package/resource/knowledge/livekit/core-sdk/api-reference/ios/LoginStore.md +3 -5
  123. package/resource/knowledge/livekit/core-sdk/api-reference/{web → vue}/index.md +24 -24
  124. package/resource/knowledge/livekit/core-sdk/{voice/android/voice-audio-effect.md → features/android/audio-effect.md} +1 -2
  125. package/resource/knowledge/livekit/core-sdk/{live/android/live-gift.md → features/android/gift.md} +2 -3
  126. package/resource/knowledge/livekit/core-sdk/{voice/android/voice-room-list.md → features/android/live-list.md} +2 -4
  127. package/resource/knowledge/livekit/core-sdk/{live/flutter/live-audio-effect.md → features/flutter/audio-effect.md} +0 -2
  128. package/resource/knowledge/livekit/core-sdk/{voice/flutter/voice-barrage.md → features/flutter/barrage.md} +2 -2
  129. package/resource/knowledge/livekit/core-sdk/{live/flutter/live-gift.md → features/flutter/gift.md} +2 -3
  130. package/resource/knowledge/livekit/core-sdk/{voice/flutter/voice-room-list.md → features/flutter/live-list.md} +1 -1
  131. package/resource/knowledge/livekit/core-sdk/{voice/ios/voice-audience-list.md → features/ios/audience-list.md} +1 -2
  132. package/resource/knowledge/livekit/core-sdk/{voice/ios/voice-audio-effect.md → features/ios/audio-effect.md} +1 -3
  133. package/resource/knowledge/livekit/core-sdk/{live/ios/live-base-beauty.md → features/ios/base-beauty.md} +2 -2
  134. package/resource/knowledge/livekit/core-sdk/{voice/ios/voice-gift.md → features/ios/gift.md} +2 -3
  135. package/resource/knowledge/livekit/core-sdk/{voice/ios/voice-room-list.md → features/ios/live-list.md} +2 -4
  136. package/resource/knowledge/livekit/core-sdk/live/android/{live-co-guest-interaction.md → co-guest-interaction.md} +0 -1
  137. package/resource/knowledge/livekit/core-sdk/live/android/{live-host-interaction.md → host-interaction.md} +5 -7
  138. package/resource/knowledge/livekit/core-sdk/live/android/{live-integration.md → integration.md} +3 -6
  139. package/resource/knowledge/livekit/core-sdk/live/flutter/{live-co-guest-interaction.md → co-guest-interaction.md} +1 -1
  140. package/resource/knowledge/livekit/core-sdk/live/flutter/{live-host-interaction.md → host-interaction.md} +0 -2
  141. package/resource/knowledge/livekit/core-sdk/live/flutter/{live-integration.md → integration.md} +1 -4
  142. package/resource/knowledge/livekit/core-sdk/live/ios/{live-co-guest-interaction.md → co-guest-interaction.md} +0 -1
  143. package/resource/knowledge/livekit/core-sdk/live/ios/{live-host-interaction.md → host-interaction.md} +2 -4
  144. package/resource/knowledge/livekit/core-sdk/live/ios/{live-integration.md → integration.md} +2 -5
  145. package/resource/knowledge/livekit/core-sdk/voice/android/{voice-host-interaction.md → host-interaction.md} +3 -5
  146. package/resource/knowledge/livekit/core-sdk/voice/android/{voice-integration.md → integration.md} +3 -6
  147. package/resource/knowledge/livekit/core-sdk/voice/flutter/{voice-co-guest-interaction.md → co-guest-interaction.md} +1 -2
  148. package/resource/knowledge/livekit/core-sdk/voice/flutter/{voice-integration.md → integration.md} +6 -9
  149. package/resource/knowledge/livekit/core-sdk/voice/ios/{voice-co-guest-interaction.md → co-guest-interaction.md} +2 -2
  150. package/resource/knowledge/livekit/core-sdk/voice/ios/{voice-host-interaction.md → host-interaction.md} +4 -6
  151. package/resource/knowledge/livekit/core-sdk/voice/ios/{voice-integration.md → integration.md} +1 -4
  152. package/resource/knowledge/livekit/preset/live/vue/features/barrage.md +0 -2
  153. package/resource/knowledge/push/api-reference/android.md +123 -0
  154. package/resource/knowledge/push/api-reference/flutter.md +176 -0
  155. package/resource/knowledge/push/api-reference/harmonyos.md +138 -0
  156. package/resource/knowledge/push/api-reference/ios.md +176 -0
  157. package/resource/knowledge/push/api-reference/react-native.md +147 -0
  158. package/resource/knowledge/push/api-reference/uni-app.md +147 -0
  159. package/resource/knowledge/push/api-reference/unity.md +119 -0
  160. package/resource/knowledge/push/api-reference/unreal-engine.md +123 -0
  161. package/resource/knowledge/push/config/android.md +4 -7
  162. package/resource/knowledge/push/config/harmonyos.md +0 -3
  163. package/resource/knowledge/push/config/ios.md +12 -20
  164. package/resource/knowledge/push/config/react-native.md +18 -26
  165. package/resource/knowledge/push/config/unity.md +20 -28
  166. package/resource/knowledge/push/config/unreal-engine.md +21 -29
  167. package/resource/knowledge/push/integration/android.md +6 -8
  168. package/resource/knowledge/push/integration/flutter.md +6 -9
  169. package/resource/knowledge/push/integration/harmonyos.md +1 -0
  170. package/resource/knowledge/push/integration/ios.md +7 -9
  171. package/resource/knowledge/push/integration/react-native.md +9 -13
  172. package/resource/knowledge/push/integration/uni-app.md +7 -7
  173. package/resource/knowledge/push/integration/unity.md +10 -13
  174. package/resource/knowledge/push/integration/unreal-engine.md +6 -9
  175. package/resource/knowledge/push/overview/prepare.md +2 -2
  176. package/resource/knowledge/roomkit/core-sdk/android/call-user-to-room.md +3 -3
  177. package/resource/knowledge/roomkit/core-sdk/android/capability-matrix.md +46 -0
  178. package/resource/knowledge/roomkit/core-sdk/android/room-participant-state.md +1 -1
  179. package/resource/knowledge/roomkit/core-sdk/android/room-state.md +2 -2
  180. package/resource/knowledge/roomkit/core-sdk/android/schedule-room.md +6 -6
  181. package/resource/knowledge/roomkit/core-sdk/android/unsupported-features.md +79 -0
  182. package/resource/knowledge/roomkit/core-sdk/flutter/capability-matrix.md +46 -0
  183. package/resource/knowledge/roomkit/core-sdk/flutter/room-participant-state.md +1 -1
  184. package/resource/knowledge/roomkit/core-sdk/flutter/unsupported-features.md +79 -0
  185. package/resource/knowledge/roomkit/core-sdk/ios/capability-matrix.md +46 -0
  186. package/resource/knowledge/roomkit/core-sdk/ios/room-participant-state.md +1 -1
  187. package/resource/knowledge/roomkit/core-sdk/ios/unsupported-features.md +79 -0
  188. package/resource/knowledge/roomkit/preset/android/integration.md +5 -7
  189. package/resource/knowledge/roomkit/preset/flutter/integration.md +2 -7
  190. package/resource/knowledge/roomkit/preset/ios/integration.md +3 -9
  191. package/resource/knowledge/roomkit/preset/react/integration.md +12 -16
  192. package/resource/knowledge/trtc/android/TRTCCloud.md +154 -238
  193. package/resource/knowledge/trtc/android/TRTCCloudDef.md +133 -134
  194. package/resource/knowledge/trtc/android/TRTCCloudListener.md +86 -120
  195. package/resource/knowledge/trtc/android/TRTCStatistics.md +10 -10
  196. package/resource/knowledge/trtc/android/TXAudioEffectManager.md +10 -30
  197. package/resource/knowledge/trtc/android/TXBeautyManager.md +25 -25
  198. package/resource/knowledge/trtc/android/TXDeviceManager.md +2 -2
  199. package/resource/knowledge/trtc/android/TXLiteAVCode.md +12 -12
  200. package/resource/knowledge/trtc/c++/ITRTCCloud.md +166 -261
  201. package/resource/knowledge/trtc/c++/ITRTCStatistics.md +12 -12
  202. package/resource/knowledge/trtc/c++/ITXAudioEffectManager.md +10 -30
  203. package/resource/knowledge/trtc/c++/ITXDeviceManager.md +9 -11
  204. package/resource/knowledge/trtc/c++/TRTCCloudCallback.md +96 -130
  205. package/resource/knowledge/trtc/c++/TRTCTypeDef.md +122 -123
  206. package/resource/knowledge/trtc/c++/TXLiteAVCode.md +12 -12
  207. package/resource/knowledge/trtc/ios/TRTCCloud.md +168 -255
  208. package/resource/knowledge/trtc/ios/TRTCCloudDef.md +124 -125
  209. package/resource/knowledge/trtc/ios/TRTCCloudDelegate.md +89 -124
  210. package/resource/knowledge/trtc/ios/TRTCStatistics.md +10 -10
  211. package/resource/knowledge/trtc/ios/TXAudioEffectManager.md +9 -28
  212. package/resource/knowledge/trtc/ios/TXBeautyManager.md +25 -25
  213. package/resource/knowledge/trtc/ios/TXDeviceManager.md +9 -11
  214. package/resource/knowledge/trtc/ios/TXLiteAVCode.md +12 -12
  215. package/server.js +21 -21
  216. package/tools/common/finalize_answer.js +1 -1
  217. package/tools/common/present_framework_choice.js +2 -2
  218. package/tools/common/search_trtc_knowledge.js +3 -3
  219. package/tools/common/submit_feedback.js +1 -1
  220. package/tools/definitions/get_native_live_uikit_integration_def.js +61 -0
  221. package/tools/definitions/get_native_livekit_core_integration_def.js +3 -3
  222. package/tools/definitions/present_framework_choice_def.js +2 -2
  223. package/tools/definitions/search_trtc_knowledge_def.js +5 -5
  224. package/tools/index.js +2 -0
  225. package/tools/live/get_native_live_uikit_integration.js +69 -0
  226. package/tools/live/get_native_livekit_core_integration.js +6 -6
  227. package/utils/report-cls-client.js +1 -1
  228. package/utils/report-es-client.js +1 -1
  229. package/resource/knowledge/callkit/preset/web/api.md +0 -83
  230. package/resource/knowledge/livekit/core-sdk/live/android/live-audio-effect.md +0 -226
  231. package/resource/knowledge/livekit/core-sdk/live/android/live-live-list.md +0 -438
  232. package/resource/knowledge/livekit/core-sdk/live/flutter/live-barrage.md +0 -490
  233. package/resource/knowledge/livekit/core-sdk/live/flutter/live-live-list.md +0 -726
  234. package/resource/knowledge/livekit/core-sdk/live/ios/live-audience-list.md +0 -264
  235. package/resource/knowledge/livekit/core-sdk/live/ios/live-audio-effect.md +0 -216
  236. package/resource/knowledge/livekit/core-sdk/live/ios/live-gift.md +0 -407
  237. package/resource/knowledge/livekit/core-sdk/live/ios/live-live-list.md +0 -349
  238. package/resource/knowledge/livekit/core-sdk/voice/android/voice-audience-list.md +0 -269
  239. package/resource/knowledge/livekit/core-sdk/voice/android/voice-barrage.md +0 -456
  240. package/resource/knowledge/livekit/core-sdk/voice/android/voice-gift.md +0 -455
  241. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-audience-list.md +0 -260
  242. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-audio-effect.md +0 -598
  243. package/resource/knowledge/livekit/core-sdk/voice/flutter/voice-gift.md +0 -424
  244. package/resource/knowledge/livekit/core-sdk/voice/ios/voice-barrage.md +0 -408
  245. /package/resource/knowledge/livekit/core-sdk/{live/android/live-audience-list.md → features/android/audience-list.md} +0 -0
  246. /package/resource/knowledge/livekit/core-sdk/{live/android/live-barrage.md → features/android/barrage.md} +0 -0
  247. /package/resource/knowledge/livekit/core-sdk/{live/android/live-base-beauty.md → features/android/base-beauty.md} +0 -0
  248. /package/resource/knowledge/livekit/core-sdk/{live/flutter/live-audience-list.md → features/flutter/audience-list.md} +0 -0
  249. /package/resource/knowledge/livekit/core-sdk/{live/flutter/live-base-beauty.md → features/flutter/base-beauty.md} +0 -0
  250. /package/resource/knowledge/livekit/core-sdk/{live/ios/live-barrage.md → features/ios/barrage.md} +0 -0
  251. /package/resource/knowledge/livekit/core-sdk/voice/android/{voice-co-guest-interaction.md → co-guest-interaction.md} +0 -0
@@ -0,0 +1,123 @@
1
+ ## TIMPush - PushManager
2
+
3
+ PushManager: Push Plugin Interface class
4
+
5
+ ### API Overview
6
+
7
+ #### Register/Unregister Push Service API
8
+
9
+ |API|Description|
10
+ |---------|---------|
11
+ |RegisterPush|Register push service (this API must be called to use push service only after the App user consents to the privacy policy).|
12
+ |UnRegisterPush|Disable push service.|
13
+ |SetRegistrationID|RegistrationID is the unique identifier of the push reception device. By default, it is automatically generated when push service registration succeeds, and you can also customize settings. Based on RegistrationID, you can push messages to the specified device. Notably, Uninstall and reinstall the device will change RegistrationID, so you need to call the setRegistrationID API before registering push service.|
14
+ |GetRegistrationID|After successfully registering push service, you can obtain the unique identifier ID of the push reception device, namely RegistrationID, by calling the getRegistrationID API. Based on RegistrationID, you can push messages to the specified device.|
15
+
16
+ #### Global Listening Interface for Push
17
+
18
+ |API|Description|
19
+ |---------|---------|
20
+ |AddPushListener|Add a Push Listener.|
21
+ |RemovePushListener|Remove a Push Listener.|
22
+
23
+ #### Custom Configuration API
24
+
25
+ |API|Description|
26
+ |---------|---------|
27
+ |ForceUseFCMPushChannel|Specify device offline push to use FCM channel, need to register push service before calling.|
28
+ |DisablePostNotificationInForeground|Disable pop-up notifications when the App is in the foreground.|
29
+
30
+ ### API Detail
31
+
32
+ #### Static Public Member Function
33
+
34
+ static PushManager* GetInstance(): Get the PushManager manager instance.
35
+
36
+ #### Member Function Description
37
+
38
+ ##### virtual void RegisterPush(int sdkAppId, const FString& appKey, PushValueCallback<FString>* callback) = 0;
39
+
40
+ To register the push service, transmit both parameters sdkAppId and appKey, and just register the push service.
41
+
42
+ Parameter description:
43
+ | Parameter | Description | Access Path |
44
+ | --- | --- | --- |
45
+ | sdkAppId | The IM console assigned the app ID to you. | |
46
+ | appKey | The IM console assigned the client key to you. | |
47
+
48
+ ##### virtual void UnRegisterPush(PushCallback* callback) = 0;
49
+
50
+ Unregister and disable push service.
51
+
52
+ ##### virtual void SetRegistrationID(const FString& registrationID, PushCallback* callback) = 0;
53
+
54
+ Set the push ID flag used for push service registration, i.e., RegistrationID, which needs to be called before registering the push service.
55
+
56
+ Parameter description:
57
+
58
+ |Parameter|Description|
59
+ |---------|---------|
60
+ |registrationID|The push unique identifier ID of the device may change after uninstall reinstall.|
61
+
62
+ ##### virtual void GetRegistrationID(PushValueCallback<FString>* callback) = 0;
63
+
64
+ After successful registration of push service, obtain the push ID flag, i.e., RegistrationID.
65
+
66
+ ##### virtual void AddPushListener(PushListener* listener) = 0;
67
+
68
+ Add a Push Listener
69
+
70
+ ##### virtual void RemovePushListener(PushListener* listener) = 0;
71
+
72
+ Remove a Push Listener
73
+
74
+ ##### virtual void ForceUseFCMPushChannel(bool enable) = 0;
75
+
76
+ Specify device offline push to use FCM channel, need to register push service before calling.
77
+
78
+ Parameter description:
79
+ | Parameter | Description |
80
+ | --- | --- |
81
+ | enable | - true: Use the FCM channel.<br>- false: Use the local machine channel. |
82
+
83
+ ##### virtual void DisablePostNotificationInForeground(bool disable) = 0;
84
+
85
+ Disable pop-up notifications in the Notification bar when the App is in the foreground. When the Push SDK receives an online push, it automatically adds a Notification prompt to the Notification bar. If you want to handle online push messages yourself, you can call this API to disable the automatic pop-up Notification bar feature.
86
+
87
+ Parameter description:
88
+ | Parameter | Description |
89
+ | --- | --- |
90
+ | disable | - true: It is disabled.<br>- false: It is enabled. |
91
+
92
+ ## PushListener
93
+
94
+ PushListener: Push Listener class
95
+
96
+ ### API Overview
97
+
98
+ |API|Description|
99
+ |---------|---------|
100
+ |OnRecvPushMessage|Push message received.|
101
+ |OnRevokePushMessage|Push message recall notification received.|
102
+ |OnNotificationClicked|Click notification bar message Webhook.|
103
+
104
+ ### API Detail
105
+
106
+ #### Member Function Description
107
+
108
+ ##### virtual void OnRecvPushMessage(const PushMessage& message) {}
109
+
110
+ Push message received. Message received.
111
+
112
+ ##### virtual void OnRevokePushMessage(const FString& messageID) {}
113
+
114
+ Push message recall notification received. messageID: unique message identifier.
115
+
116
+ ##### virtual void OnNotificationClicked(const FString& ext) {}
117
+
118
+ Click notification bar message Webhook.
119
+
120
+ > **Note:**
121
+ >
122
+ > Note: Push Certificate in the console need to configure "open specified in-app page" and use populate by default to take effect.
123
+ >
@@ -17,7 +17,6 @@ Explanation of the **Subsequent Actions** option:
17
17
 
18
18
  > **Note:**
19
19
  >
20
-
21
20
  > Each vendor only supports the configuration of one certificate.
22
21
  >
23
22
 
@@ -68,13 +67,12 @@ For receipt configuration, please refer to: [Message Delivery Statistics Configu
68
67
 
69
68
  > **Note:**
70
69
  >
71
-
72
70
  > Regarding **Click for Subsequent Actions** supports the Report Statistics feature:
73
71
  >
74
- > 1. If you choose to open an app or a web page, purchasing the plugin will by default support reporting statistics.
75
- > 2. If you choose to open a specified interface within the application:
76
- > - For new certificate status, please directly use the auto-fill default value to support click statistics reporting.
77
- > - If there was a certificate configured previously, continue using the old certificate and modify it to the default value to support reporting statistics, or regenerate a new certificate.
72
+ > 1. If you choose to open an app or a web page, purchasing the plugin will by default support reporting statistics.
73
+ > 2. If you choose to open a specified interface within the application:
74
+ > - For new certificate status, please directly use the auto-fill default value to support click statistics reporting.
75
+ > - If there was a certificate configured previously, continue using the old certificate and modify it to the default value to support reporting statistics, or regenerate a new certificate.
78
76
 
79
77
  ### About FCM Data Messaging
80
78
 
@@ -87,6 +85,5 @@ FCM provides two push methods: Notification Message and Data Messaging.
87
85
 
88
86
  > **Note:**
89
87
  >
90
-
91
88
  > FCM data messaging capability only supports TIMPush version 7.8 and above on pixel phones. Other manufacturers' devices need to be tested for support.
92
89
  >
@@ -1,6 +1,5 @@
1
1
  > **Note:**
2
2
  >
3
-
4
3
  > Each vendor only supports the configuration of one certificate.
5
4
  >
6
5
 
@@ -22,7 +21,6 @@
22
21
 
23
22
  > **Note:**
24
23
  >
25
-
26
24
  > Certificate request file (CSR) need to be applied for in DevEco Studio. For details, see [generate certificate request file](https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/ide-signing#section462703710326).
27
25
  >
28
26
 
@@ -38,7 +36,6 @@
38
36
 
39
37
  > **Note:**
40
38
  >
41
-
42
39
  > Note: For how to obtain UDID for different device types, please refer to [UDID Retrieval Method](https://developer.huawei.com/consumer/cn/doc/app/agc-help-add-device-0000001946142249#section67331926102911).
43
40
  >
44
41
 
@@ -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 ** 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.
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
- > - When uploading the push certificate, make sure that the Bundle ID matches the Bundle ID of your main app.
94
- > - We recommend naming the uploaded certificate in English (special characters such as brackets are not allowed).
95
- > - You need to set a password for the uploaded certificate. Without a password, push notifications cannot be received.
96
- > - For an app published on App Store, the environment of the certificate must be the production environment. Otherwise, push notifications cannot be received.
97
- > - The uploaded .p12 certificate must be your own authentic and valid certificate.
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** ID**.
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
- > - **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".
140
- > - **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.
141
- > - **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.
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``Service` to your existing AppID.
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
- > Your App's `Bundle ID` cannot use the wildcard `*`, otherwise, the remote push service cannot be used.
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
- > 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.
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
- > Note: Set the password when saving the `.p12` file.
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``Service` to your original AppID.
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
- > Note: The `Bundle ID` of your App cannot use wildcard `*`, otherwise the Remote Push Service will be unavailable.
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
- > 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.
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
- > When saving the `P12` file, ensure to set a password for it.
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``Service` to your original AppID.
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
- > Note: Your App's `Bundle ID` cannot use wildcard `*`, otherwise Remote Push Service will be unavailable.
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
- > 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.
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``P12` files for development and production environments respectively.
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
- > When saving a `P12` file, ensure to set password for it.
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
- > 3. It is recommended to place the registration callback timing in the onCreate() function of the application.
345
- > 4. 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.
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
- > 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.
404
- > 2. For the All/Tag Push feature, please refer to: [RESTful APIs - Initiate All/Tag Push](https://trtc.io/document/60561).
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).