Configure Google Play Store integration

This is the only step of the Google Play integration that happens in Adapty rather than in a Google console. You give Adapty your package name and the service account key file, and Adapty uses them to validate purchases and read your products.

Danger

Don’t change the package name or the key file after your app goes live with the Adapty SDK. This will break purchase validation for everyone already running your app. A key from a different Cloud project also changes the topic name, stopping real-time notifications.

Before you start

Generate the service account key file. You upload that file here.

Connect the app

  1. Open Google Play Console, select your app, and copy its package name. The Dashboard page shows it under the app name.

  2. Open App settings > Android SDK in the Adapty Dashboard.

  3. Paste the package name into Package name.

  4. Upload the JSON key file into Service account key file.

    Android SDK tab of App settings in Adapty, showing the Package name field and the Service account key file upload area
  5. Click Save.

Saving the key file also creates the Pub/Sub topic in your Cloud project, which the next step needs.

Next steps

Enable real-time developer notifications (RTDN), so Google Play reports renewals, cancellations, and refunds to Adapty.