/// <summary> /// Send an In-App Event. /// In-App Events provide insight on what is happening in your app. /// </summary> /// <param name="eventName">Event Name as String.</param> /// <param name="eventValues">Event Values as Dictionary.</param> public static void sendEvent(string eventName, Dictionary <string, string> eventValues) { #if UNITY_IOS && !UNITY_EDITOR AppsFlyeriOS.sendEvent(eventName, eventValues, onInAppResponse != null, CallBackObjectName); #elif UNITY_ANDROID && !UNITY_EDITOR AppsFlyerAndroid.sendEvent(eventName, eventValues, onInAppResponse != null, CallBackObjectName); #else #endif }
/// <summary> /// Send an In-App Event. /// In-App Events provide insight on what is happening in your app. /// </summary> /// <param name="eventName">Event Name as String.</param> /// <param name="eventValues">Event Values as Dictionary.</param> public static void sendEvent(string eventName, Dictionary <string, string> eventValues) { #if UNITY_IOS && !UNITY_EDITOR AppsFlyeriOS.sendEvent(eventName, eventValues); #elif UNITY_ANDROID && !UNITY_EDITOR AppsFlyerAndroid.sendEvent(eventName, eventValues); #else #endif }