36 Commits

Author SHA1 Message Date
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
c7873052f2 update 1.0.22 2024-01-23 03:07:14 +08:00
77cdb14ea5 update sdk version 2024-01-23 03:06:45 +08:00
3eaf8bc789 update 21 2023-12-11 21:14:05 +08:00
950569ee05 1.0.20 2023-11-24 16:16:55 +08:00
1da26e1d74 update sdk version 2023-11-24 16:10:52 +08:00
caf057bb97 1.0.19 2023-11-19 16:21:55 +08:00
41f75ad3d0 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	Assets/package.json
2023-11-19 16:20:53 +08:00
c07a7e5f4a 1.0.18 2023-11-19 16:20:19 +08:00
120d3315fc 1.0.17 2023-11-07 18:54:01 +08:00
5a24a3292c 1.0.16 2023-10-19 18:00:10 +08:00
9a8096f347 版本号更新 1.0.15 2023-10-19 15:49:37 +08:00
0f760ca1a5 update core 2023-10-19 15:45:11 +08:00
4ec2560f30 升级sdk
gromore => 5.6.1.0
Android => 5.2.72
2023-10-19 15:31:19 +08:00
Foldcc_Book
1d22a3dae0 1.0.12 2023-10-12 05:42:18 +08:00
Foldcc_Book
75730fb783 1.0.11 2023-10-12 05:20:31 +08:00
Foldcc_Book
38c9cabad2 1.0.10 2023-10-12 04:08:33 +08:00
423 changed files with 3766 additions and 4457 deletions

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.6.0.8"/>
</androidPackages>
</dependencies>

View File

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

View File

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

View File

@@ -1,32 +0,0 @@
fileFormatVersion: 2
guid: 727c8d0c38d5c45698625e7047fa202f
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: edd3f0c5204174a9c90fe7fd5df5a017
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: 7c811f47b950b4838a64832d816e897d
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,8 +0,0 @@
fileFormatVersion: 2
guid: b533b0baca6984f16a738a8aa8e025e1
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

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

View File

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

View File

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

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.51" />
<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: 219a4269ecae84c4e9d5b84de8b992de
guid: b85e8925fa22644f1803fbdc727149ba
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
using System.Collections;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using AnyThinkAds.ThirdParty.LitJson;
@@ -36,7 +36,7 @@ namespace AnyThinkAds.Api
public readonly Dictionary<string, object> custom_rule;
public readonly Dictionary<string, object> ext_info;
public readonly string user_load_extra_data;
public readonly Dictionary<string, object> user_load_extra_data;
public readonly int abtest_id;
public readonly string reward_custom_data;
@@ -79,10 +79,11 @@ namespace AnyThinkAds.Api
abtest_id = int.Parse(jsonData.ContainsKey("abtest_id") ? jsonData["abtest_id"].ToString() : "0");
segment_id = int.Parse(jsonData.ContainsKey("segment_id") ? jsonData["segment_id"].ToString() : "0");
scenario_id = jsonData.ContainsKey("scenario_id") ? (string)jsonData["scenario_id"] : "";// RewardVideo & Interstitial
if (jsonData.ContainsKey("user_load_extra_data")) {
user_load_extra_data = jsonData.ContainsKey("user_load_extra_data") ? (string)jsonData["user_load_extra_data"] : "";
user_load_extra_data = JsonMapper.ToObject<Dictionary<string, object>>(jsonData["user_load_extra_data"].ToJson());
}
scenario_reward_name = jsonData.ContainsKey("scenario_reward_name") ? (string)jsonData["scenario_reward_name"] : "";
scenario_reward_number = int.Parse(jsonData.ContainsKey("scenario_reward_number") ? jsonData["scenario_reward_number"].ToString() : "0");

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 7472931a01bd34107842d9baa5edf262
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: e4ce4b4690b764fcd9a5bdba6c7a48b8
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: 8ce958c2c0a294f85981fc0d7efd277e
guid: 2f4d9eae1b90142ca8004116a3e4c869
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 3c71cf6d83ff4406db7ed141066a54d3
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);
@@ -82,6 +88,16 @@ namespace AnyThinkAds.Api
client.initSDK(appId, appKey, listener);
}
public static void showDebuggerUI()
{
client.showDebuggerUI();
}
public static void showDebuggerUI(string debugKey)
{
client.showDebuggerUI(debugKey);
}
public static void setGDPRLevel(int level)
{
client.setGDPRLevel(level);
@@ -125,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: 17ae30f8263a149fc8eba30dad68d0f0
guid: 2668d385cd9ef4bc385b0c1487756d84
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 10be2707423e74e678bcee7dff04f3d7
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: 19407568a6ed74bcc83f3f2850b9ea1e
guid: 5610a4cc6ac3c4582aeccc7efb203153
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: 7bfb781b1a104468281d3a841725635c
guid: 4a56939c11661429c8c335f2d2bff40b
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

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

View File

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

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: e2d102c3a980f472fa20811ed609d085
guid: 617b2801ea6ff4304bb9e0ad2e6d0f0f
MonoImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: f2275de4a621e46b2b6a157d2c35ed7e
guid: 272c430785265455c8a91a9749aea93f
MonoImporter:
externalObjects: {}
serializedVersion: 2

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