2

优点:
成就和排行榜在 Android 上完美运行
排行榜在 iOS 上运行

坏处:
成就不适用于 iOS

一切都在android上完美运行。
现在在 iOS 上运行我的游戏将解锁成就(显示横幅),但在用户注销并重新登录后,成就将消失。(虽然排行榜工作得很好)

iOS 6.1.3、Unity 3D 和 Prime31 Google Play 游戏服务插件

完全不知道是什么原因造成的。我还在同一个谷歌帐户上解锁了我的 android 上的堆。因此,在登录 iOS 时,它也应该显示这些成就,但它没有。

2013-07-24 10:10:53.734 xxx[3669/0x3bfd1b88] [lvl=2] __49-[GPGManager executeOperation:completionHandler:]_block_invoke_0() GAMES RESPONSE (games.achievementDefinitions.list) =
{
    items =     (
                {
            achievementType = STANDARD;
            description = "Survive 20 seconds";
            id = xxx;
            initialState = REVEALED;
            isRevealedIconUrlDefault = 0;
            isUnlockedIconUrlDefault = 0;
            kind = "games#achievementDefinition";
            name = Beginner;
            revealedIconUrl = "https://lh6.ggpht.com/w8UAkuhdsVJ7WsYPpqAUnTKy88k8rN8njKcGj5hu8A8Xa-xxx=fbw=1";
            unlockedIconUrl = "https://lh6.ggpht.com/w8UAkuhdsVJ7WsYPpqAUnTKy88k8rN8njKcGj5hu8A8Xa-xxx";
        },


2013-07-24 10:14:50.279 xxx[3669/0x3bfd1b88] [lvl=2] -[GPGManager executeOperation:completionHandler:] GAMES REQUEST (games.achievements.unlock) =
{
    achievementId = xxx;
}

2013-07-24 10:14:51.459 xxx[3669/0x3bfd1b88] [lvl=2] __49-[GPGManager executeOperation:completionHandler:]_block_invoke_0() Service Operation Succeeded [games.achievements.unlock]

2013-07-24 10:14:51.459 xxx[3669/0x3bfd1b88] [lvl=2] __49-[GPGManager executeOperation:completionHandler:]_block_invoke_0() GAMES RESPONSE (games.achievements.unlock) =
{
    kind = "games#achievementUnlockResponse";
    newlyUnlocked = 0;
}
4

0 回答 0