目录

Getting Started

Development Environment

Supported Devices

Device Type

OS Version

iPhone

iOS 10 or later

Development Process

Follow the steps in the following process when you develop an app.

Step

Description

Creating an App

Register as a Huawei developer, create an app, configure app information, and set a data processing location in AppGallery Connect.

Preparing the Credentials for the iOS Push Agent

Generate an authentication key and generate an APNs certificate. If you have the credential, skip this step.

Enabling the iOS Push Agent

Enable the iOS push agent in AppGallery Connect.

Integrating the HMS Core SDK

If you are using Xcode, add a configuration file to your Xcode project and then integrate the SDK using CocoaPods or manually.

Obtaining a Token

Obtain a push token.

Sending a Message

Send a message to the iOS app through AppGallery Connect or the Push Kit server APIs.

(Optional) Reporting a Message Delivery Event

Call the message event reporting method to report an event. View the reported data details in AppGallery Connect.