Skip to content

playgameservices/native-pc-sdk-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Play for Native PC Samples Repository

This repository contains sample projects demonstrating various aspects of integrating Google Play APIs for your native game. A description of the high-level directories in this repo follows:

API Client (Legacy)

For new integrations, refer to sdk-client section.

Do not use this implementation anymore as this implementation method will be replaced by sdk-client.

API Server

See the api-server section for description and setup of the backend needed by the api-client and sdk-client samples.

Setup

  • Setup your own firebase project from your Firebase Console
  • Retrieve the credentials of your service account from your Google Cloud project
  • Change <FIREBASE_PROJECT_ID> in .firebaserc and firebase.json to your firebase-project-id
  • Put in your service account credentials in config.ts
  • Change <PLAY_PACKAGE_NAME> in manifest.json to your application package-id retrieved from your Play Console
  • Run npm ci to download and install all the dependencies
  • Run npm run predeploy to prepare the code for deployment
  • Run npm run deploy to actually deploy the code

Running

Your APIs will be available under the <firebase-app>/api/* of your Firebase project deployment URL.

SDK Client

See the sdk-client section for description and setup of SDK Client sample.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published