39 Commits
1.3.6 ... 1.4.2

Author SHA1 Message Date
10a50a6f8b release: 1.4.2 2026-03-18 17:16:40 +08:00
40604ebe19 feat(topon): 优化主线程调用及增加控制器初始化配置支持
- ToponUnityThread新增初始化方法并封装主线程安全调用接口
- ADListenerAggregator中所有回调改用ToponUnityThread切换至主线程调用
- ToponAdController新增ToponControllerOptions配置支持,支持更多初始化参数
- 实现SDK初始化前后配置的应用,支持设置渠道、区域、经纬度等选项
- 支持初始化时自动检测区域并通过回调通知
- 新增ToponControllerOptions类,实现多种初始化参数来源解析和合并
- ShowAndroidTest方法根据DebuggerKey选择不同调试器UI展示模式
- 记录并公开最近一次区域检测结果及错误信息,方便外部查询和调试
2026-03-18 16:48:32 +08:00
5981631076 更新sdk 2026-03-18 15:52:02 +08:00
52bd0d8e48 修复debug包的maven地址 2025-07-18 16:03:24 +08:00
cefb29f596 升级topon android sdk 到最新版本, 创建版本迭代 1.4.0 2025-07-17 15:41:03 +08:00
a7bf415c8d 更新版本号至1.3.8,删除不再使用的mintegral和sigmob相关文件,优化AndroidManifest.xml配置以禁用备份功能。 2025-03-14 10:57:22 +08:00
dacf2e3e3f 更新Upm.bat脚本,增强错误处理和分支管理功能,确保在创建upm分支时检查Assets文件夹的存在性,并将版本号更新至1.3.7。 2025-03-13 18:16:10 +08:00
421c0b96e3 更新Upm.bat脚本以支持UTF-8编码,添加分支管理和强制推送功能,同时将版本号更新至1.3.6。 2025-03-13 18:05:30 +08:00
4421d7c2e8 更新Upm.bat脚本以从package.json中提取版本号,并将版本号更新至1.3.5,确保提交前检查tag是否已存在。 2025-03-13 17:59:04 +08:00
936cc138e0 升级debugger-ui版本至1.1.0 2025-03-13 17:54:39 +08:00
f9097e1e8c 更新广告平台至最新平台 2025-03-13 17:53:09 +08:00
81d55a534f 升级topon sdk版本2.1.5, 升级平台插件版本至最新 2025-03-13 17:49:41 +08:00
3d31d2023b update core 2024-10-09 15:57:12 +08:00
e5e397e520 update core 1.3.2 2024-10-09 15:56:50 +08:00
6d7cb4d65e update core 2024-10-09 10:28:05 +08:00
3d2c777a38 fixed 1.3.1 add baidu sdk 2024-10-09 10:25:02 +08:00
d12c65d17f fixed 1.3.1 2024-09-30 21:56:17 +08:00
b2e5ef291d 更新版本 2024-09-30 00:49:46 +08:00
2e21c47442 1.2.9 2024-09-28 20:01:50 +08:00
0034f802c9 update core 2024-09-09 17:06:08 +08:00
292cc58792 update core 2024-09-09 16:35:41 +08:00
2d2f297ebc 升级sdk平台版本 2024-09-09 16:35:06 +08:00
0f2acf4508 update 2.1.3 2024-09-09 15:59:47 +08:00
9a6c006139 update core 2024-06-14 15:25:09 +08:00
db8cfaf5f0 update core 2024-06-14 15:18:59 +08:00
8ef3040443 update core 2024-06-14 15:02:10 +08:00
b87dd858be 增加对IOS 平台的支持完善 2024-06-14 14:53:44 +08:00
58676681d8 update Ios 2024-06-13 11:43:45 +08:00
383f02a19d 移除旧aar文件 2024-06-05 15:12:43 +08:00
abeafaffc8 升级sdk至 2.1.1 2024-06-05 15:09:03 +08:00
d09e25b3fb update core 2024-03-13 18:01:42 +08:00
829038ff46 update core 2024-03-13 16:34:18 +08:00
1418be4295 update 1.1.25 2024-03-13 16:26:53 +08:00
d20f1ce60c update 1.1.25 2024-03-12 02:21:41 +08:00
1a9e55a8a3 update 1.1.25 2024-03-12 02:17:14 +08:00
5a00a4438a update 1.1.25 2024-03-09 20:11:59 +08:00
73f4004e79 update 1.1.25 2024-03-09 18:42:02 +08:00
25869c7e6a update 1.1.25 2024-03-09 18:18:03 +08:00
aa9954b91a update 1.1.25 2024-03-07 15:23:32 +08:00
468 changed files with 5314 additions and 4795 deletions

View File

@@ -1,150 +0,0 @@
//
// ATBaseUnityWrapper.m
// UnityContainer
//
// Created by Martin Lau on 08/08/2018.
// Copyright © 2018 Martin Lau. All rights reserved.
//
#import "ATBaseUnityWrapper.h"
#import "ATUnityUtilities.h"
@interface ATBaseUnityWrapper()
@property(nonatomic, readonly) NSMutableDictionary<NSString*, NSValue*> *callbacks;
@property(nonatomic, readonly) dispatch_queue_t callbackAccessQueue;
@end
@implementation ATBaseUnityWrapper
+(instancetype) sharedInstance {
return nil;
}
-(instancetype) init {
self = [super init];
if (self != nil) {
_callbacks = [NSMutableDictionary<NSString*, NSValue*> dictionary];
_callbackAccessQueue = dispatch_queue_create("com.anythink.UnityPackage", DISPATCH_QUEUE_CONCURRENT);
}
return self;
}
-(void) setCallBack:(void (*)(const char *, const char *))callback forKey:(NSString *)key {
__weak ATBaseUnityWrapper* weakSelf = self;
if (callback != NULL && [key length] > 0)
dispatch_barrier_async(_callbackAccessQueue, ^{
weakSelf.callbacks[key] = [NSValue valueWithPointer:(void*)callback];
});
}
-(void) removeCallbackForKey:(NSString *)key {
__weak ATBaseUnityWrapper* weakSelf = self;
if ([key length] > 0)
dispatch_barrier_async(_callbackAccessQueue, ^{
[weakSelf.callbacks removeObjectForKey:key];
});
}
-(void(*)(const char*, const char *)) callbackForKey:(NSString*)key {
__block void(*callback)(const char*, const char *) = NULL;
if ([key length] > 0) {
__weak ATBaseUnityWrapper* weakSelf = self;
dispatch_barrier_sync(_callbackAccessQueue, ^{
callback = (void(*)(const char*, const char *))[weakSelf.callbacks[key] pointerValue];
});
}
return callback;
}
-(NSString*)scriptWrapperClass {
return @"";
}
- (id)selWrapperClassWithDict:(NSDictionary *)dict callback:(void(*)(const char*, const char*))callback {
return nil;
}
-(void) invokeCallback:(NSString*)callback placementID:(NSString*)placementID error:(NSError*)error extra:(NSDictionary*)extra {
if ([self callbackForKey:placementID] != NULL) {
if ([callback isKindOfClass:[NSString class]] && [callback length] > 0) {
NSMutableDictionary *paraDict = [NSMutableDictionary dictionaryWithObject:callback forKey:@"callback"];
NSMutableDictionary *msgDict = [NSMutableDictionary dictionary];
if (![ATUnityUtilities isEmpty:extra]) {
// SDK user_load_extra_data
if (extra[kATUnityUserExtraDataKey] != nil) {
NSMutableDictionary *extraDictM = [NSMutableDictionary dictionaryWithDictionary:extra];
NSMutableDictionary *extraDataTemp = [NSMutableDictionary dictionary];
NSMutableDictionary *extraDataDictM = [NSMutableDictionary dictionaryWithDictionary:extra[kATUnityUserExtraDataKey]];
for (NSString *key in extraDataDictM.allKeys) {
if ([extraDataDictM[key] isKindOfClass:[NSString class]] || [extraDataDictM[key] isKindOfClass:[NSNumber class]]) {
[extraDataTemp setValue:extraDataDictM[key] forKey:key];
}
}
if ([extraDataTemp count]) {
[extraDictM setValue:extraDataTemp forKey:kATUnityUserExtraDataKey];
} else {
[extraDictM removeObjectForKey:kATUnityUserExtraDataKey];
}
extra = extraDictM;
}
if (extra[@"extra"] != nil) {
msgDict[@"extra"] = extra[@"extra"];
msgDict[@"rewarded"] = extra[@"rewarded"];
} else {
msgDict[@"extra"] = extra;
}
}
paraDict[@"msg"] = msgDict;
if ([placementID isKindOfClass:[NSString class]] && ![ATUnityUtilities isEmpty:placementID]) {
msgDict[@"placement_id"] = placementID;
};
if ([error isKindOfClass:[NSError class]]) {
NSMutableDictionary *errorDict = [NSMutableDictionary dictionaryWithObject:[NSString stringWithFormat:@"%ld", error.code] forKey:@"code"];
if (![ATUnityUtilities isEmpty:error.userInfo[NSLocalizedDescriptionKey]]) {
errorDict[@"desc"] = [NSString stringWithFormat:@"%@",error.userInfo[NSLocalizedDescriptionKey]];
} else {
errorDict[@"desc"] = @"";
}
if (![ATUnityUtilities isEmpty:error.userInfo[NSLocalizedFailureReasonErrorKey]]) {
errorDict[@"reason"] = [NSString stringWithFormat:@"%@",error.userInfo[NSLocalizedFailureReasonErrorKey]];
} else {
errorDict[@"reason"] = @"";
}
msgDict[@"error"] = errorDict;
}
[self callbackForKey:placementID]([self scriptWrapperClass].UTF8String, paraDict.jsonString.UTF8String);
}
}
}
- (NSArray *)jsonStrToArray:(NSString *)jsonString{
NSError *error;
NSArray *array = [NSArray array];
@try {
NSData *jsonData = [jsonString dataUsingEncoding:NSUTF8StringEncoding];
array = [NSJSONSerialization JSONObjectWithData:jsonData
options:NSJSONReadingMutableContainers
error:&error];
if(error){
return [NSArray array];
}
} @catch (NSException *exception) {
NSLog(@"jsonStrToArray --- exception:%@",exception);
} @finally {}
return array;
}
@end

View File

@@ -1,5 +0,0 @@
<dependencies>
<androidPackages>
<androidPackage spec="com.android.support:appcompat-v7:28.0.0"/>
</androidPackages>
</dependencies>

View File

@@ -1,3 +0,0 @@
fileFormatVersion: 2
guid: 51a89bd698bd46358af7ea78f5245d04
timeCreated: 1693816810

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<dependencies>
<androidPackages>
<repositories>
<repository>https://artifact.bytedance.com/repository/pangle</repository>
</repositories>
<androidPackage spec="com.pangle.cn:mediation-sdk:5.8.0.7"/>
</androidPackages>
</dependencies>

View File

@@ -1,3 +0,0 @@
fileFormatVersion: 2
guid: aed17cf9003947689bdd0e379dc9c087
timeCreated: 1693815837

View File

@@ -1,32 +0,0 @@
fileFormatVersion: 2
guid: 8e1455b7aa64746c8b9f3e6054db6dfb
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Android: Android
second:
enabled: 1
settings: {}
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,5 +0,0 @@
<dependencies>
<androidPackages>
<androidPackage spec="com.android.support:design:28.0.0"/>
</androidPackages>
</dependencies>

View File

@@ -1,32 +0,0 @@
fileFormatVersion: 2
guid: e86cd321b94404f92b07b2426514b866
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Android: Android
second:
enabled: 1
settings: {}
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,32 +0,0 @@
fileFormatVersion: 2
guid: c197c43ada2e54fc4a670a522dc93842
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Android: Android
second:
enabled: 1
settings: {}
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,8 +0,0 @@
<dependencies>
<androidPackages>
<androidPackage spec="io.reactivex.rxjava2:rxjava:2.0.1"/>
<androidPackage spec="io.reactivex.rxjava2:rxandroid:2.0.1"/>
<androidPackage spec="com.squareup.okhttp3:okhttp:3.12.1"/>
<androidPackage spec="com.github.bumptech.glide:glide:4.9.0"/>
</androidPackages>
</dependencies>

View File

@@ -1,32 +0,0 @@
fileFormatVersion: 2
guid: 9df4c961fa9384cc8aea7952d253d8ea
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Android: Android
second:
enabled: 1
settings: {}
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,32 +0,0 @@
fileFormatVersion: 2
guid: 1cd2c80f8f7fa46fc8c053600e333fd4
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Android: Android
second:
enabled: 1
settings: {}
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 152120babfc0c47eda2ca1811b8fdba6
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><dependencies>
<iosPods>
<iosPod name="AnyThinkiOS" version="6.2.81" />
</iosPods>
</dependencies>

View File

@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 6e6c11a31d760484e807c56acbfdeae2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><dependencies>
<iosPods>
<iosPod name="AnyThinkGDTSDKAdapter" version="6.2.88.1" />
</iosPods>
</dependencies>

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: f21806e689b064f65aa0fd683db0d968
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 90aec42e9f3124004a0b4508d571866e
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><dependencies>
<iosPods>
<iosPod name="AnyThinkiOS/AnyThinkKuaiShouAdapter" version="6.2.88" />
<iosPod name="SDWebImage" />
</iosPods>
</dependencies>

View File

@@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: cd72f2a8b68a442f9a784999739ff3fe
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 0b1601c425ae3b24e9764462dbbe5359
guid: 6cfab85a96ec246bdb411450b546b791
folderAsset: yes
DefaultImporter:
externalObjects: {}

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: ae70ff20f73a04e91b4e6bb12d7adc69
guid: 39b8ca55bc9e749d1ab7d1ea31d40661
folderAsset: yes
DefaultImporter:
externalObjects: {}

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 9b60b708af5e340558538fb89bf1ad69
guid: b85e8925fa22644f1803fbdc727149ba
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 3b97598ecf1ac41ae8a6e0eee94608f4
guid: 303b96d7e38d241d895947db76a77868
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: fae71ee84b92049808278fa6136d7df6
guid: e25052682a99b4f11b9ccda0a98ec1ce
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -40,6 +40,16 @@ namespace AnyThinkAds.Api
public readonly int abtest_id;
public readonly string reward_custom_data;
public readonly int placement_type;
public readonly string shared_placement_id;
public readonly string bid_floor;
public readonly int dismiss_type;
public readonly int ad_source_type;
public readonly string ad_source_custom_ext;
public readonly string network_name;
public readonly string show_custom_ext;
public readonly string e_c;
public readonly int s_id;
private string callbackJson;
@@ -94,6 +104,16 @@ namespace AnyThinkAds.Api
reward_custom_data = jsonData.ContainsKey("reward_custom_data") ? (string)jsonData["reward_custom_data"] : "";
placement_type = int.Parse(jsonData.ContainsKey("placement_type") ? jsonData["placement_type"].ToString() : "0");
shared_placement_id = jsonData.ContainsKey("shared_placement_id") ? jsonData["shared_placement_id"].ToString() : "";
bid_floor = jsonData.ContainsKey("bid_floor") ? jsonData["bid_floor"].ToString() : "";
dismiss_type = int.Parse(jsonData.ContainsKey("dismiss_type") ? jsonData["dismiss_type"].ToString() : "0");
ad_source_type = int.Parse(jsonData.ContainsKey("ad_source_type") ? jsonData["ad_source_type"].ToString() : "0");
ad_source_custom_ext = jsonData.ContainsKey("ad_source_custom_ext") ? jsonData["ad_source_custom_ext"].ToString() : "";
network_name = jsonData.ContainsKey("network_name") ? jsonData["network_name"].ToString() : "";
show_custom_ext = jsonData.ContainsKey("show_custom_ext") ? jsonData["show_custom_ext"].ToString() : "";
e_c = jsonData.ContainsKey("e_c") ? jsonData["e_c"].ToString() : "";
s_id = int.Parse(jsonData.ContainsKey("s_id") ? jsonData["s_id"].ToString() : "0");
}
catch (System.Exception e) {
System.Console.WriteLine("Exception caught: {0}", e);
@@ -150,6 +170,16 @@ namespace AnyThinkAds.Api
dataDictionary.Add("custom_rule", custom_rule);
dataDictionary.Add("ext_info", ext_info);
dataDictionary.Add("reward_custom_data", reward_custom_data);
dataDictionary.Add("placement_type", placement_type);
dataDictionary.Add("shared_placement_id", shared_placement_id);
dataDictionary.Add("bid_floor", bid_floor);
dataDictionary.Add("dismiss_type", dismiss_type);
dataDictionary.Add("ad_source_type", ad_source_type);
dataDictionary.Add("ad_source_custom_ext", ad_source_custom_ext);
dataDictionary.Add("network_name", network_name);
dataDictionary.Add("show_custom_ext", show_custom_ext);
dataDictionary.Add("e_c", e_c);
dataDictionary.Add("s_id", s_id);
return dataDictionary;
}

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 2c93c0c14cd404be996bcf059100b463
guid: ebf4bf9c5f1a54007a31d4a19a30835c
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 6b26a8704722c46babeea74f3987c69d
guid: fc541fdcbb9254973a14d8aa4f305201
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 56dcbba2145654405b16127bddded05a
guid: e06efbc55c798478a941850f6726fdbb
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 61212f78425314ddf82ce67401332cbc
guid: 9b7e6ef35d34e47d79856f3e737b5a04
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 8eb2c48fff706415897ff05ee871d29b
guid: 5417f30bdb0e84db696652694de24b55
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 5f82d7548575e4785813857cc3af2560
guid: 1e59697f061674b95b6fc11bf3eb570a
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 1556c57dc2f9145beb17f8971ffc7d54
guid: 6f74e005d6e184ccdbd0582232cfb896
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 36fdba1e893634f0e996c56f9aaf8af4
guid: 63ff9b48e554f481b84df35718d2082c
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 985c207868dc84dd8a02d16d2d203bdd
guid: ea594e5e65c2b44d581e5bbf6e46d2df
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 5dfea32a3220f4ff0b52af1e0c9f0f37
guid: c7e39d0f92be94036b0c3361002bdb6d
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 449f93d5988674ac0bf3d01fce8b40af
guid: e02adf55e190948ba8238cbbb8e649d6
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: a3cfc0715bf4e418c8185e81824a3951
guid: e977ada5558a4440ab4096ec189d66c3
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 9452d40d6d58a443a9de0a893dcd23c5
guid: 2ff7b39d30d2f48c7886af12676d5dca
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -46,10 +46,14 @@ namespace AnyThinkAds.Api{
this.y = y;
this.width = width;
this.height = height;
this.usesPixel = false;
this.backgroundColor = backgroundColor;
this.textColor = textColor;
this.textSize = textSize;
#if UNITY_ANDROID
this.usesPixel = true;
#else
this.usesPixel = false;
#endif
}
}
}

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 907d2c40069d74e4497ac4259e61a0b4
guid: 33288477361ec4906b2f2b90af9afe74
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -21,15 +21,18 @@ namespace AnyThinkAds.Api
this.y = y;
this.width = width;
this.height = height;
this.usesPixel = false;
}
public int x = 0;
public int y = 0;
public int width = 0;
public int height = 0;
public bool usesPixel = false;
// public bool usesPixel = false;
#if UNITY_ANDROID
public bool usesPixel = true;
#else
public bool usesPixel = false;
#endif
}
public class ATSize
@@ -45,11 +48,15 @@ namespace AnyThinkAds.Api
{
this.width = width;
this.height = height;
this.usesPixel = false;
}
public int width = 0;
public int height = 0;
public bool usesPixel = false;
#if UNITY_ANDROID
public bool usesPixel = true;
#else
public bool usesPixel = false;
#endif
}
}

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 3785b3f4f63d441b9964d109ad0c0eb1
guid: 2f4d9eae1b90142ca8004116a3e4c869
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 765e71648fb324c22af60e7d4269b7f5
guid: 6d40b4678e713487ab21c87b284165e9
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 11dc3169fecba4718a711508c79ff3ea
guid: 8e666f918e4a54255ae6d45c5ed483c0
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 899c4c12dc20d4847b2c902dbc6d083d
guid: c2a8b39939a6e4561b49ec08c9648efa
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -17,6 +17,12 @@ namespace AnyThinkAds.Api
void didGetUserLocation(int location);
}
public interface ATConsentDismissListener
{
void onConsentDismiss();
}
public interface ATGetAreaListener
{
void onArea(string area);
@@ -87,6 +93,11 @@ namespace AnyThinkAds.Api
client.showDebuggerUI();
}
public static void showDebuggerUI(string debugKey)
{
client.showDebuggerUI(debugKey);
}
public static void setGDPRLevel(int level)
{
client.setGDPRLevel(level);
@@ -130,6 +141,11 @@ namespace AnyThinkAds.Api
client.showGDPRAuth();
}
public static void showGDPRConsentDialog(ATConsentDismissListener listener)
{
client.showGDPRConsentDialog(listener);
}
public static void setLogDebug(bool isDebug)
{
client.setLogDebug(isDebug);

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 5459d05d6e7d74bddbfdfd593624c02a
guid: 2668d385cd9ef4bc385b0c1487756d84
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: d638f5a77e3fb44589978034d550ae48
guid: 92bd41ae21ada4f13ba4f646fe8d8e87
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 8a239d301e22f4ab9bb1fab7a8b7be3a
guid: 6599afb4d52b14fa098f43f1d01be850
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 303f9d84876fe468d8800abe78fc59c1
guid: e99f46e9ff2ba49338673e9655a6b494
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c9068fed3449f4957a31b2704d38d9c4
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 633d8b3f9110c494a953d1ba65eddf84
guid: 03106b07c17e248179d51e195b5ea505
PluginImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 9ded34532e9f04a199738e82a8f7ca89
guid: 5e27cbd650c5b4fd280cfda2125e9f1f
folderAsset: yes
DefaultImporter:
externalObjects: {}

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 481cb536df3414d5996de09dc3d93f27
guid: 4a56939c11661429c8c335f2d2bff40b
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: ea61e5a90a3874a97bb25388556a634f
guid: 14b00b8f6583c413eae808eee303e12e
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: cb52de4904a0241deacbc13164605b9a
guid: 9411630d83c58412abdd159e43d90142
MonoImporter:
externalObjects: {}
serializedVersion: 2

Some files were not shown because too many files have changed in this diff Show More