Compliance guide for the Simple Log Service (SLS) SDK

Updated at:

The Simple Log Service (SLS) SDK is a third-party SDK. When you use it in your app, you must meet personal information protection requirements and avoid infringing on end users' personal information rights. This guide explains what you must disclose in your privacy policy and how to configure the SLS SDK during integration to meet regulatory compliance requirements.

SDK privacy policy disclosure example

Important: You must inform users that you use the SLS SDK. Add the following reference terms to your privacy policy.

SDK name: Simple Log Service (SLS) SDK

Purpose of use: Perform statistical analysis of app data

Operator: Alibaba Cloud Computing Co., Ltd.

Types of personal information collected: Device information, network information, application information (application name/application version number), and carrier information

Privacy Policy URL: SLS SDK Privacy Policy

Add these terms to your privacy policy. Display the privacy policy in a pop-up before the app runs for the first time, and obtain the end user's consent.

When to initialize the SDK and call business functions

On first launch, call the relevant APIs only after the user agrees to the privacy policy in your app and uses a function that the SLS SDK provides. Unless necessary, do not collect device information immediately after the user agrees to the privacy policy, to avoid excessive or premature collection. To configure the [TODO: confirm - information collection API name], see the Android integration guide or the iOS integration guide in the Appendix. In the document guide, select Information Collection.

System permissions requested by the SDK

Android application permissions:

Permission

Required

Purpose

When to request

INTERNET

Yes

Provides network access permissions; without this permission, SDK functions are unavailable.

Before calling the information collection API

ACCESS_NETWORK_STATE

Yes

Obtains information about the device's network status.

Before calling the information collection API

iOS application permissions:

Permission

Required

Purpose

When to request

NSLocalNetworkUsageDescription

Yes

Obtains connectivity information about devices on the local area network to detect risks such as device farms and coordinated device control.

Before calling the information collection API

The following Objective-C example for iOS shows the initialization timing described in the When to initialize the SDK and call business functions section. credentials and configuration are the objects that you prepare when you integrate the SLS SDK. For details, see the iOS integration guide in the Appendix.

// Pre-initialization: Features work normally, but sensitive information is not collected.
[[SLSCocoa sharedInstance] preInit:credentials configuration:configuration];

// After the user reads your Privacy Policy and grants authorization, call the formal initialization method.
[[SLSCocoa sharedInstance] initialize:credentials configuration:configuration];

Appendix