Skip to main content
Question

Get offering not working flutter(Android and Ios)

  • October 5, 2024
  • 1 reply
  • 27 views

Forum|alt.badge.img+2

Hello, I invite you to create your two applications (IOS and android) on RevenueCat. 

To create my two applications (IOS and android) on RevenueCat via this one I imported the subscriptions of my application directly from the stores (AppStore and PlayStore).

When I call the Purchases.getOfferings() method in my application having made the configurations beforehand I get this error:
D/[Purchases] - DEBUG( 8517) : ℹ️ Product request completed for codingindustry.qualityfood.monthly
D/[Purchases] - DEBUG( 8517) : 💰 Retrieved productDetailsList : 
W/[Purchases] - WARN( 8517) : 🤖‼️ Unable to find ProductDetails for codingindustry.qualityfood.monthly 
W/[Purchases] - WARN( 8517) : There is a problem with your configuration in Play Store Developer Console. More information here: https://errors.rev.cat/configuring-products
D/[Achats] - DEBUG( 8517) : ℹ️ Build a bid response with 0 products
E/[Purchases] - ERROR( 8517) : 😿‼️ Offer retrieval error - PurchasesError(code=ConfigurationError, underlyingErrorMessage=There is a problem with your configuration. None of the products registered in the RevenueCat dashboard could be retrieved from the Play Store.
E/[Purchases] - ERROR( 8517) : More info: https://rev.cat/why-are-offerings-empty, message='There's a problem with your configuration. Check the underlying error for more details.')
I/TRuntime.CctTransportBackend( 8517): Making request to: https://firebaselogging.googleapis.com/v0cc/log/batch?format=json_proto3

Please how can i fix it ?

This post has been closed for comments

1 reply

jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 240 replies
  • October 9, 2024

Hi @quality-food-efbbc7,

If your products, offerings, or packages are empty it's most likely related to a configuration or setup issue in Apple/Google. We've put together a handy guide here that outlines the common reasons for this here: https://community.revenuecat.com/sdks-51/why-are-offerings-or-products-empty-124

As the logs mentioned, our SDK was unable to fetch those product identifiers from Google Play to retrieve valid products. Are you sure you've published your app on a closed track? And can you double check your products are marked as Backwards Compatible in the Google Play Console dashboard? https://www.revenuecat.com/docs/android-products#google-subscription-model-v2---current-revenuecat-support

Here's how it works under the hood:

  1. Products are configured in each store
  2. Product identifiers are added to your offering configuration in the RevenueCat dashboard
  3. The RevenueCat SDK fetches the configuration from the RevenueCat API
  4. The SDK requests the products in the configuration from the stores directly
  5. The stores return the valid products from that request

If the stores are unable to return valid products, it means that somewhere in that cycle there is a configuration issue. If there is a typo in your product identifier, the request will fail. If the bundle ID doesn't match the configuration in App Store Connect (or package name for Google Play, etc.), the request will fail. There’s also a video explaining the above process in the linked community post that you might find helpful.

Thanks!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings