Solved

getting introductory offer period text

  • 6 November 2021
  • 1 reply
  • 117 views

Badge +2

hey!

I have a hard coded text in my app (“One week trial”) now i want to change my introductory offer to 3 days how can I get this period in Revenuecat  so I can set up its text dynamically ?
 

icon

Best answer by tina 9 November 2021, 19:51

View original

1 reply

Userlevel 5
Badge +10

Hey @Amin Torabi !

We have a sample app you can reference to display the free trial: https://github.com/RevenueCat/purchases-ios/blob/main/Examples/MagicWeather/MagicWeather/Sources/Controllers/PaywallViewController.swift#L57-L77 Here’s the ProductInfo class for reference: https://github.com/RevenueCat/purchases-ios/blob/main/Purchases/Purchasing/ProductInfo.swift 

Reply