parent
a9346bc1bb
commit
39d1ad0d39
|
|
@ -80,6 +80,7 @@ namespace Guru
|
||||||
{
|
{
|
||||||
Debug.Log($"---[ANA] UID: {IPMConfig.IPM_UID}");
|
Debug.Log($"---[ANA] UID: {IPMConfig.IPM_UID}");
|
||||||
GuruAnalytics.SetUid(IPMConfig.IPM_UID);
|
GuruAnalytics.SetUid(IPMConfig.IPM_UID);
|
||||||
|
FirebaseAnalytics.SetUserProperty(PropertyUserID, IPMConfig.IPM_UID);
|
||||||
_hasGotUid = true;
|
_hasGotUid = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -95,6 +96,7 @@ namespace Guru
|
||||||
if (!string.IsNullOrEmpty(IPMConfig.IPM_DEVICE_ID))
|
if (!string.IsNullOrEmpty(IPMConfig.IPM_DEVICE_ID))
|
||||||
{
|
{
|
||||||
GuruAnalytics.SetDeviceId(IPMConfig.IPM_DEVICE_ID);
|
GuruAnalytics.SetDeviceId(IPMConfig.IPM_DEVICE_ID);
|
||||||
|
FirebaseAnalytics.SetUserProperty(PropertyDeviceID, IPMConfig.IPM_DEVICE_ID);
|
||||||
_hasGotDeviceId = true;
|
_hasGotDeviceId = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -120,6 +120,9 @@ namespace Guru
|
||||||
#endif
|
#endif
|
||||||
public static readonly string IPM_EVENT_URL = IPM_URL + "push/api/v1/push/app/event";
|
public static readonly string IPM_EVENT_URL = IPM_URL + "push/api/v1/push/app/event";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public static string IPM_UID
|
public static string IPM_UID
|
||||||
{
|
{
|
||||||
get => PlayerPrefs.GetString(nameof(IPM_UID), "");
|
get => PlayerPrefs.GetString(nameof(IPM_UID), "");
|
||||||
|
|
@ -230,5 +233,11 @@ namespace Guru
|
||||||
set => PlayerPrefs.SetString(nameof(ADJUST_GPSADID), value);
|
set => PlayerPrefs.SetString(nameof(ADJUST_GPSADID), value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static string FirstOpenTime
|
||||||
|
{
|
||||||
|
get => PlayerPrefs.GetString(nameof(FirstOpenTime), "");
|
||||||
|
set => PlayerPrefs.SetString(nameof(FirstOpenTime), value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue