tencent cloud

Chat

제품 소개
제품 개요
Basic Concepts
응용 시나리오
기능 소개
계정 시스템
사용자 정보 및 관계망
메시지 관리
그룹 시스템
Official Account
Audio/Video Call
사용 제한
구매 가이드
과금 개요
요금 안내
Purchase Instructions
Renewal Guide
연체 안내
Refund Policy
다운로드 센터
SDK & Demo 소스 코드
업데이트 로그
시나리오 솔루션
Live Streaming Setup Guide
AI Chatbot
대규모 엔터테인먼트 협업 커뮤니티
Discord 구현 가이드
IM을 게임에 통합하는 방법
WhatsApp Channel-style Official Account Integration Solution
Send Red Packet
Firewall Restrictions
클라이언트 APIs
SDK API(Web)
Android
iOS & macOS
Swift
Flutter
Electron
Unity
React Native
C APIs
C++
서버 APIs
Secure authentication with UserSig
RESTful APIs
Webhooks
콘솔 가이드
New Console Introduction
애플리케이션 생성 및 업그레이드
기본 설정
기능 설정
계정 관리
그룹 관리
Official Channel Management
콜백 설정
모니터링 대시보드
Viewing Guide for Resource Packages
Real-Time Monitor
개발 보조 툴
액세스 관리
Advanced Features
FAQ
uni-app FAQs
구매
SDK 관련 질문
계정 인증
사용자 정보 및 관계망
메시지
그룹
라이브 방송 그룹
닉네임 및 프로필 사진
협약 및 인증
Service Level Agreement
컴플라이언스 인증
IM 정책
개인 정보 보호 정책
데이터 개인 정보 보호 및 보안 계약
에러 코드
문의하기
문서Chat

HarmonyOS

포커스 모드
폰트 크기
마지막 업데이트 시간: 2025-08-22 14:28:23

HarmonyOS Console Configuration

Step 1: Enabling the Push Service

1. Log in to AppGallery Connect, select Develop and Services on the homepage, choose the corresponding project, and click Enable Now to enable the push service.


2. In the project setting, search for "Push" on the API management tab and enable the push service.


Step 2: Certificate and Signature Application

1. Certificate application: You must apply for a debug certificate in the debug stage, and apply for a release certificate in the release stage.
Log in to AppGallery Connect, select Certificates, APP ID and Profile.

Select Certificates, APP ID and Profile in the left sidebar, choose Certificate, then click Add Certificate on the Certificate page.

In the pop-up "Add Certificate" window, fill in the applied certificate information and click Submit.

Note:
Certificate request file (CSR) need to be applied for in DevEco Studio. For details, see generate certificate request file.
After a successful application, the certificate management page displays the certificate name and other information. Click Download to save the generated certificate to your local directory for subsequent debug signature usage.
2. Register debug device (required during debug stage only)
Log in to AppGallery Connect, select Certificates, APP ID and Profile.

Select Certificates, APP ID and Profile in the left sidebar, choose Device, then enter the Device page.

To add a single device, click Add Device in the upper right corner, fill in the device information in the popup window, then click Submit once completed.

Note:
Note: For how to obtain UDID for different device types, please refer to UDID Retrieval Method.
3. Profile file application: You must apply for a debug profile file in the debug stage, and apply for a release profile file in the release stage.
Log in to AppGallery Connect, select Certificates, APP ID and Profile.

Select Profile in the left sidebar, then click Add.

On the Add Profile page, enter the application name, profile name and other required information, then click Add once all information is provided.

4. Manual signing.
Configure the SecretKey (.p12) file, applied debug certificate (.cer) file, and debug Profile (.p7b) file in DevEco Studio. In the File > Project Structure > Project > Signing Configs window, uncheck "Automatically generate signature" (if it is a HarmonyOS app, check "Support HarmonyOS"), then configure the project's signature information.


Step 3: Create an IM Console Certificate Credential

1. Log in to the API Console, click My APIs in the sidebar on the left side of the page. Ensure push service is available under the project name. If not, click Apply for new HMS API service on the right.

2. Click in the left sidebar API service > Credential, then click Create credential under Service account key.

3. Fill in the required fields and click Create public/private key. Create and download the JSON file. The downloaded file is exactly your Service Account credential file.

4. Save the downloaded file for IM Console Configuration usage.

Step 4: Apply for Scenario-Based Rights and Interests

Push Kit supports various scenario-based message types. Among them, certain scenario-based message types require you to apply for special rights and interests for normal sending, such as Chat message type scenarios.
Log in to AppGallery Connect, select Develop and Services, click Push Service, and on the Configuration page, click to apply for self-categorization benefits. Follow the prompts to apply and activate. For detailed introduction, refer to Push Scenario-Based Message Benefits.


Chat Console Configuration

1. Log in to Chat Console, go to the Chat > Push > Access Settings page, and click Add Certificate to create a certificate.

2. Select the certificate credential generated in Procedure 3 above and upload it to the newly added HarmonyOS certificate.

3. Click subsequent actions
Open app: Click the notification bar message to pull up the application homepage by default.
Open specified in-app page: After receiving a push message, click the notification bar. The component will Webhook this click event and offline message pass-through.
4. After adding a certificate, the IM console will allocate a certificate ID for you to access and use.



도움말 및 지원

문제 해결에 도움이 되었나요?

피드백