Skip to main content
Solved

Access to subscriptionPeriod on product.

  • 17 February 2022
  • 1 reply
  • 93 views

Forum|alt.badge.img

Hello,

As far as I can see there is a subscriptionPeriod property available on both Android and iOS, however I do not see anyway of accessing this through the React native SDK. Is this something that is available?

 

Thanks

Best answer by sundeep

Hi @Edward Armstrong, you could get the packageType of the product with the React Native SDK: https://github.com/RevenueCat/react-native-purchases/blob/main/src/offerings.ts#L207 (it corresponds to these values: https://github.com/RevenueCat/react-native-purchases/blob/main/src/offerings.ts#L2-L48)

View original
Did this post help you find an answer to your question?

1 reply

sundeep
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 138 replies
  • Answer
  • February 19, 2022

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings