purchases-flutter icon indicating copy to clipboard operation
purchases-flutter copied to clipboard

Offerings are empty in Android.But working on iOS.

Open lakshydeep-14 opened this issue 8 months ago • 7 comments

We had done all the setup as according to docs. We are getting subscription offerings in iOS but not in Android. We followed https://rev.cat/why-are-offerings-empty these method and also checked the Google Cloud Console. we had as according.

Issues: Not getting offerings in Android. Error Message: Error fetching offerings: PlatformException(23, There is an issue with your configuration. Check the underlying error for more details., {code: 23, message: There is an issue with your configuration. Check the underlying error for more details., readableErrorCode: ConfigurationError, readable_error_code: ConfigurationError, underlyingErrorMessage: There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from the Play Store. I/flutter (15120): More information: https://rev.cat/why-are-offerings-empty}, null)

Please let us know what we can do.

Error logs

WARN(15120): šŸ¤–ā€¼ļø Could not find ProductDetails for ...
W/[Purchases] - WARN(15120): There is a problem with your configuration in Play Store Developer Console. More info here: https://errors.rev.cat/configuring-products
E/[Purchases] - ERROR(15120): šŸ˜æā€¼ļø Error fetching offerings - PurchasesError(code=ConfigurationError, underlyingErrorMessage=There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from the Play Store.
E/[Purchases] - ERROR(15120): More information: https://rev.cat/why-are-offerings-empty, message='There is an issue with your configuration. Check the underlying error for more details.')
I/flutter (15120): Error fetching offerings: PlatformException(23, There is an issue with your configuration. Check the underlying error for more details., {code: 23, message: There is an issue with your configuration. Check the underlying error for more details., readableErrorCode: ConfigurationError, readable_error_code: ConfigurationError, underlyingErrorMessage: There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from the Play Store.
I/flutter (15120): More information: https://rev.cat/why-are-offerings-empty}, null)
I/flutter (15120): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:648:7)
I/flutter (15120): #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334:18)
I/flutter (15120): <asynchronous suspension>
I/flutter (15120): #2      Purchases.getOfferings (package:purchases_flutter/purchases_flutter.dart:264:17)
I/flutter (15120): <asynchronous suspension>
I/flutter (15120): #3      Future.timeout.<anonymous closure> (dart:async/future_impl.dart:963:15)
I/flutter (15120): <asynchronous suspension>
I/flutter (15120): #4      _SubscribeScreenState.generateOfferButtons 
I/flutter (15120): <asynchronous suspension>
I/flutter (15120): 

lakshydeep-14 avatar Mar 31 '25 11:03 lakshydeep-14

šŸ‘€ We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

RCGitBot avatar Mar 31 '25 11:03 RCGitBot

I've the same issue this morning (only testing on my iOS simulator ) when I'm using the 18.4 simulator. I've the same error message coming up but I don't have the issue with others simulator version.

version 8.6.0 to 8.7.0 of purchases_flutter did the same for me

JobiJoba avatar Apr 02 '25 02:04 JobiJoba

Hi all, thanks for reporting. @lakshydeep-14 Can you please open a support ticket with your project information so we can debug further?

@JobiJoba Can you confirm if running your app on a physical iOS 18.4 device also gives you empty offerings?

Jethro87 avatar Apr 03 '25 00:04 Jethro87

@Jethro87 I'm facing same issue with IOS 18.4 (Tested on Simulators) works properly with 18.2 and below check on(Simulator and physical device)

PlatformException(23, There is an issue with your configuration. Check the underlying error for more details. There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used). More information: https://rev.cat/why-are-offerings-empty, {readableErrorCode: CONFIGURATION_ERROR, underlyingErrorMessage: , code: 23, readable_error_code: CONFIGURATION_ERROR, message: There is an issue with your configuration. Check the underlying error for more details. There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from App Store Connect (or the StoreKit Configuration file if one is being used).

Can you Suggest what I can do in this case been stuck on this for last 3 days

Gaurav-pix avatar Apr 11 '25 08:04 Gaurav-pix

I'm experiencing the same issue on iOS 18.4.1. After several hot reloads, the behavior is inconsistent—sometimes the products load correctly, and other times an error occurs. I added a await Future.delayed(const Duration(milliseconds: 1000)); to give the native platform time to settle, which seems to reduce the issue, but I'm not sure.

delfme avatar May 01 '25 23:05 delfme

TheĀ fetchOffers method in the purchase_flutter packageĀ sometimesĀ returns me an empty list of products while working in the test environment. WhileĀ I haven’t faced this issue in the production app yet.

And I have been using this package since three years and it was working fine till a month ago I updated it to ā€œpurchases_flutter: ^8.7.2ā€.

Does any one knows why is it happening? I doubt that if it is due to the configuration issue since it was working fine since three years.

DevMuhammad-Moiz avatar May 05 '25 15:05 DevMuhammad-Moiz

Hi all, for iOS, there is an ongoing StoreKit issue released on iOS 18.4 that's causing offers to not load in the Simulator. We've notified Apple and are monitoring this to see when it gets resolved.

Jethro87 avatar May 05 '25 20:05 Jethro87

I've started to face this issue couple of weeks ago with Android users. Some of the users in production can't see the offerings, empty list is returned.

SDK version was 8.1.0, I've upgraded it to the latest one and will rollout an update and will see the feedback, hope the issue will go away.

ihr1337 avatar Sep 04 '25 22:09 ihr1337

Hi all, I'm very sorry about the delay on this reply. We've been auditing our ticketing system and found that your ticket was never resolved. Are any of you still running into this issue? If so we can resume looking into this.

HaleyRevcat avatar Oct 14 '25 18:10 HaleyRevcat

As we haven't heard back from you, I'll go ahead and close this issue. Please feel free to create a new one or contact support if you have any questions or would like to report an issue. šŸš€

mawr92 avatar Nov 07 '25 18:11 mawr92