Solved

Not able to fetch subscriptions from Google Play

  • 19 July 2021
  • 7 replies
  • 144 views

Badge

I have followed all the steps for integration with react native to fetch subscription from google play. However the getOfferings method always returns the following

{"current":null,"all":{}}

Would appreciate some help. 

P.S. I have created subscription in Google Play Store and Revenuecat both

icon

Best answer by ryan 19 July 2021, 19:37

Hey @Vivek Khatri 👋

 

Have you checked out this article on empty products? 

 

This is typically caused by some configuration issue. On Android, you should double check that your app is published on a closed track and you've added a tester. I know that’s a common cause on Android.

 

If you can take a closer look at the debug logs, you should see more information on whether the product IDs were fetched properly from the RevenueCat API or not.

View original

7 replies

Userlevel 4
Badge +8

Hey @Vivek Khatri 👋

 

Have you checked out this article on empty products? 

 

This is typically caused by some configuration issue. On Android, you should double check that your app is published on a closed track and you've added a tester. I know that’s a common cause on Android.

 

If you can take a closer look at the debug logs, you should see more information on whether the product IDs were fetched properly from the RevenueCat API or not.

Badge

Hi @ryan 

Thanks for the quick response!

My app is in ready to send for review state in alpha testing and 1 tester is also added. Also checked the article but all looks good to me

Userlevel 4
Badge +8

So I think it actually needs to be in the published state before you can test fetching products and making purchases, not ready to send for review. 

Badge

Hi @ryan 

There is no option of changing the state of the release. I can only promote it to either open testing or to production. I am not sure if I am missing out on something or the newer version of play console doesn’t have publish status for closed testing.

 

Can you verify this once and let me know? Would be a great help.

Userlevel 4
Badge +8

Does it say your build is in-review? Or do you see the option to submit it for review?

You can’t publish it yourself, you’d need to submit it for review before it would be “published” on an internal track. The Google review process can take a while, and unfortunately they won’t let you test IAP before your first build has been reviewed.

Badge

@ryan 

Thanks I figured how to publish app on the new play store. It’s in review and I will check once it is published in closed channel.

 

However, I am getting the same empty response in apple as well. What could be the issue there.

Userlevel 4
Badge +8

There’s a handful of configuration problems that can cause this on iOS in this post here: https://community.revenuecat.com/sdks%2D51/why%2Dare%2Dproducts%2Dempty%2D124

 

Reply