release: 1.4.2

This commit is contained in:
2026-03-18 17:16:40 +08:00
parent 40604ebe19
commit 10a50a6f8b
9 changed files with 260 additions and 5 deletions

View File

@@ -103,6 +103,19 @@ public class ToponAdController : IAdController
return;
}
if (options.InitCustomMap != null && options.InitCustomMap.Count > 0)
{
ATSDKAPI.initCustomMap(options.InitCustomMap);
}
var rewardedPlacementId = _adConfig?.BaseAwardAdKeyValue?.value;
if (!string.IsNullOrWhiteSpace(rewardedPlacementId) &&
options.RewardedCustomData != null &&
options.RewardedCustomData.Count > 0)
{
ATSDKAPI.setCustomDataForPlacementID(options.RewardedCustomData, rewardedPlacementId);
}
if (!string.IsNullOrWhiteSpace(options.Channel))
{
ATSDKAPI.setChannel(options.Channel);