add info about the current build to GameAnalytics, duh
This commit is contained in:
parent
d460a4e1c3
commit
d7134edc16
2 changed files with 2 additions and 0 deletions
|
@ -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)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue