Question

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

  • 31 July 2023
  • 1 reply
  • 295 views

Badge +3

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"),

),

);

}

 


1 reply

Userlevel 3
Badge +8

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.

Reply