Skip to main content
Question

Upgraded Purchases_Flutter from 4.11.1 to 5.5.0 getting PlatformException 2 Error

  • August 12, 2023
  • 1 reply
  • 118 views

Forum|alt.badge.img+1

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" />
This post has been closed for comments

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 556 replies
  • August 22, 2023

Hi, glad to hear you solved this!

 

Answer: The simulator needed to be restarted.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings