public static string GetAdvertiserID() { string result = string.Empty; if (Application.platform == RuntimePlatform.Android) { result = SwrveManagerUtilsAndroid.GetGIDA(); } else if (Application.platform == RuntimePlatform.IPhonePlayer) { result = SwrveManagerUtilsiOS.GetIDFA(); } return(result); }
public static string GetIsLat() { string result = string.Empty; if (Application.platform == RuntimePlatform.Android) { result = SwrveManagerUtilsAndroid.GetIsLat().ToString(); } else if (Application.platform == RuntimePlatform.IPhonePlayer) { result = SwrveManagerUtilsiOS.GetIsLat().ToString(); } return(result); }