Open cervebar opened 1 year ago
Hi there, 👋🏻 I want to get informations about current status of iOS subscription, I found it can be done with Product.SubscriptionInfo.RenewalState which is also serialized here https://github.com/dooboolab-community/react-native-iap/blob/dad69b1f5a8792c144b04d4af7f7986ce945ddfc/ios/IapSerializationUtils.swift#L85.
Product.SubscriptionInfo.RenewalState
But is it possible to get it somehow from react-native-iap code? Or how do you get such information? Only from BE?. In general sny tips&tricks about getting the auto-renewal subscription info (will expire, will be canceled) welcomed.
react-native-iap
Environment:
I look at transaction.expirationDate in transactionListener. It's the unix epoch in milliseconds, so it's easy to see if it's still active.
Is that something that would work for you?
Hi there, 👋🏻 I want to get informations about current status of iOS subscription, I found it can be done with
Product.SubscriptionInfo.RenewalState
which is also serialized here https://github.com/dooboolab-community/react-native-iap/blob/dad69b1f5a8792c144b04d4af7f7986ce945ddfc/ios/IapSerializationUtils.swift#L85.But is it possible to get it somehow from
react-native-iap
code? Or how do you get such information? Only from BE?. In general sny tips&tricks about getting the auto-renewal subscription info (will expire, will be canceled) welcomed.Environment: