All Products
Search
Document Center

Mobile Platform as a Service:Add SDK

Last Updated:Jun 23, 2021

This topic describes how to add the Diagnosis or PUSH SDK based on native project with CocoaPods.

The client diagnosis function allows you to pull logs through Sync or Push channel. You can select any one of the channels as needed and select the Diagnosis or PUSH module during access. Sync channel, which depends on the Mobile Sync Service, has a higher success rate on diagnosis instruction delivery. Push channel, which depends on the Message Push Service, requires that the users are online during diagnosis instruction delivery.

Prerequisites

You have completed the general access steps with reference to Connect to mPaaS based on native framework and use CocoaPods.

Add an SDK

The following content describes how to access the diagnosis feature based on different log pull methods.

Use Mobile Sync Service (Sync)

Configure mPaaS_pod "mPaaS_Diagnosis" in Podfile. For how to configure the Podfile file, see Connect to mPaaS based on native framework and use CocoaPods.

Use Message Push Service (Push)

Configure mPaaS_pod "mPaaS_Push" in Podfile. For how to configure the Podfile file, see Connect to mPaaS based on native framework and use CocoaPods.