Skip to main content

I am upgrading from purchases_flutter 3.x to 5.x. The class PurchasesInfo was changed to CustomerInfo.

 

We upload PurchasersInfo Json to our server which parses the data. Have the contents or format of the data changed along with the change of the class? When inspecting the class CustomerInfo I find it has several JSON and String arrays so it’s difficult to tell what might have changed inside those arrays.

 

Thank you,

KeithB

Hey @tkeithblack,

It’s definitely possible for the underlying JSON representation of CustomerInfo from the SDK can change over time. If you’re fetching from your server, I’d recommend instead to use our GET /subscribers endpoint as that would be the expected use-case for fetching from your server (rather than sending the data from the device to your server manually): https://www.revenuecat.com/reference/subscribers


Reply