Reference Link:
https://developer.android.com/google/play/billing/realtime_developer_notifications
Step 1 Setup Cloud Service
https://console.cloud.google.com/cloudpubsub/
=>create topic
=>projects/xxxxxxxxxxxxx/topics/mgotest
=>Google-managed key
=>create topic
=>create subscriptions
subscription ID
Delivery type
Push
Push endpoint
https://xxxxxxxxxx/ASTest.php
Step 2 Pair up the project with Google play consol
Google Play Console.
=>select App
=>Developerment tools
=>Services & Apis
=>Real-time developer notifications
Topic name=>projects/ xxxxxxxxxxxxx /topics/mgotest
Comment feed