Skip to main content

IGNORE: Was issue with simulator needing to be restarted.


Im using flutter and just upgrade from flutter_purchase 4.11.1 → 5.5.0 and I’m getting a

PlatformException(2, There was a problem with the store., {code: 2, message: There was a problem with the store., readableErrorCode: StoreProblemError, readable_error_code: StoreProblemError, underlyingErrorMessage: Error when fetching products. DebugMessage: An internal error occurred.. ErrorCode: SERVICE_UNAVAILABLE.}, null)

When I call:
await Purchases.getOfferings()

Was working perfectly fine until I upgraded. I only have 1 time purchases configured no subscriptions so as I understand it the google migration stuff doesn’t apply to me. Do I need to add some new config setting in in androidmanifest.xml or build.gradle need something new to support billiing 5.0?

Currently in my AndroidManifest.xml I have this:
<uses-permission android:name="com.android.vending.BILLING" />

Hi, glad to hear you solved this!

 

Answer: The simulator needed to be restarted.


Reply