leecrossley / cordova-plugin-game-center

Cordova / PhoneGap Game Center Plugin for Apache Cordova >= 3.0.0

Home Page:http://ilee.co.uk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open Achievements tab

nullday0 opened this issue · comments

Hello.

That plugin - https://github.com/Wizcorp/phonegap-plugin-gameCenter - has a great feature - it's possible to open achievements tab from GameCenter.

As I understood, it is impossible in your plugin, right?
Maybe you can add that feature? I think it shouldn't be so hard.

Thank you.

commented

It's quite long time for this, but I just recap here if someone needs to use this feature.

Yes, it is possible to open achievement tab using this call:'

gamecenter.showLeaderboard(onSuccess, onError, { showAchievements: 'true' });

Note:

  • It is 'true' string not boolean true in showAchievements parameter.
  • Make sure you have properly setting up achievements for your app on AppConnect.