添加firebase初始化标志
This commit is contained in:
parent
f38e306cf4
commit
567d1ff812
|
|
@ -13,6 +13,7 @@ namespace WZ
|
|||
/// </summary>
|
||||
public class FireBaseAnalyticsManager : D_MonoSingleton<FireBaseAnalyticsManager>
|
||||
{
|
||||
|
||||
private const string KEY_SUPER_PROPERTIES = "KEY_SUPER_PROPERTIES";
|
||||
|
||||
private Dictionary<string, object> superProperties = new Dictionary<string, object>();
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ namespace WZ
|
|||
{
|
||||
public class FireBaseRemoteConfigManager : D_MonoSingleton<FireBaseRemoteConfigManager>
|
||||
{
|
||||
public bool IsInitialized { get; private set; } = false;
|
||||
public void FetchRemoteConfig()
|
||||
{
|
||||
// Firebase.FirebaseApp.CheckAndFixDependenciesAsync().ContinueWith(task =>
|
||||
|
|
@ -18,6 +19,7 @@ namespace WZ
|
|||
{
|
||||
FirebaseRemoteConfig.DefaultInstance.ActivateAsync().ContinueWithOnMainThread(task =>
|
||||
{
|
||||
IsInitialized = true;
|
||||
AdjustTrackEvent.Instance.UpdateEventToken();
|
||||
// 获取广告位信息
|
||||
AdConfigParser.Parse(GetRemoteConfigString("ad_config"));
|
||||
|
|
|
|||
Loading…
Reference in New Issue