Enabling Service on Native Platform

Enable Game Center on iOS

Game Services on iOS rely on Game Center. You can enable it from iOS developer portal. In-case you didn't enroll as an iOS developer, enroll here.

  1. Log in to iOS Dev Portal
  2. Under Identifiers -> App IDs section, select your app's build identifier entry.
  3. If Game Center is not enabled under Application Services, click on Edit and enable it.
  4. When submitting via iTunes Connect make sure you set Game Center switch to on.

For more information, please refer Game Services Setup Guide.

Enable Game Play Services on Android

Game Services on Android rely on Google Play Services. You can enable Google Play Services by following below steps.

  1. Open Google Play Developer Console and Click on Game Services Tab.
  2. Click on Add New Game if you are setting up freshly.
  3. Specify If your game already uses Google API's.
  4. If not, click on "I don't use any Google APIs in my game yet".
  5. Fill in the details and click continue.
  6. Now you will be in Game Details page.
  7. Fill in the details and go to "API CONSOLE PROJECT" section.
  8. Turn on the API's required button to make Play Services work.
  9. Save your "Game Details" changes.
  10. Click on Linked Apps tab (Game Services -> Your App), select Android Platform, fill in the package name, save and authorize.
  11. This takes you to create an OAuth Client ID. Follow the steps here to create the SHA finger print.
  12. Save your Application ID (See the number next to your project name) which will be used in NPSettings for Sign-in.

Note

Make sure you use right keystore for generating the SHA fingerprint.

More information here. Have a look at common mistakes to avoid.

Creating Achievements

  1. Under Game Services tab -> your selected application, select Achievements.
  2. Create Achievements and note down the identifiers.

Incremental achievements are those which takes multiple steps to complete. Rest of the achievements unlock with one step.

Creating Leaderboards

  1. Under Game Services tab -> your selected application, select Leaderboards.
  2. Create Leaderboards and note down the identifiers.

results matching ""

    No results matching ""