Closed andrico1234 closed 3 years ago
P.S. if you want to add this to the repo i'll behappy to quickly whip up an MR
Thanks @andrico1234 🙏 You're totally right, I just committed a fix: https://github.com/iaphub/react-native-iaphub/commit/11efbc52a7e264761b190e2c9f40a905837e628c Let me know if it seems correct to you, thanks.
They're perfect! 🙌
Great 👍 The fix is available in react-native-iaphub@6.1.1
Even though
getActiveProducts
takes options as arguments, as specified in the README, it looks like these options haven't been added to the typings.Also it would be useful to have the subscription states:
active
,grace_period
,retry_period
, andpaused
exported for type safety reasons.Massive thanks to you all for making this package, it's a life saver, and so easy to use!