Add an SDK

Updated at:

This topic describes how to integrate the mobile gateway component into a HarmonyOS NEXT client. You can add the mobile gateway SDK to an existing project using the ohpmrc method.

Prerequisites

  • Before adding the mobile gateway SDK, ensure that your project is connected to mPaaS. For more information, see Connect to mPaaS.

  • The mppm plugin is installed. For more information, see Install the mppm tool.

Add the SDK

When you run the mppm init and mppm sdk commands, select the Mobile Gateway option.