From d7134edc1642a466f10b2c8ccf89745876b67fa9 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Mon, 22 Jun 2020 22:39:08 +0200 Subject: [PATCH] add info about the current build to GameAnalytics, duh --- Android/AndroidPlatform.cs | 1 + iOS/IosPlatform.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/Android/AndroidPlatform.cs b/Android/AndroidPlatform.cs index b508382..3378cf5 100644 --- a/Android/AndroidPlatform.cs +++ b/Android/AndroidPlatform.cs @@ -30,6 +30,7 @@ namespace Android { } public override void SetupAnalytics(Dictionary json) { + GameAnalytics.SetAutoDetectAppVersion(true); GameAnalytics.Initialize(this.activity, GA_MiniJSON.JsonEncode(new Hashtable(json))); } diff --git a/iOS/IosPlatform.cs b/iOS/IosPlatform.cs index a4b2780..83dc228 100644 --- a/iOS/IosPlatform.cs +++ b/iOS/IosPlatform.cs @@ -12,6 +12,7 @@ namespace iOS { } public override void SetupAnalytics(Dictionary json) { + GameAnalytics.SetAutoDetectAppVersion(true); GameAnalytics.Initialize(GA_MiniJSON.JsonEncode(new Hashtable(json))); }