iaphub / react-native-iaphub

The easiest way to implement IAP (In-app purchase) in your React Native app.
https://www.iaphub.com/
MIT License
317 stars 21 forks source link

Types of billing status are likely incorrect #138

Closed deepfinessed closed 1 year ago

deepfinessed commented 1 year ago

The billing status type in src/models/billing-status is declared as [string], which means a tuple that always consists of a single string.

It is likely that the correct typing is string[], which means an array (any length) of strings.