Question

How to get trialDuration of a product?

  • 9 August 2022
  • 0 replies
  • 55 views

Badge +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!


0 replies

Be the first to reply!

Reply