调整在线参数key
This commit is contained in:
parent
de76a6faf3
commit
13b236690b
|
|
@ -110,7 +110,7 @@ public class AdjustTrackEvent : D_MonoSingleton<AdjustTrackEvent>
|
||||||
{
|
{
|
||||||
string source = "applovin_max_sdk";
|
string source = "applovin_max_sdk";
|
||||||
//获取在线参数
|
//获取在线参数
|
||||||
string json = FireBaseRemoteConfigManager.Instance.GetRemoteConfigString("revenue_adj");
|
string json = FireBaseRemoteConfigManager.Instance.GetRemoteConfigString("rev_adj");
|
||||||
if (string.IsNullOrEmpty(json))
|
if (string.IsNullOrEmpty(json))
|
||||||
{
|
{
|
||||||
return source;
|
return source;
|
||||||
|
|
|
||||||
|
|
@ -148,7 +148,7 @@ namespace WZ
|
||||||
#region 开屏广告
|
#region 开屏广告
|
||||||
public bool IsSplashAvailable()
|
public bool IsSplashAvailable()
|
||||||
{
|
{
|
||||||
return AdmobAdsManager.Instance.IsSplashAvailable();
|
return AdmobAdsManager.Instance.IsSplashAvailable() && TransferAndroidClass.IsVpnConnected();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ShowSplashAd()
|
public void ShowSplashAd()
|
||||||
|
|
@ -171,7 +171,7 @@ namespace WZ
|
||||||
public bool IvRulesShow(IvType ivadType, bool isShow = true)
|
public bool IvRulesShow(IvType ivadType, bool isShow = true)
|
||||||
{
|
{
|
||||||
//1.获取远程配置
|
//1.获取远程配置
|
||||||
string json = FireBaseRemoteConfigManager.Instance.GetRemoteConfigString("IV_RULES");
|
string json = FireBaseRemoteConfigManager.Instance.GetRemoteConfigString("AD_Game");
|
||||||
if (string.IsNullOrEmpty(json))
|
if (string.IsNullOrEmpty(json))
|
||||||
{
|
{
|
||||||
LoggerUtils.Debug("[SDK] 获取远程配置IV_RULES是空 没有限制");
|
LoggerUtils.Debug("[SDK] 获取远程配置IV_RULES是空 没有限制");
|
||||||
|
|
|
||||||
|
|
@ -194,7 +194,7 @@ namespace WZ
|
||||||
{
|
{
|
||||||
string name = "ad_impression";
|
string name = "ad_impression";
|
||||||
//获取在线参数
|
//获取在线参数
|
||||||
string json = FireBaseRemoteConfigManager.Instance.GetRemoteConfigString("revenue_fir");
|
string json = FireBaseRemoteConfigManager.Instance.GetRemoteConfigString("rev_fir");
|
||||||
if (string.IsNullOrEmpty(json))
|
if (string.IsNullOrEmpty(json))
|
||||||
{
|
{
|
||||||
return name;
|
return name;
|
||||||
|
|
|
||||||
|
|
@ -61,11 +61,11 @@ namespace WZ
|
||||||
}
|
}
|
||||||
private void GroupSet()
|
private void GroupSet()
|
||||||
{
|
{
|
||||||
string value = GetRemoteConfigString("group_set");
|
string value = GetRemoteConfigString("Grouping");
|
||||||
//数数
|
//数数
|
||||||
ShuShuEvent.Instance.Track($"group_set_{value}");
|
ShuShuEvent.Instance.Track($"Grouping_{value}");
|
||||||
//firebase
|
//firebase
|
||||||
FireBaseAnalyticsManager.Instance.LogEvent($"group_set_{value}");
|
FireBaseAnalyticsManager.Instance.LogEvent($"Grouping_{value}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue