diff --git a/editor/app/src/AnalyticsFixPropertyRemover.cs b/editor/app/src/AnalyticsFixPropertyRemover.cs index ed502d01..3d0b7c6f 100644 --- a/editor/app/src/AnalyticsFixPropertyRemover.cs +++ b/editor/app/src/AnalyticsFixPropertyRemover.cs @@ -56,7 +56,7 @@ public void OnPreprocessBuild(BuildReport report) { return; } - Debug.Log("====== Found the following Gradle Version: " + GooglePlayServices.PlayServicesResolver.AndroidGradlePluginVersion); + 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. @@ -64,6 +64,7 @@ public void OnPreprocessBuild(BuildReport report) { if (versionComparer.Compare( GooglePlayServices.PlayServicesResolver.AndroidGradlePluginVersion, "7.0.0") >= 0) { + Debug.Log("=-=-= Returning early because version is new enough"); return; } @@ -78,6 +79,7 @@ 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; } @@ -109,6 +111,8 @@ 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"); } } }