Google Real-Time Developer Notifications

Sending Google Play server notifications to RevenueCat

RevenueCat does not require server notifications from Google Play, however doing so can speed up webhook and integration delivery times and reduce lag time for Charts.

Setup Instructions

Google real-time developer notifications can be set up directly from the RevenueCat dashboard. This will set up a new subscriber to Google's subscription status notifications, which will not affect any existing subscribers you may already have in place.

  1. Ensure Google Cloud Pub/Sub is enabled for your project. You can enable it here.
  1. Navigate to your Apps under project settings in the RevenueCat dashboard.
  2. Select the Play Store app you are adding Google Developer Notifications.
  3. Select view under Service Account credentials JSON and add your JSON object in the pop-up window.
  4. Finally click 'Connect to Google.
  1. You will see a generated Google Cloud Pub/Sub topic ID, as shown below.
  1. Click the Copy button to copy the topic ID to your clipboard.
  2. Open the Google Play Console for your app and navigate to Monetization setup.
  3. In the "Real-time developer notifications" section, paste in your topic ID, click on Save, and then the Send Test Notification button.

If you don't see any errors, the subscription is ready to go.

Considerations

🚧

Service Credentials take ~36hrs to go into effect

If you receive a credentials error, make sure you've waited at least 36hrs after creating your Google Service Credentials before connecting to Google Real-Time Developer Notifications.

❗️

400 error when connecting to Google

If you're getting a 400 error when connecting to Google for Platform Server Notifications from the RevenueCat dashboard, ensure you've enabled Pub/Sub for your project as described above.

📘

If you need to use an existing Pub/Sub topic with RevenueCat, contact support.


Did this page help you?