Skip to main content
Question

There's a problem with your configuration. None of the products registered in the RevenueCat dashboard could be fetched from the Play Store

  • July 31, 2023
  • 1 reply
  • 553 views

Forum|alt.badge.img+4

Flutter version: 3.10.6

RevenueCat version: 5.0.3

Platfrom: Android

 

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. More information: https://rev.cat/why-are-offerings-empty}, null)

 

on main file:

Future<void> _configureSDK() async {

// Enable debug logs before calling `configure`.

await Purchases.setLogLevel(LogLevel.debug);

 

PurchasesConfiguration configuration;

 

configuration = PurchasesConfiguration(StoreConfig.instance.apiKey)

..appUserID = null

..observerMode = false;

 

await Purchases.configure(configuration);

}

On Futurebuilder in premium page:

Future<List<Package>> configureInAppPurchase() async {

List<Package> packageList = [];

Offerings? offerings;

try {

offerings = await Purchases.getOfferings();

} on PlatformException catch (e) {

if (context.mounted) {

ScaffoldMessenger.of(context).showSnackBar(

SnackBar(

content: Text(e.message ?? "Unknown error"),

),

);

}

 

This post has been closed for comments

1 reply

Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • August 2, 2023

Hi,

Happy to help here. We have a checklist for Google Play Service Credentials that may be of use. It sounds like there’s a problem with the setup, so RevenueCat can’t fetch the products from Google.