Skip to main content
Question

Problem with introductoryPrice duration, inconsistency in data

  • August 15, 2024
  • 1 reply
  • 94 views

Forum|alt.badge.img+2

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

This post has been closed for comments

1 reply

wes_clark
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • September 24, 2024

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.