We see more and more users getting STORE_PROBLEM (code:2) errors thrown like this one:
PlatformException(2, There was a problem with the App Store., {readable_error_code: STORE_PROBLEM, underlyingErrorMessage: An unknown error occurred, code: 2, message: There was a problem with the App Store., readableErrorCode: STORE_PROBLEM, userCancelled: false}, null)
The strange thing is that this is happening on Production for real users and not sandbox.
We are randomly able to reproduce the issue on iOS 17.2 but not on iOS 16.
When the error occurs the purchase call is loading multiple seconds and NOT showing the native buy modal of apple. Instead after multiple seconds this error is thrown.
This currently happen in around 25% of all purchase calls. We did not upgrade revenuecat (version 5.6.2 of purchases_flutter)
We had this error in the past sometimes but on iOS 17 it is occurring a lot. We have no idea where this error is suddenly coming from.