Skip to main content
Question

How to get trialDuration of a product?

  • August 9, 2022
  • 0 replies
  • 87 views

Forum|alt.badge.img+4

Hi, I am trying to dynamically display the trial duration of my annual product. I have found `trialDuration` on RC framework but I don’t know to use it? I am getting products like this:

private var offering: Offering? = SubscriptionManager.shared.offerings?.current

and then need to access trial duration to display it via a text label. some thing like getting localizedPriceString.

Any help would be great!

This post has been closed for comments