Share Same Game Center Leaderboard iOS / tvOS / OS X?

Hey,


I'm wondering if it is at all possible to somehow share the leaderboard / achievements from say an iOS game center leaderboard, to be used as well for say tvOS and OS X versions of the same game?


Or does each seperate platform have to maintain their own clone of the same leaderboard / achievements?


If this is possible any links to reference material would be awesome, I can't find anything bar the mention of something like this being possible in the tvOS Keynote.

Accepted Answer

Danoli3


For iOS and TVOS you can use the new "universal bundle ID" feature where you can add a TVOS version of the app to the existing iOS bundle ID. In iTunes Connect you would just go to the iOS app in question and in the App Store view click + Version. Select TVOS and go from there.


Another option would be to group the games. Grouping games requires that all leaderboard and achievement identifiers begin with "grp.". Grouped leaderboards and achievements can be shared by all apps in the group (where each app has a unique bundle ID). For that simple "Move to Group" in iTunes Connect.


Would one of those options meet your needs?


amandavoss

Perfect! I'll look into those solutions, thank you amandavoss! :D!

Hi amandavoss -


I am in a similar situation to Danoli3, but am wondering about what happens after the apps are grouped.


1) Do I change my original code from calling "leaderboard_01" to calling "grp.leaderboard_01"?


2) What happens to the data in the original app? Is it ported over to the new "grp.leaderboard_01" or does it stay at "leaderboard_01"?


3) If there are two apps in the group - one already approved and on the store, and another which is not yet approved, will the data that already exists still be accessible from the approved app?


Just trying to not mess up my existing users and their hard-won data.


Kindest Regards,
Garry

Hi Garry,


Did you ever get a clear answer on this? I'm wondering all of the same things.


Thanks!

Share Same Game Center Leaderboard iOS / tvOS / OS X?
 
 
Q