React-native-iap: Problem with introductoryPrice in subscriptions

Created on 13 Sep 2018  路  2Comments  路  Source: dooboolab/react-native-iap

Version of react-native-iap

react-native-iap 2.1.1

Platforms you faced the error (IOS or Android or both?)

IOS

Expected behavior

When we get introductoryPrice of a subscription (getSubscriptions) we should see SKProductDiscount info as :

  • introductoryPrice
  • introductoryPricePaymentMode
  • introductoryPriceNumberOfPeriods
  • introductoryPriceSubscriptionPeriod

Actual behavior

Now we receive object reference:
"introductoryPrice": "",

Tested environment (Emulator? Real Device?)

iOS Emulator

Steps to reproduce the behavior

1 - Create subscription with introductory Price ( trial, ... )
2 - Get info of this subscription

Maybe a solution

RNIapIos.m.zip

1锔忊儯 good first issue 馃悰 bug 馃摫 iOS

All 2 comments

@zalempro Would you like the update with the source you've provided? Is it working fine with your code in your environment? Yeah. I see you are right.

Updated should be fine.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MacMillan13 picture MacMillan13  路  3Comments

fergalindez picture fergalindez  路  5Comments

sanilcgs picture sanilcgs  路  3Comments

ramondelmondo picture ramondelmondo  路  4Comments

bakedbean picture bakedbean  路  5Comments