Skip to content

How RTDN pull messages feature work? #19

Answered by imdhemy
ciao-chung asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, @ciao-chung!

The process is much simpler. Your code shouldn't depend on the pull mechanism due to:

  • Inefficient use of the Google Play Developer API can lead to API quota restrictions.
  • You must handle the events yourself, through a cron job or any other appropriate way.

Otherwise, depending on the push mechanism is much easier and efficient. The push mechanism delegates handling events to Google, just wait and Google will notify your server about all the subscription updates.

All that you need is to follow the following steps:

  1. Once the subscription is purchased in your mobile app, send a request to your backend containing the subscription base64_encoded token.
  2. This token can be pars…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@ciao-chung
Comment options

@imdhemy
Comment options

@SlavaSt295
Comment options

@SlavaSt295
Comment options

Answer selected by imdhemy
Comment options

You must be logged in to vote
1 reply
@imdhemy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants