diff --git a/Runtime/Code/Config/GuruSDKInitConfig.cs b/Runtime/Code/Config/GuruSDKInitConfig.cs index df86a33..d7c6f3d 100644 --- a/Runtime/Code/Config/GuruSDKInitConfig.cs +++ b/Runtime/Code/Config/GuruSDKInitConfig.cs @@ -2,6 +2,7 @@ namespace Guru { using System.Collections.Generic; using System.Text; + using System; /// /// 启动参数配置 /// @@ -28,6 +29,10 @@ namespace Guru /// public string CustomServiceKey = ""; /// + /// DeepLink 回调 + /// + public Action OnDeeplinkCallback; + /// /// Banner 背景颜色 Hex 值 /// public string BannerBackgroundColor = "#00000000"; diff --git a/Runtime/Code/SDK/GuruSDK.cs b/Runtime/Code/SDK/GuruSDK.cs index 3f5dcc6..f43f487 100644 --- a/Runtime/Code/SDK/GuruSDK.cs +++ b/Runtime/Code/SDK/GuruSDK.cs @@ -94,6 +94,7 @@ namespace Guru bool autoRecordFinishedLevels = true, bool debugMode = false, bool isBuyNoAds = false, + Action onDeeplinkCallback = null, string bannerColor = "#00000000", Dictionary defaultRemoteData = null, byte[] googleKeys = null,