Last active
September 29, 2021 17:25
-
-
Save vlussenburg/cafcbf1921626787e7960ed14389ef17 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dictionary<string, string> leaderboard_position = new Dictionary<string, string>(); | |
leaderboard_position.Add("type", "singleline"); | |
leaderboard_position.Add("value", GameManager.Instance.GetLeaderboardPostion()); | |
// Add to CIF (custom issue fields) key | |
Dictionary<string, object> cifDictionary = new Dictionary<string, object>(); | |
cifDictionary.Add("leaderboard_position", leaderboard_position); | |
Dictionary<string, object> configMap = new Dictionary<string, object>(); | |
configMap.Add("customIssueFields", cifDictionary); | |
// Show in-app conversation UI | |
HelpshiftSdk.ShowConversation(configMap); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment