set Statistic Domain
Configures the data upload URL (optional).
If this URL is configured, the SDK will upload device-related information to the private cloud node during initialization. This affects the broadcast push functionality in the developer backend. If private cloud customers do not configure this URL, clients will not receive push notifications sent from the backend. Ordinary IM push notifications are not affected. Sets the data upload server URL. It supports URLs in the format of http://cn.xxx.com, https://cn.xxx.com, or cn.xxx.com. If set as cn.xxx.com, the SDK will assemble it into the http:// protocol format.
Deprecated
This method is deprecated. Please use init
Parameters
domain
The domain name