Skip to main content

Check Universal Link [MSDK Only]

[MSDK Only] Starting from MSDK V 5.11, a self-check function is added to help developers troubleshoot issues encountered during SDK integration.Currently only supported for the WeChat channel test environment.This feature cannot be used in production environments.

Supported Platforms

Supports Android, iOS platform.

Function Definition

void CheckUniversalLink(string channel,  string subChannel = "",  string extraJson = "");

Input Parameters

ParametersTypeDescription
channelstringChannel Name
Currently only WeChat channel is supported
subChannelstringSub-channel Name
extraJsonstringExtended information

Callback Handling

The callback processing interface is GUABaseResultObservers.The callback data structure is GUABaseResult.

The callback event is LoginBaseResultEvents. The callback methodID is GUA_ACCOUNT_CHECK_UL.

Code Example

UnionAdapterAPI.GetAccountService().CheckUniversalLink("WeChat");