fixed 1.3.1 add baidu sdk

This commit is contained in:
2024-10-09 10:25:02 +08:00
parent b671923241
commit 4919b650de
62 changed files with 12 additions and 538 deletions

View File

@@ -40,16 +40,6 @@ 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;
@@ -104,16 +94,6 @@ namespace AnyThinkAds.Api
reward_custom_data = jsonData.ContainsKey("reward_custom_data") ? (string)jsonData["reward_custom_data"] : "";
placement_type = jsonData.ContainsKey("placement_type") ? (int)jsonData["placement_type"] : 0;
shared_placement_id = jsonData.ContainsKey("shared_placement_id") ? (string)jsonData["shared_placement_id"] : "";
bid_floor = jsonData.ContainsKey("bid_floor") ? (string)jsonData["bid_floor"] : "";
dismiss_type = jsonData.ContainsKey("dismiss_type") ? (int)jsonData["dismiss_type"] : 0;
ad_source_type = jsonData.ContainsKey("ad_source_type") ? (int)jsonData["ad_source_type"] : 0;
ad_source_custom_ext = jsonData.ContainsKey("ad_source_custom_ext") ? (string)jsonData["ad_source_custom_ext"] : "";
network_name = jsonData.ContainsKey("network_name") ? (string)jsonData["network_name"] : "";
show_custom_ext = jsonData.ContainsKey("show_custom_ext") ? (string)jsonData["show_custom_ext"] : "";
e_c = jsonData.ContainsKey("e_c") ? (string)jsonData["e_c"] : "";
s_id = jsonData.ContainsKey("s_id") ? (int)jsonData["s_id"] : 0;
}
catch (System.Exception e) {
System.Console.WriteLine("Exception caught: {0}", e);
@@ -170,16 +150,6 @@ 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

@@ -69,7 +69,11 @@
}
NSString *defaultAdSourceConfig = extra[@"default_adSource_config"];
NSLog(@"ATSplashAdWrapper::extra = %@", extra);
[[ATAdManager sharedManager] loadADWithPlacementID:placementID extra:extra delegate:self containerView:nil];
[[ATAdManager sharedManager] loadADWithPlacementID:placementID
extra:extra
delegate:self
containerView:nil
defaultAdSourceConfig:defaultAdSourceConfig];
}

View File

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

View File

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

View File

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

View File

@@ -1,32 +0,0 @@
fileFormatVersion: 2
guid: 0054580ab849d45198549eac7a372bc9
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: 41fd5ba357e7340aebe1ca236589f66a
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: f0b382f66e3504619885af1ed69ee1c1
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: 7311500925e7344788fb99a2ef9e2e96
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: 950e2794885244e8798ebc0ed47f8874
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 +1,5 @@
fileFormatVersion: 2
guid: 1488d178aaa4f482ea8c309372694069
guid: ec4604cacfce649728dcb4eb73245314
folderAsset: yes
DefaultImporter:
externalObjects: {}

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: da98890a900e14accaef685984a61bd5
guid: 1eb5504d21825439e88a559575ad04cc
PluginImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: a3135f78bef1e464b80a119102c73984
guid: 5253fa9c3d29b454aadad0d01d335504
PluginImporter:
externalObjects: {}
serializedVersion: 2

View File

@@ -0,0 +1 @@
{"name":"baidu","version":"9.37","country":1,"path":"Assets/AnyThinkPlugin/Script/IntegrationManager/Editor/../../..//AnyThinkAds\\Plugins/Android/China/mediation/baidu"}

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: da8d95d91da49a246a7075e6b8f74cd4
guid: c8cc45ac0f487bd48a3f5dedce04bf4e
TextScriptImporter:
externalObjects: {}
userData:

View File

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

View File

@@ -1,32 +0,0 @@
fileFormatVersion: 2
guid: 92a9540d6c4824102995e4688aea7989
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: 6adb84ef6af8641e4b5a8d959f44d9d5
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: 0f4a0fb45277676429a81bc79f9252f1
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: f718cca21da6c364cb5b369d0bed9cff
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: e50d797179f3d284ab428f94ea344342
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: 668ce08287b77354d9d17d91dc8e7399
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

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

View File

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

View File

@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: faf88f547152a4fa0b48ea5d4e233b85
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.98" />
</iosPods>
</dependencies>

View File

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

View File

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

View File

@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: e9c9c9037adb147c6a23506e8d09da1d
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/AnyThinkGDTAdapter" version="6.2.98" />
</iosPods>
</dependencies>

View File

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

View File

@@ -1 +0,0 @@
{"name":"gdt","version":"4.14.70","country":1,"path":"Assets/AnyThinkPlugin/Script/IntegrationManager/Editor/../../..//AnyThinkAds\\Plugins/iOS/China/gdt"}

View File

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

View File

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

View File

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

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><dependencies>
<iosPods>
<iosPod name="AnyThinkGromoreSDKAdapter" version="6.2.98.1" />
<iosPod name="AnyThinkTTSDKAdapter_Mix" version="6.2.98.1" />
</iosPods>
</dependencies>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1 +0,0 @@
{"name":"kuaishou","version":"3.3.63","country":1,"path":"Assets/AnyThinkPlugin/Script/IntegrationManager/Editor/../../..//AnyThinkAds\\Plugins/iOS/China/kuaishou"}

View File

@@ -1,3 +0,0 @@
fileFormatVersion: 2
guid: ed74793b5ea74ddbaac678b7e6abd7cc
timeCreated: 1718347275

View File

@@ -1,3 +0,0 @@
fileFormatVersion: 2
guid: 6d1c76be99144a4881eca8fa4c07d306
timeCreated: 1718347284

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<dependencies>
<iosPods>
<iosPod name="AnyThinkDebugUISDK" version="1.0.1" />
</iosPods>
</dependencies>

View File

@@ -1,3 +0,0 @@
fileFormatVersion: 2
guid: 2a9fff2a9fb744b396d01b8e5468f041
timeCreated: 1718347303

View File

@@ -105,7 +105,7 @@ namespace Topon_Adapter.Editor
if (launcherElement == null)
{
//增加穿山甲配置
elementlauncherApplication.Add (CreateCSJGromore ());
// elementlauncherApplication.Add (CreateCSJGromore ());
}
var elementMainManifest = manifest.Element ("manifest");
@@ -116,7 +116,7 @@ namespace Topon_Adapter.Editor
if (mainElement == null)
{
//增加穿山甲配置
elementMainApplication.Add (CreateCSJGromore ());
// elementMainApplication.Add (CreateCSJGromore ());
}
// Save the updated manifest file.