App Monitor SDK compliance guide (iOS)

更新时间:
复制 MD 格式
Note

In accordance with the Personal Information Protection Law, the Data Security Law, the Cybersecurity Law, and other relevant regulations, app developers and operators (developers) must respect and protect the personal information of end users when providing products and services. Developers are prohibited from collecting or using personal information in violation of these regulations. This compliance guide is designed to help developers who use the Mobile Monitoring SDK meet personal information protection requirements and safeguard the rights of end users.

App Monitor SDK system permissions

Permission

Required

Purpose

INTERNET

Yes

The basic permission that allows the SDK to connect to the internet. It is used to report app performance, crash, and custom log data.

App Monitor SDK features and personal information

Feature

Personal information collected

Purpose of collection

Configuration and example

Basic features

Network type, device information (including operating system version, CPU architecture, device model, screen resolution, and language), and carrier (name and country)

Generates app performance, crash, and custom logs. This provides useful information for troubleshooting.

Not applicable

Configuring optional personal information fields in the Mobile APM SDK

Optional personal information field

Purpose of collection

Configuration and example

Not applicable

Not applicable

Not applicable

Compliant initialization for the App Monitor SDK

@interface EAPMApm : NSObject

/**
 * Starts application performance management (APM) with the specified options.
 *
 * @param options Configuration options.
 */
+ (void)startWithOptions:(EAPMOptions *)options;
Important
  • Ensure that the end user agrees to the Privacy Policy before you call the `[EAPMApm startWithOptions]` method.

Code example

    EAPMOptions *options = [[EAPMOptions alloc] initWithAppKey:@"Your AppKey"
                                                     appSecret:@"Your AppSecret"];
    options.appRsaSecret = @"Your AppRsaSecret";
    // The following sdkComponents correspond to Crash Analytics, App Performance Analytics, and Remote Log Access. Remove the components you do not need.
    options.sdkComponents = @[[EAPMCrashAnalysis class], [EAPMPerformance class], [EAPMRemoteLog class]];
    
    [EAPMApm startWithOptions:options];
    
    return YES;