Hi RevenueCat team!
I know this issue has about 63 questions posted by a community and they have different reasons, so I guess you could be biased not wanting to solve this annoying bug. However it affects to many users and I just can’t let it live, so I’m seeking for your support.
The background:
I’m using the latest version your Flutter package `purchases_flutter: ^4.10.0`. I’ve been seeing this issue since upgrade to 4.x.
The issue appears only for some android users, the app has about 8000 DAU, and in Crashlitycs there are about 200 daily errors related to that issue. For the rest of android users it seems to work fine. I also never were able to reproduce it internally.
The devices distribution is the following:
72% - samsung
5% - HUAWEI
5% - TECNO MOBILE LIMITED
3% - Sony
15% - Other (11)
The exception is the following:
flutter_error_exception
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)
The call stack is the following:
await Purchases.configure(PurchasesConfiguration(androidKey));
await Purchases.getOfferings();
Since it works for most of the users, I’m pretty sure there is no issue with Google Play Store configuration, nor with RevenueCat dashboard config.
I see that you return this error in case if you got empty offerings from your server:
So I assume the actual root cause might be something else, rather than the configuration problem as you state in the error message.
Hope together we can get to the bottom of this issue! If there anything else I could provide from my side please let me know
Best,
Vlad