Solved

PlatformException Code 2 Error when fetching products

  • 4 August 2021
  • 1 reply
  • 20 views

Badge +1

This is using the latest Flutter library on Android for subscription products.

We have a live app and an Android customer has reported seeing this error.

Right now we dump it out to the screen, which isn’t very user friendly. But here it is:

Any idea what could be causing this, we only know of it affecting one customer so far with thousands of successful subscriptions.

 

Thanks

icon

Best answer by ryan 4 August 2021, 22:42

View original

1 reply

Userlevel 4
Badge +8

The problems that will trigger this on Android:

If it’s only impacting 1 out of thousands it could be a blip in the Google Server. The Purchases SDK will automatically retry these errors, so you shouldn’t have to do anything on your side.

 

(You can find more info on SDK errors and how to handle them in our error handling guide here: https://docs.revenuecat.com/docs/errors#--store_problem)

Reply