You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling GetLeaderboardForSocialGroupAsync() with the SocialGroupConstants::Favorite category fails because the Xbox Live SDK (UWP) code passes the text Favorite in the URL instead of favorite.
leaderboard_service::get_leaderboard_for_social_group_internal() should do something like:
if (utils::str_icmp(socialGroup, _T("Favorite")) == 0)
{
group = _T("favorite");
}
The text was updated successfully, but these errors were encountered:
Casing on the URL shouldn't matter. The correct fix is to change social_group_constants::favorite() to return _T("Favorite") instead of _T("Favorites"). I'll send a PR shortly with a fix.
Sorry for the delay in getting back to you. We've decided to fix this on the service instead where the service will understand both 'Favorite' and 'Favorites'. I will update the thread when a fix is deployed. In the meantime, you can change the constant to 'Favorites' to unblock yourself.
Calling GetLeaderboardForSocialGroupAsync() with the SocialGroupConstants::Favorite category fails because the Xbox Live SDK (UWP) code passes the text Favorite in the URL instead of favorite.
leaderboard_service::get_leaderboard_for_social_group_internal() should do something like:
The text was updated successfully, but these errors were encountered: