All Products
Search
Document Center

Add SDK

Last Updated: May 25, 2021

This guide introduces how to integrate Mobile Gateway Service (MGS) to iOS client. You can integrate MGS to iOS client based on native project with CocoaPods.

Prerequisites

You have connected your project to mPaaS. For more information, see Access mPaaS based on native framework and using Cocoapods.

Add the SDK

Use CocoaPods plugin to add the MGS SDK. Complete the following steps:

  1. In the Podfile file, use mPaaS_pod "mPaaS_RPC" to add mobile gateway component dependencies.
    mgs_pod
  2. In the terminal, run pod install to complete access.

Follow-up steps

Use the SDK