update 2.1.3

This commit is contained in:
2024-09-09 15:59:47 +08:00
parent 9a6c006139
commit 0f2acf4508
17 changed files with 158 additions and 96 deletions

View File

@@ -163,6 +163,7 @@ namespace AnyThinkAds
public void setWXStatus(bool install) { }
public void setLocation(double longitude, double latitude) { }
public void showDebuggerUI() {}
public void showDebuggerUI(string debugKey) {}
}
class UnityBannerClient:IATBannerAdClient

View File

@@ -153,7 +153,7 @@ namespace AnyThinkAds.Android
try{
if (bannerHelperMap.ContainsKey(placementId)) {
this.bannerHelperMap[placementId].Call ("showBannerAd", rect.x, rect.y, rect.width, rect.height, mapJson);
this.bannerHelperMap[placementId].Call ("showBannerAd", rect.x, rect.y, rect.width, rect.height, mapJson, rect.usesPixel);
}
}catch(System.Exception e){
System.Console.WriteLine("Exception caught: {0}", e);

View File

@@ -373,11 +373,15 @@ namespace AnyThinkAds.Android
}
public void showDebuggerUI() {
showDebuggerUI("");
}
public void showDebuggerUI(string debugKey) {
try
{
if (this.sdkInitHelper != null)
{
this.sdkInitHelper.Call("showDebuggerUI");
this.sdkInitHelper.Call("showDebuggerUI", debugKey);
}
}
catch (System.Exception e)

View File

@@ -200,5 +200,10 @@ namespace AnyThinkAds.iOS {
Debug.Log("Unity:ATSDKAPIClient::showDebuggerUI()");
ATManager.showDebuggerUI();
}
public void showDebuggerUI(string debugKey)
{
//TODO 待iOS支持线上测试的SDK版本上线
}
}
}