You've already forked Commercialization.topon
Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3761057b3e | |||
| 30da59caa8 | |||
| bc0f1d72c1 | |||
| c56a4667ae | |||
| da2d233cee | |||
| c7873052f2 | |||
| 77cdb14ea5 | |||
| 3eaf8bc789 | |||
| 950569ee05 | |||
| 1da26e1d74 | |||
| caf057bb97 | |||
| 41f75ad3d0 | |||
| c07a7e5f4a | |||
| 120d3315fc | |||
| 5a24a3292c | |||
| 9a8096f347 | |||
| 0f760ca1a5 | |||
| 4ec2560f30 | |||
|
|
1d22a3dae0 |
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 219a4269ecae84c4e9d5b84de8b992de
|
||||
guid: c75a10c31aaa348b4a030c4caabc60bd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c8137f9ecda484f4f82280927f6cc6d3
|
||||
guid: 002e19684018e4c0287914f3970da311
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 82a2859cc834c4a2f92c6497ca4ffa5f
|
||||
guid: b9db3427a8881406f9b7da625247c0e4
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d71af2c579e014d268a0dfa493b7b42a
|
||||
guid: 70dd039af17f84740841c936f5021082
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 96cb1512452b44892ab41a110737bc6f
|
||||
guid: 357112570f17745ec8287700969b5857
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c23fcd22e05664d73ba39e69a58fdfdb
|
||||
guid: f397e1571653b4f909de35ecd27e25a6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 88edb880a748a4df7be4481415e44907
|
||||
guid: baba4e8729e3d4e99bb742620b957127
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9b93dd6d343c0473193c776c1ba89ec8
|
||||
guid: 401f3f72eaa384ecebf7fb06d380c9f3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d2b539b7c0e104683ad9789e63c426c1
|
||||
guid: 987cbef3a8a42464e9fe32624f08ec82
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5ec858a9445e344c6ae02b731012d297
|
||||
guid: f5a6614e3827f44edb1c7a5412cf6863
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 220e014333c6840fc89f951639f5deba
|
||||
guid: 9dddccc0f4402419eba44458d9075782
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a2c5ed4e8516545f0838dddae9200f2f
|
||||
guid: 52d5dd611a7ba4e8ca6c688ad4987bb5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 863e49baa0bfb4c899f6d1591f126aeb
|
||||
guid: 6f645156118af4f77934a7b79743cb00
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c4cf0c99e1e574b3aa6d4a1a46daf9da
|
||||
guid: eaad21e4abd854be3a34341ea0118fa7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3f89a8b127b7346a7a27be7bf6cdc2a1
|
||||
guid: 884e06e3cad554df0af477f0211fd97e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7472931a01bd34107842d9baa5edf262
|
||||
guid: 3f2571c1daafd47a4a9b39d148e67184
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e4ce4b4690b764fcd9a5bdba6c7a48b8
|
||||
guid: dae05acc2ea674329944023bb798f046
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8ce958c2c0a294f85981fc0d7efd277e
|
||||
guid: 911d845f67e694a038cc2d85c86329d6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5feccd0a003ab4defba25cd4e3f9e870
|
||||
guid: 07584f2ac39714cafbf91dc3f7199f37
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a1e0f021a24cc491eb4f054d576982f7
|
||||
guid: 88a35eb670a0e4da2978eda939b8d14d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3c71cf6d83ff4406db7ed141066a54d3
|
||||
guid: 167fb755fd59444ef864ebabd898ff7b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -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,11 @@ namespace AnyThinkAds.Api
|
||||
client.initSDK(appId, appKey, listener);
|
||||
}
|
||||
|
||||
public static void showDebuggerUI()
|
||||
{
|
||||
client.showDebuggerUI();
|
||||
}
|
||||
|
||||
public static void setGDPRLevel(int level)
|
||||
{
|
||||
client.setGDPRLevel(level);
|
||||
@@ -125,6 +136,11 @@ namespace AnyThinkAds.Api
|
||||
client.showGDPRAuth();
|
||||
}
|
||||
|
||||
public static void showGDPRConsentDialog(ATConsentDismissListener listener)
|
||||
{
|
||||
client.showGDPRConsentDialog(listener);
|
||||
}
|
||||
|
||||
public static void setLogDebug(bool isDebug)
|
||||
{
|
||||
client.setLogDebug(isDebug);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 17ae30f8263a149fc8eba30dad68d0f0
|
||||
guid: 01222258a75e14c76a2b7803c24cd0ee
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 57b3ce41b10cf46cbb2e5a082691be6d
|
||||
guid: 8c85ccef2c75348d2a824173f5c6641c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5989e268b2acc4d0dafdbe2ddbf0dd4b
|
||||
guid: c5196f0fee3834f3f9a1728ed2f57b13
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 10be2707423e74e678bcee7dff04f3d7
|
||||
guid: d16e9791f346240b58344d4d6372b4fc
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7bfb781b1a104468281d3a841725635c
|
||||
guid: cb4b69d48493d4554a5c5fa5c5339f39
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 33f1ceabaff3f4892a39bf63a74352b7
|
||||
guid: b50fc48df837a46fe8cbe86f4eae7ffd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9fd119e79e8154f6e885622336dd50f7
|
||||
guid: cee7c1bbb0ef941d188379c77d780457
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e2d102c3a980f472fa20811ed609d085
|
||||
guid: c27b85cb143584d0ba8801179cbaea43
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f2275de4a621e46b2b6a157d2c35ed7e
|
||||
guid: a30e2e904b2b74a0eb28f19bd328f5b7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 87ae11b5cac0f4dbbb559cfed9dc531b
|
||||
guid: 9be0d831a3fc3460b8f295348f4d5a1c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1c8f90439b6de4b25b7fc5e8d62ec895
|
||||
guid: 9eb74e818b581419b867c18f564accfa
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -9,9 +9,11 @@ namespace AnyThinkAds.Common
|
||||
{
|
||||
void initSDK(string appId, string appKey);
|
||||
void initSDK(string appId, string appKey, ATSDKInitListener listener);
|
||||
void showDebuggerUI();
|
||||
void getUserLocation(ATGetUserLocationListener listener);
|
||||
void setGDPRLevel(int level);
|
||||
void showGDPRAuth();
|
||||
void showGDPRConsentDialog(ATConsentDismissListener listener);
|
||||
void addNetworkGDPRInfo(int networkType, string mapJson);
|
||||
void setChannel(string channel);
|
||||
void setSubChannel(string subchannel);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 833dc348e2c4648f08a4791990328b24
|
||||
guid: 43b209adee5c64bce84d3188ebc0f0b1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 59530a01ad60b463e8097f851649c20d
|
||||
guid: 4f7a8598d743e4ba882400e6f205c5dc
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -146,6 +146,7 @@ namespace AnyThinkAds
|
||||
public void getUserLocation(ATGetUserLocationListener listener){ }
|
||||
public void setGDPRLevel(int level){ }
|
||||
public void showGDPRAuth(){ }
|
||||
public void showGDPRConsentDialog(ATConsentDismissListener listener){ }
|
||||
public void addNetworkGDPRInfo(int networkType, string mapJson){ }
|
||||
public void setChannel(string channel){ }
|
||||
public void setSubChannel(string subchannel){ }
|
||||
@@ -161,7 +162,7 @@ namespace AnyThinkAds
|
||||
public void getArea(ATGetAreaListener listener) { }
|
||||
public void setWXStatus(bool install) { }
|
||||
public void setLocation(double longitude, double latitude) { }
|
||||
|
||||
public void showDebuggerUI() {}
|
||||
}
|
||||
|
||||
class UnityBannerClient:IATBannerAdClient
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7cfc618d1f344493aa2c430c0ff5e8c3
|
||||
guid: cbcf690f571ee45478aae3f6ef73b46d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eadc3c4bb3f0f4260b1a97ff1d4c1cf7
|
||||
guid: 80e0331161ce748b684c7b3465890805
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 92e8455090a784b949bd67df1b3fc530
|
||||
guid: 8e468840b1c864035bf7429b6f79c60f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 10ff201c4f54b4fce8f22229037070c4
|
||||
guid: 09704d4a9a249454ca28515f8dfd3a07
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
25
AnyThinkAds/Platform/Android/ATGDPRConsentDismissListener.cs
Normal file
25
AnyThinkAds/Platform/Android/ATGDPRConsentDismissListener.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using AnyThinkAds.Api;
|
||||
|
||||
namespace AnyThinkAds.Android
|
||||
{
|
||||
public class ATGDPRConsentDismissListener : AndroidJavaProxy
|
||||
{
|
||||
ATConsentDismissListener mListener;
|
||||
public ATGDPRConsentDismissListener(ATConsentDismissListener listener): base("com.anythink.unitybridge.sdkinit.SDKConsentDismissListener")
|
||||
{
|
||||
mListener = listener;
|
||||
}
|
||||
|
||||
public void onConsentDismiss()
|
||||
{
|
||||
if (mListener != null)
|
||||
{
|
||||
mListener.onConsentDismiss();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6e5096ebc4e1742698452ec60f74b58b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3a5faa4e142aa43dbba381b1cef1eb7b
|
||||
guid: c6f71db9f63744a59be5df53303a706b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3f9a8f81e02c94851a16c544a4f2bca9
|
||||
guid: ddf8d9d3b1ebb4f21b2c2c3e02b5845e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7739e5e9b404f44fc8d2079f8f8a5423
|
||||
guid: f0ac44483a8564e5d9428ed8267d913b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3e7ad1dcac86142608df799cdeefe124
|
||||
guid: dd1ce5cf512924c57846d8f3f379fcf8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bc7832ca770c84f96ac1401368abb7dc
|
||||
guid: cd0149348eca7449f8cbc48ab9e2498c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f8d0bdf7098d34eb28d38fba39a47b0c
|
||||
guid: 7c61d4a12a1bc4447a211961cc6867ac
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -85,6 +85,21 @@ namespace AnyThinkAds.Android
|
||||
}
|
||||
}
|
||||
|
||||
public void showGDPRConsentDialog(ATConsentDismissListener listener)
|
||||
{
|
||||
Debug.Log ("showGDPRConsentDialog....");
|
||||
ATGDPRConsentDismissListener gdprConsentDismissListener = new ATGDPRConsentDismissListener(listener);
|
||||
try{
|
||||
if (this.sdkInitHelper != null) {
|
||||
this.sdkInitHelper.Call ("showGDPRConsentDialog", gdprConsentDismissListener);
|
||||
}
|
||||
}catch(System.Exception e){
|
||||
System.Console.WriteLine("Exception caught: {0}", e);
|
||||
Debug.Log ("ATSDKAPIClient : error."+e.Message);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public void setChannel(string channel)
|
||||
{
|
||||
Debug.Log("setChannel....");
|
||||
@@ -357,5 +372,19 @@ namespace AnyThinkAds.Android
|
||||
}
|
||||
}
|
||||
|
||||
public void showDebuggerUI() {
|
||||
try
|
||||
{
|
||||
if (this.sdkInitHelper != null)
|
||||
{
|
||||
this.sdkInitHelper.Call("showDebuggerUI");
|
||||
}
|
||||
}
|
||||
catch (System.Exception e)
|
||||
{
|
||||
System.Console.WriteLine("Exception caught: {0}", e);
|
||||
Debug.Log("ATSDKAPIClient : error." + e.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 245e7a5e922934f43a6484d5f0189a91
|
||||
guid: 574bd4316cdbf4b118c89ffa1e5f086d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 20290a905405e463f823d9c16043cee3
|
||||
guid: 078be7445a3c3461a811882dd62c1602
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fc5aeee813f974653b6b9947425ec275
|
||||
guid: e574a07ae76c342a8bdc1dea719b9ad9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b16f7157dd7a84fbfa1a693d79e37e3e
|
||||
guid: 83d182fe17f2f414987f2538906c20e5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3c3f95e41f96d41ff9911a95ecbbabbb
|
||||
guid: d6530769c410e488cb8d3a16a70551fb
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 56333631c280443b98fed2a60d160ec6
|
||||
guid: cf2ded1709e664d5a8b2f75a9e16dca4
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d7cd2abf09bb54cdca25de4b6f4e4375
|
||||
guid: b84fb181c2949404bb596489b45717c9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -12,6 +12,8 @@ namespace AnyThinkAds.iOS {
|
||||
static private ATGetUserLocationListener locationListener;
|
||||
static private ATGetAreaListener areaListener;
|
||||
|
||||
static private ATConsentDismissListener umpListener;
|
||||
|
||||
public ATSDKAPIClient () {
|
||||
Debug.Log("Unity:ATSDKAPIClient::ATSDKAPIClient()");
|
||||
}
|
||||
@@ -43,6 +45,13 @@ namespace AnyThinkAds.iOS {
|
||||
return 0;
|
||||
}
|
||||
|
||||
[MonoPInvokeCallback(typeof(Func<string, int>))]
|
||||
static public int DidUMP(string location)
|
||||
{
|
||||
if (umpListener != null) { umpListener.onConsentDismiss(); }
|
||||
return 0;
|
||||
}
|
||||
|
||||
[MonoPInvokeCallback(typeof(Func<string, int>))]
|
||||
static public int GetAreaInfo(string msg)
|
||||
{
|
||||
@@ -81,10 +90,17 @@ namespace AnyThinkAds.iOS {
|
||||
|
||||
public void showGDPRAuth() {
|
||||
Debug.Log("Unity:ATSDKAPIClient::showGDPRAuth()");
|
||||
ATManager.ShowGDPRAuthDialog();
|
||||
// ATManager.showGDPRAuth();
|
||||
}
|
||||
|
||||
public void setPurchaseFlag() {
|
||||
public void showGDPRConsentDialog(ATConsentDismissListener listener)
|
||||
{
|
||||
Debug.Log("Unity:ATSDKAPIClient::showGDPRConsentDialog()");
|
||||
ATSDKAPIClient.umpListener = listener;
|
||||
ATManager.showGDPRConsentDialog(DidUMP);
|
||||
}
|
||||
|
||||
public void setPurchaseFlag() {
|
||||
ATManager.setPurchaseFlag();
|
||||
}
|
||||
|
||||
@@ -177,5 +193,12 @@ namespace AnyThinkAds.iOS {
|
||||
Debug.Log("Unity:ATSDKAPIClient::setLocation()");
|
||||
ATManager.setLocation(longitude, latitude);
|
||||
}
|
||||
|
||||
//iOS显示Debugger UI
|
||||
public void showDebuggerUI()
|
||||
{
|
||||
Debug.Log("Unity:ATSDKAPIClient::showDebuggerUI()");
|
||||
ATManager.showDebuggerUI();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 91865ac680a7f418dbed624b52784e38
|
||||
guid: b6985e2d8821a4acaaa03772b2679da3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ff13e06039d104e3e9c3cb155b8f4ecd
|
||||
guid: a127654c3c9934294aa3dad0d5d01bc8
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 006a9c4ef70b04aef9da361757c85f85
|
||||
guid: 329be1a5f047c4064b83e8e227cab255
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e2fe4e1278a9f407e9bf696affcfc594
|
||||
guid: 51884bd21fdee4c22861d1f2e3737ef5
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 11af4b916b2164725bf8a13dd2fbdb37
|
||||
guid: f7e50faa4b66a45d4beb3292142bbbe3
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ac1a4622946d34f26bfcafd57efac5c3
|
||||
guid: b43a0ea2add1e42719661c1efe22f6f0
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e2eb6428e9bec4bee97e52b2151768c4
|
||||
guid: e41c93f1d65af414a870503c680c33b6
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
NSMutableDictionary *extraDataTemp = [NSMutableDictionary dictionary];
|
||||
NSMutableDictionary *extraDataDictM = [NSMutableDictionary dictionaryWithDictionary:extra[kATUnityUserExtraDataKey]];
|
||||
for (NSString *key in extraDataDictM.allKeys) {
|
||||
if ([extraDataDictM[key] isKindOfClass:[NSString class]] || [extraDataDictM[key] isMemberOfClass:[NSNumber class]]) {
|
||||
if ([extraDataDictM[key] isKindOfClass:[NSString class]] || [extraDataDictM[key] isKindOfClass:[NSNumber class]]) {
|
||||
[extraDataTemp setValue:extraDataDictM[key] forKey:key];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aa9e3a5ce2adc4eb9b9cd4d2bc9abe47
|
||||
guid: 42a35ed2985164a3b945006b76e367cb
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7cdfdc46112824f91b18635724af738b
|
||||
guid: dc580f04ce67f437a88461f335105325
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e534e371fd98645f0857baf8dec95667
|
||||
guid: 98379c144cb4f4245b6a80c423c55ffa
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 896e8a703a8574fb48be91021abe3031
|
||||
guid: 3f378118b531c4a4fa06102812235b02
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -200,8 +200,7 @@ UIEdgeInsets SafeAreaInsets_ATUnityNative() {
|
||||
kATNativeAdConfigurationContextNetworkLogoViewFrameKey:[NSValue valueWithCGRect:CGRectMake(CGRectGetWidth(configuration.ADFrame) - 54.0f, CGRectGetHeight(configuration.ADFrame) - 18.0f, 54.0f, 18.0f)]
|
||||
};
|
||||
|
||||
|
||||
ATNativeAdOffer *offer = [[ATAdManager sharedManager] getNativeAdOfferWithPlacementID:placementID];
|
||||
ATNativeAdOffer *offer = [[ATAdManager sharedManager] getNativeAdOfferWithPlacementID:placementID scene:extraDict[kATUnityUtilitiesAdShowingExtraScenarioKey]];
|
||||
|
||||
ATNativeSelfRenderView *selfRenderView = [self getSelfRenderViewOffer:offer withMetrics:parsedMetrics];
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4d00f3756b49d4f5cbc15a35d7282721
|
||||
guid: 3bcd29d3da90a41f294ae578bab3af13
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ea80a2164caa74a8bb294b02bae5e928
|
||||
guid: 118f33a76ed81440280824ff7513bb12
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8952ba4c07a0b4860b6142e05374013c
|
||||
guid: 9bdc3e67b94b143a8821f928dec0de4b
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e19c1c56c316a4ce297fdfcce8318378
|
||||
guid: f823a545ce85344148ea239596a83a50
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 455260d2805d443fb928d88d1ee38d33
|
||||
guid: 23b3dce638f4b485c93f9fb2fa809d88
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6b3d7c39097da4302b4de8c9415a5f44
|
||||
guid: b0d6519543b154bc396006aff1bf5247
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1d17f3acf1ffb4fa9abed493f1c1623b
|
||||
guid: 273cc637a0e864629bf318f9aeea45cd
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 98f8cf843a9a84838958bd1fe16f3fa4
|
||||
guid: 4b8ab3430763f48c999ef3f68eec1aee
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -101,6 +101,8 @@ char * at_get_string_message_for_unity(const char *msg, void(*callback)(const ch
|
||||
return [NSNumber numberWithBool:[self subjectToGDPR]];
|
||||
} else if ([selector isEqualToString:@"presentDataConsentDialog"]) {
|
||||
[self presentDataConsentDialog];
|
||||
} else if ([selector isEqualToString:@"showGDPRConsentDialog:"]) {
|
||||
[self showGDPRConsentDialog:callback];
|
||||
} else if ([selector isEqualToString:@"getUserLocation:"]) {
|
||||
[self getUserLocation:callback];
|
||||
} else if ([selector isEqualToString:@"setPurchaseFlag"]) {
|
||||
@@ -141,6 +143,8 @@ char * at_get_string_message_for_unity(const char *msg, void(*callback)(const ch
|
||||
[self setWXStatus:firstObject];
|
||||
} else if ([selector isEqualToString:@"setLocationLongitude:dimension:"]) {
|
||||
[self setLocationLongitude:[NSNumber numberWithDouble:firstObject.doubleValue] dimension:[NSNumber numberWithDouble:lastObject.doubleValue]];
|
||||
} else if ([selector isEqualToString:@"showDebuggerUI"]) {
|
||||
[self showDebuggerUI];
|
||||
}
|
||||
return nil;
|
||||
}
|
||||
@@ -160,6 +164,12 @@ char * at_get_string_message_for_unity(const char *msg, void(*callback)(const ch
|
||||
}];
|
||||
}
|
||||
|
||||
-(void) showGDPRConsentDialog:(void(*)(const char*))callback {
|
||||
[[ATAPI sharedInstance] showGDPRConsentDialogInViewController:[UIApplication sharedApplication].delegate.window.rootViewController dismissalCallback:^{
|
||||
if (callback != NULL) { callback(@"".UTF8String); }
|
||||
}];
|
||||
}
|
||||
|
||||
-(void) getUserLocation:(void(*)(const char*))callback {
|
||||
[[ATAPI sharedInstance] getUserLocationWithCallback:^(ATUserLocation location) {
|
||||
if (callback != NULL) { callback(@(location).stringValue.UTF8String); }
|
||||
@@ -228,27 +238,28 @@ char * at_get_string_message_for_unity(const char *msg, void(*callback)(const ch
|
||||
*
|
||||
*/
|
||||
-(void) setDataConsent:(NSString*)consentJsonString network:(NSNumber*)network {
|
||||
NSLog(@"constenJsonString = %@, network = %@", consentJsonString, network);
|
||||
NSDictionary *networks = @{@1:kATNetworkNameFacebook, @2:kATNetworkNameAdmob, @3:kATNetworkNameInmobi, @4:kATNetworkNameFlurry, @5:kATNetworkNameApplovin, @6:kATNetworkNameMintegral, @8:kATNetworkNameGDT, @9:kATNetworkNameChartboost, @10:kATNetworkNameTapjoy, @11:kATNetworkNameIronSource, @12:kATNetworkNameUnityAds, @13:kATNetworkNameVungle, @14:kATNetworkNameAdColony, @1:kATNetworkNameOneway, @18:kATNetworkNameMobPower, @20:kATNetworkNameYeahmobi, @21:kATNetworkNameAppnext, @22:kATNetworkNameBaidu};
|
||||
if ([networks containsObjectForKey:network]) {
|
||||
if (([consentJsonString isKindOfClass:[NSString class]] && [consentJsonString dataUsingEncoding:NSUTF8StringEncoding] != nil)) {
|
||||
NSDictionary *consentDict = [NSJSONSerialization JSONObjectWithData:[consentJsonString dataUsingEncoding:NSUTF8StringEncoding] options:NSJSONReadingAllowFragments error:nil];
|
||||
_consentInfo[networks[network]] = [consentDict containsObjectForKey:@"value"] ? consentDict[@"value"] : consentDict;
|
||||
} else {
|
||||
[_consentInfo removeObjectForKey:networks[network]];
|
||||
}
|
||||
NSLog(@"consentInfo = %@", _consentInfo);
|
||||
if ([_consentInfo[kATNetworkNameMintegral] isKindOfClass:[NSDictionary class]]) {
|
||||
NSMutableDictionary<NSNumber*, NSNumber*>* mintegralInfo = [NSMutableDictionary<NSNumber*, NSNumber*> dictionary];
|
||||
[_consentInfo[kATNetworkNameMintegral] enumerateKeysAndObjectsUsingBlock:^(id _Nonnull key, id _Nonnull obj, BOOL * _Nonnull stop) {
|
||||
if ([key respondsToSelector:@selector(integerValue)] && [obj respondsToSelector:@selector(integerValue)]) mintegralInfo[@([key integerValue])] = @([obj integerValue]);
|
||||
}];
|
||||
NSLog(@"consentInfo = %@, %@", [((NSDictionary*)_consentInfo[kATNetworkNameMintegral]).allKeys[0] class], [((NSDictionary*)_consentInfo[kATNetworkNameMintegral]).allValues[0] class]);
|
||||
_consentInfo[kATNetworkNameMintegral] = mintegralInfo;
|
||||
NSLog(@"consentInfo = %@, %@", [((NSDictionary*)_consentInfo[kATNetworkNameMintegral]).allKeys[0] class], [((NSDictionary*)_consentInfo[kATNetworkNameMintegral]).allValues[0] class]);
|
||||
}
|
||||
[[ATAPI sharedInstance] setNetworkConsentInfo:_consentInfo];
|
||||
}
|
||||
NSLog(@"API was deprecated, please use SetDataConsent(int consent)");
|
||||
// NSLog(@"constenJsonString = %@, network = %@", consentJsonString, network);
|
||||
// NSDictionary *networks = @{@1:kATNetworkNameFacebook, @2:kATNetworkNameAdmob, @3:kATNetworkNameInmobi, @4:kATNetworkNameFlurry, @5:kATNetworkNameApplovin, @6:kATNetworkNameMintegral, @8:kATNetworkNameGDT, @9:kATNetworkNameChartboost, @10:kATNetworkNameTapjoy, @11:kATNetworkNameIronSource, @12:kATNetworkNameUnityAds, @13:kATNetworkNameVungle, @14:kATNetworkNameAdColony, @1:kATNetworkNameOneway, @18:kATNetworkNameMobPower, @20:kATNetworkNameYeahmobi, @21:kATNetworkNameAppnext, @22:kATNetworkNameBaidu};
|
||||
// if ([networks containsObjectForKey:network]) {
|
||||
// if (([consentJsonString isKindOfClass:[NSString class]] && [consentJsonString dataUsingEncoding:NSUTF8StringEncoding] != nil)) {
|
||||
// NSDictionary *consentDict = [NSJSONSerialization JSONObjectWithData:[consentJsonString dataUsingEncoding:NSUTF8StringEncoding] options:NSJSONReadingAllowFragments error:nil];
|
||||
// _consentInfo[networks[network]] = [consentDict containsObjectForKey:@"value"] ? consentDict[@"value"] : consentDict;
|
||||
// } else {
|
||||
// [_consentInfo removeObjectForKey:networks[network]];
|
||||
// }
|
||||
// NSLog(@"consentInfo = %@", _consentInfo);
|
||||
// if ([_consentInfo[kATNetworkNameMintegral] isKindOfClass:[NSDictionary class]]) {
|
||||
// NSMutableDictionary<NSNumber*, NSNumber*>* mintegralInfo = [NSMutableDictionary<NSNumber*, NSNumber*> dictionary];
|
||||
// [_consentInfo[kATNetworkNameMintegral] enumerateKeysAndObjectsUsingBlock:^(id _Nonnull key, id _Nonnull obj, BOOL * _Nonnull stop) {
|
||||
// if ([key respondsToSelector:@selector(integerValue)] && [obj respondsToSelector:@selector(integerValue)]) mintegralInfo[@([key integerValue])] = @([obj integerValue]);
|
||||
// }];
|
||||
// NSLog(@"consentInfo = %@, %@", [((NSDictionary*)_consentInfo[kATNetworkNameMintegral]).allKeys[0] class], [((NSDictionary*)_consentInfo[kATNetworkNameMintegral]).allValues[0] class]);
|
||||
// _consentInfo[kATNetworkNameMintegral] = mintegralInfo;
|
||||
// NSLog(@"consentInfo = %@, %@", [((NSDictionary*)_consentInfo[kATNetworkNameMintegral]).allKeys[0] class], [((NSDictionary*)_consentInfo[kATNetworkNameMintegral]).allValues[0] class]);
|
||||
// }
|
||||
// [[ATAPI sharedInstance] setNetworkConsentInfo:_consentInfo];
|
||||
// }
|
||||
}
|
||||
|
||||
-(void) setExcludeBundleIdArray:(NSString*)bundleIds {
|
||||
@@ -300,5 +311,28 @@ char * at_get_string_message_for_unity(const char *msg, void(*callback)(const ch
|
||||
[[ATAPI sharedInstance] setLocationLongitude:longitude.doubleValue dimension:latitude.doubleValue];
|
||||
}
|
||||
|
||||
-(void) showDebuggerUI
|
||||
{
|
||||
// 此处用反射方式调用,发布时可以不用导入AnyThinkDebuggerUISDK库
|
||||
NSLog(@"ATUnityManager::showDebuggerUI");
|
||||
NSString *classStr = @"ATDebuggerAPI";
|
||||
Class debuggerAPIClass = NSClassFromString(classStr);
|
||||
if(!debuggerAPIClass) {
|
||||
NSLog(@"ATUnityManager::showDebuggerUI- NO %@",classStr);
|
||||
return;
|
||||
} else {
|
||||
NSObject *debuger = [debuggerAPIClass performSelector:@selector(sharedInstance)];
|
||||
NSString *fuctionStr = @"showDebuggerInViewController:showType:";
|
||||
SEL sel = NSSelectorFromString(fuctionStr);
|
||||
if(!debuger || ![debuger respondsToSelector:sel]) {
|
||||
NSLog(@"ATUnityManager::showDebuggerUI- NO %@",fuctionStr);
|
||||
return;
|
||||
} else {
|
||||
UIWindow *win = [UIApplication sharedApplication].keyWindow;
|
||||
[debuger performSelector:sel withObject:win.rootViewController withObject:@1];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 89d5600c5aee24b9bba85b1aba2155c2
|
||||
guid: 2cbcf061d486c4da192c7bb5d73c1778
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d2933e44fa83d4a93819fa26ce99e040
|
||||
guid: ed743e455c2ab46fba88245fa08fb79a
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -59,8 +59,11 @@ NSString *const kATUnityCheckLoadModelAdInfoKey = @"adInfo";
|
||||
[extraDictM removeObjectForKey:kATUnityUserExtraDataKey];
|
||||
}
|
||||
|
||||
NSMutableDictionary *jsonDictM = [NSMutableDictionary dictionaryWithDictionary:self];
|
||||
[jsonDictM setValue:extraDictM forKey:kATUnityCheckLoadModelAdInfoKey];
|
||||
|
||||
@try {
|
||||
jsonData = [NSJSONSerialization dataWithJSONObject:extraDictM
|
||||
jsonData = [NSJSONSerialization dataWithJSONObject:jsonDictM
|
||||
options:kNilOptions
|
||||
error:&error];
|
||||
} @catch (NSException *exception) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 472fb35badd054a3a8e014a0959291e0
|
||||
guid: d97e68496c47c44719d126f815d0e606
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3d2152091af034234a24ed92e896c851
|
||||
guid: dfa8f30fcaa004aa5bd38772d48cf4b4
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 537bc1063718e45f19b33e189a05622e
|
||||
guid: bb5d6de79978a402a94b11337e8c75e1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ae4666e4042724da5bfb3d00bd1c5e74
|
||||
guid: 14df6ab9442184e8baf711beae78c59d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bed7f683b131940ffa21d5da7386906e
|
||||
guid: b3085281fb9ba45f4ab34ad7665ab322
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -120,4 +120,17 @@ public class ATManager {
|
||||
Debug.Log("Unity:ATManager::setLocation()");
|
||||
ATUnityCBridge.SendMessageToC("ATUnityManager", "setLocationLongitude:dimension:", new object[] {longitude, latitude});
|
||||
}
|
||||
|
||||
public static void showDebuggerUI()
|
||||
{
|
||||
Debug.Log("Unity:ATManager::showDebuggerUI()");
|
||||
ATUnityCBridge.SendMessageToC("ATUnityManager", "showDebuggerUI", null);
|
||||
}
|
||||
|
||||
public static void showGDPRConsentDialog(Func<string, int> callback)
|
||||
{
|
||||
Debug.Log("Unity:ATManager::showGDPRConsentDialog()");
|
||||
ATUnityCBridge.SendMessageToCWithCallBack("ATUnityManager", "showGDPRConsentDialog:", new object[] { }, callback);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 774f18f08594f49e3bf4a8a2a7f37659
|
||||
guid: 5d137e79bd0184b1e8e7d0c4831ed6cf
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0e5bd5bbd67514cd5941ddd1f21db351
|
||||
guid: bfbf77fe7c23442e6a389314ed248820
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 12acd6131322e4e6ab58be44f49a76c7
|
||||
guid: 4256cead974b048859394b1956406b72
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 612af243cdbe84e72bc98f1f3a25bfaf
|
||||
guid: 90baa28b8a86a4833b95352b6372d7e0
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 72f0a51acef9146669a7d7aaa8f899af
|
||||
guid: 8c475a7f6b75147f4ae360b704a4fed5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: db058d5352b1c4a08a04f676cc103d79
|
||||
guid: 2bc47912295f64dd7b23bbebec70545a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 063c2379fd28a4ea9b8113386f6e2a94
|
||||
guid: 763b6ccc1c6f8412a9e710befb0b1c1c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: de346304da6da453fb4e4028ccfa87d9
|
||||
guid: 0cb73db20daa54b93b1e944e6aac6730
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
<repository>https://artifact.bytedance.com/repository/pangle</repository>
|
||||
</repositories>
|
||||
|
||||
<androidPackage spec="com.gromore.cn:gromore-sdk:4.3.0.3"/>
|
||||
<androidPackage spec="com.gromore.cn:pangle-adapter:5.4.1.6.0"/>
|
||||
<androidPackage spec="com.pangle.cn:mediation-sdk:5.9.2.8"/>
|
||||
|
||||
</androidPackages>
|
||||
</dependencies>
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0b639822d913a42d08a8da694163cad7
|
||||
guid: 3e0e84c2aca5e4de3aa3b1b3bb33a7b6
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user