You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know why introductoryPriceAsAmountIOS is a string, it seems a number would be better, but that is what is correct based on the TS Type SubscriptionIOS.
For now, I just use patch-package to fix this for myself
Environment:
react-native-iap: 12.13.0
To Reproduce
Call getSubscriptions using any valid SKU with a discounted introductory price (not a free trial) while using SK2.
The text was updated successfully, but these errors were encountered:
Description
introductoryPrice
seems to have been inadvertently removed fromsubscriptionSk2Map
introductoryPriceAsAmountIOS
is not an amount but rather a formatted price to display (e.g. '$49.99')Expected Behavior
introductoryPrice
should be set to the formatted amount (e.g. "$49.99")intriductoryPriceAsAmountIOS
should be a string representing only the value ("49.99")The fix is below:
I don't know why
introductoryPriceAsAmountIOS
is a string, it seems a number would be better, but that is what is correct based on the TS TypeSubscriptionIOS
.For now, I just use patch-package to fix this for myself
Environment:
To Reproduce
Call
getSubscriptions
using any valid SKU with a discounted introductory price (not a free trial) while using SK2.The text was updated successfully, but these errors were encountered: