Extended of Safer VPN Docs
  • 👋Welcome to A Safer VPN Product
  • App Guides
    • 🔑Configure KeyStore Android
    • đŸ“ļConfigure Firebase
    • đŸ“ĒChange app name
    • â„šī¸Change Icon
    • 📎Change package name
    • âœ’ī¸Change Colors
    • 🔰Change admob
    • 🔐Configure WireGuard Apple
  • Admin Panel
    • đŸ› ī¸Admin Panel
      • 📝Admin Panel Installation
  • Subscription
    • đŸ› ī¸Subscription Feature
      • 📝iOS Product Setup
      • â†—ī¸Google Play Product Setup
  • đŸ‘ī¸â€đŸ—¨ī¸App Config
Powered by GitBook
On this page
  • Link your developer account​
  • Create a service account​
  1. Subscription
  2. Subscription Feature

Google Play Product Setup

PreviousiOS Product SetupNextApp Config

Requests to the Google Play Developer API requires authentication and scope. To authenticate your server, you will need to create a service account and download a JSON key file google-app-credentials.json. The path to the file should be passed as the GOOGLE_APPLICATION_CREDENTIALS environment variable.

INFO

It can take up to 36 hours for your Play Credentials to work properly with Google Play Developer API. Yoy may see Invalid Play Store credentials error message.

Link your developer account

Your Google Play Developer Account needs to be linked to Google Cloud Project.

  1. Go to .

  2. From the left menu, under Set up, select API access.

  3. Scroll down and click Choose a project to link.

  4. Select the project you want to link, then agree to the terms of service.

Create a service account

Next, you will need to create a service account.

  1. From Google Play Console, go to

  2. Select a project if you have not done so already.

  3. In the top menu, click Create new service account

  4. Enter a name for the service account.

  5. Add two Roles:NOTE

    • Pub/Sub Admin - This role enables server notifications.

    • Monitoring Viewer - This role allows monitoring of the notification queue

  6. Click Done.

  7. In the Google Cloud Console, select Actions > Manage keys.

  8. Select Add Key > Create new key

  1. Make sure JSON is selected, and click Create

INFO

Set the .env key GOOGLE_APPLICATION_CREDENTIALS to the JSON file path.

đŸ› ī¸
â†—ī¸
​
Google Play Developer Console
​
Create service account