Skip to content

Commit

Permalink
Update to Game Center Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrules44 authored Dec 20, 2023
1 parent ffa7e7d commit 13b34c1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions markdown/plugin/gameNetwork-apple/index.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@

[Game Center](https://developer.apple.com/game-center/) lets friends in on the action with leaderboards and achievements. The nomenclature used in the CORONA_CORE_PRODUCT APIs for Game Center attempt to match the official Game Center APIs as much as possible, allowing you to <nobr>cross-reference</nobr> with official Game Center documentation.

<div class="guide-notebox-imp">
<div class="notebox-title-imp">Important</div>

* As of August 16, 2023, new apps and app updates that offer Game Center features need to include the Game Center entitlement. See Project Settings below and enable Game Center Support for Apple App ID Configuration.

</div>


## Gotchas

Game Center is not supported in the simulator.
Expand All @@ -32,6 +40,8 @@ Game Center is not supported in the simulator.

To use this plugin, add an entry into the `plugins` table of `build.settings`. When added, the build server will integrate the plugin during the build phase.

Also be sure to add the iPhone entitlement table as seen below

``````lua
settings =
{
Expand All @@ -42,6 +52,11 @@ settings =
publisherId = "com.coronalabs"
},
},
iphone = {
entitlements = {
["com.apple.developer.game-center"] = true,
},
}
}
``````
## Sample project
Expand Down

0 comments on commit 13b34c1

Please sign in to comment.