add info about the current build to GameAnalytics, duh

This commit is contained in:
Ellpeck 2020-06-22 22:39:08 +02:00
parent d460a4e1c3
commit d7134edc16
2 changed files with 2 additions and 0 deletions

View file

@ -30,6 +30,7 @@ namespace Android {
} }
public override void SetupAnalytics(Dictionary<string, object> json) { public override void SetupAnalytics(Dictionary<string, object> json) {
GameAnalytics.SetAutoDetectAppVersion(true);
GameAnalytics.Initialize(this.activity, GA_MiniJSON.JsonEncode(new Hashtable(json))); GameAnalytics.Initialize(this.activity, GA_MiniJSON.JsonEncode(new Hashtable(json)));
} }

View file

@ -12,6 +12,7 @@ namespace iOS {
} }
public override void SetupAnalytics(Dictionary<string, object> json) { public override void SetupAnalytics(Dictionary<string, object> json) {
GameAnalytics.SetAutoDetectAppVersion(true);
GameAnalytics.Initialize(GA_MiniJSON.JsonEncode(new Hashtable(json))); GameAnalytics.Initialize(GA_MiniJSON.JsonEncode(new Hashtable(json)));
} }