[M] sync from n3

This commit is contained in:
2024-08-22 18:04:52 +08:00
parent 1a0af9d725
commit da367097c8
8 changed files with 91 additions and 30 deletions

View File

@@ -13,7 +13,7 @@ MonoBehaviour:
m_Name: AppLovinSettings
m_EditorClassIdentifier:
qualityServiceEnabled: 1
sdkKey: OmDRO8whS_xJT0fChdR0d_v0wqSKGaEhzs6W8SKO-Lspt2WA_ZpCmlTTHBVTEEDMET5hw4vN9SmtK5x4_eEHsR
sdkKey: rW51GKWqpT99uzHaOQH36OihVd51teKXIfDdTnAzXH70rsTUMSQuyMb7SqmEZzq2qN4B1sFZZPPdlHTOhxQPIC
setAttributionReportEndpoint: 0
addApsSkAdNetworkIds: 0
customGradleVersionUrl:

View File

@@ -169,14 +169,29 @@ public class SDKTest : MonoBehaviour
public void OnGaBtn()
{
Debug.LogError("Ga ask");
using (var e = GAEvent.TackEvent("idcheckdone"))
{
e.AddContent("test ga", true);
}
//Debug.LogError("Ga ask");
//using (var e = GAEvent.TackEvent("idcheckdone"))
//{
//e.AddContent("test ga", true);
//}
}
const string AD_ID = "427b872c314ad1f3";
/*
Android AD ID
c6c49a100de8496c
05c86d0f2be7b55b
7cf556b464448b7b
b6c56eb121b10c98
iOS AD ID
24414b2f75660ea4
86409c4730a1d9bb
ec3c8fd688cdb5e2
eb68f93a08156e04
*/
const string AD_ID = "24414b2f75660ea4";
public void OnAppMaxBtn()
{
@@ -250,14 +265,14 @@ public class SDKTest : MonoBehaviour
{
string msg = $"[AD LOG]Rewarded ad received reward. ID: {adUnitId}. Type: {reward}. Amount: {reward.Amount}";
_messageTxt.text = msg;
Debug.Log(msg);
Debug.Log($"[AD LOG]Rewarded ad received reward \n {reward.ToString()} \n {adInfo.ToString()}");
}
private void OnRewardedAdRevenuePaidEvent(string adUnitId, MaxSdkBase.AdInfo adInfo)
{
string msg = $"[AD LOG]Rewarded ad revenue paid. ID: {adUnitId}.";
_messageTxt.text = msg;
Debug.Log(msg);
Debug.Log($"[AD LOG]Rewarded ad revenue paid \n {adInfo.ToString()}");
}