/// <summary> /// Get AppsFlyer's unique device ID which is created for every new install of an app. /// </summary> /// <returns>AppsFlyer's unique device ID.</returns> public static string getAppsFlyerId() { #if UNITY_IOS && !UNITY_EDITOR return(AppsFlyeriOS.getAppsFlyerId()); #elif UNITY_ANDROID && !UNITY_EDITOR return(AppsFlyerAndroid.getAppsFlyerId()); #else return(""); #endif }