Skip to main content

Hello,

I’m using Revenuecat SDK in flutter (purchases_flutter 6.30.2).

I have an app on Google Console with a free phase of 10 days.

When I call Purchases.getOfferings(), I'm getting it, but the duration is expressed as below:

period shows P1W3D = 10 days (ISO 8601), which is ok.

periodNumberOfUnits = 7 days, which is wrong.

Is there a problem in my interpretation or the data returned is inconsistent ?

 

I found the same problem in freePhase.billingPeriod:

Thanks for your support

Chris

Hi! Already covered this in an individual support ticket with Chris, but just in case any other developers come across this issue, it was resolved in a later version of the RevenueCat flutter SDK. If you are experiencing the issue, try updating the version that you are using and that should resolve this issue.