From 7089031aa815c77d744073405ac0ddd439717c60 Mon Sep 17 00:00:00 2001 From: "Israel G." <126353146+rexiliano89@users.noreply.github.com> Date: Sun, 29 Jun 2025 06:06:22 -0700 Subject: [PATCH] Revert "Unity 5.x vs Unity 2017.x preprocessor directive." --- source/Plugins/GoogleAnalyticsV4/GoogleAnalyticsV4.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Plugins/GoogleAnalyticsV4/GoogleAnalyticsV4.cs b/source/Plugins/GoogleAnalyticsV4/GoogleAnalyticsV4.cs index e30cb3b..bf3b66f 100755 --- a/source/Plugins/GoogleAnalyticsV4/GoogleAnalyticsV4.cs +++ b/source/Plugins/GoogleAnalyticsV4/GoogleAnalyticsV4.cs @@ -119,7 +119,7 @@ void Awake() { } if (UncaughtExceptionReporting) { -#if UNITY_5 || UNITY_2017 +#if UNITY_5 Application.logMessageReceived += HandleException; #else Application.RegisterLogCallback (HandleException); @@ -150,7 +150,7 @@ private void InitializeTracker() { instance = this; DontDestroyOnLoad(instance); - + // automatically set app parameters from player settings if they are left empty if(string.IsNullOrEmpty(productName)) { productName = Application.productName;