setStatisticDomain

public static void setStatisticDomain(String domain)

Configures the data upload URL (optional).

By configuring this URL, the SDK will upload device-related information to the private cloud node during initialization. This affects the broadcast push functionality in the developer console. If private cloud customers do not configure this URL, clients will not receive push notifications sent from the console. Regular IM push notifications are not affected. Sets the data upload server URL. Supports setting URLs in the format of http://cn.xxx.com, https://cn.xxx.com, or cn.xxx.com. If set to cn.xxx.com, the SDK will assemble it into the http:// protocol format.

Since

5.0.0

Deprecated

This method is deprecated. Please use init

Parameters

domain

The domain name