diff --git a/editor/app/src/AnalyticsFixPropertyRemover.cs b/editor/app/src/AnalyticsFixPropertyRemover.cs index 3d0b7c6f..e119f079 100644 --- a/editor/app/src/AnalyticsFixPropertyRemover.cs +++ b/editor/app/src/AnalyticsFixPropertyRemover.cs @@ -56,15 +56,12 @@ public void OnPreprocessBuild(BuildReport report) { return; } - Debug.Log("=-=-= Found the following Gradle Version: " + GooglePlayServices.PlayServicesResolver.AndroidGradlePluginVersion); - // If the gradle version is newer than 7.0.0, which should have support // for the property tag, there is no reason to add the removeAll logic. var versionComparer = new Google.JarResolver.Dependency.VersionComparer(); if (versionComparer.Compare( GooglePlayServices.PlayServicesResolver.AndroidGradlePluginVersion, - "7.0.0") >= 0) { - Debug.Log("=-=-= Returning early because version is new enough"); + "7.0.0") <= 0) { return; } @@ -79,7 +76,6 @@ public void OnPreprocessBuild(BuildReport report) { // Check for the SearchTag, and if present there is nothing to do. if (File.ReadAllText(androidManifestPath).Contains(SearchTag)) { - Debug.Log("=-=-= Returning early because found the searchtag"); return; } @@ -111,8 +107,6 @@ public void OnPreprocessBuild(BuildReport report) { else { Debug.LogError("Could not find the 'application' node in the AndroidManifest.xml file."); } - - Debug.Log("=-=-= The removeAll tag should be added"); } } }